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

Đang mở
#353 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
android, firebase, typescript
Lĩnh vực
mobile

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
277
Fork
27
Merge trung bình
15 giờ 30 phút
Pull request đã merge (30 ngày)
147

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của DuskBotAI/duskbot

Tất cả issue của DuskBotAI/duskbot

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.