Android: the APK can't tell you a newer version exists, and 1.2.9 never registers for push

Aperta
#353 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
android, firebase, typescript
Ambito
mobile

Direzione di ricerca

Start by locating the Android app’s Settings > Version screen and how it fetches the server version; the issue suggests comparing the installed build with latest.json and linking to the APK. Investigate why version 1.2.9 paired but did not register an FCM token, and compare its behavior with 1.2.12. Update the stale APK version in docs/store-launch.md; done means users can find the newer APK and the documented version is current.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The APK from GitHub releases was 1.2.9. It paired correctly (/api/mobile/redeem made the device), and notifications were allowed, but it never sent an FCM token: push stayed null. Installing 1.2.12 from the v0.2.31 release over it kept the pairing, registered FCM within seconds, and pushes arrived.

The app has no way to find out about a newer APK. On a phone, Settings > Version checks the server's version, so a sideloaded user stays on an old build with no hint. Until there's a Play listing, the app could compare itself with latest.json and link the new APK.

Small extra: docs/store-launch.md still says the GitHub APK is 1.2.9.

Lingua principale
TypeScript
Stelle
277
Fork
27
Merge medio
15h 30m
PR unite (30g)
147

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di DuskBotAI/duskbot

Tutte le issue di DuskBotAI/duskbot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.