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

Open
#353 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
android, firebase, typescript
Domain
mobile

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
277
Forks
27
Avg merge
15h 30m
Merged PRs (30d)
147

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from DuskBotAI/duskbot

All issues in DuskBotAI/duskbot

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.