Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(android): show prompt when app update is available #348

Open
chrismclarke opened this issue Dec 4, 2024 · 0 comments
Open

feat(android): show prompt when app update is available #348

chrismclarke opened this issue Dec 4, 2024 · 0 comments
Assignees

Comments

@chrismclarke
Copy link
Collaborator

chrismclarke commented Dec 4, 2024

Is your feature request related to a problem? Please describe.
Many users don't realise an app update is available, and either do not have their devices set to auto-update, or use default auto-update which only happens when connected to wi-fi (not on mobile data). This leaves them stuck on older versions of the app

Describe the solution you'd like
I think broadly 3 things would be required to provide a good user experience:

  1. Show a prompt in app that an update is available when in use
  2. Deliver a push notification when wanting users to update in general
  3. Show a summary of latest updates/changes in the app when available

For the first piece of this work I think focusing just on (1) would be best (as the others require significant additional work)

Additional context
Capacitor plugin that exposes the play app update API
https://github.com/capawesome-team/capacitor-plugins/tree/main/packages/app-update

There is an existing Android plugin that can be used to check the play store for updates and identify if an update is available
Add any other context or screenshots about the request, or relevant parts of the codebase if known

This uses the native android app update API documented at:
https://developer.android.com/guide/playcore/in-app-updates

I expect that using the flexible update strategy would provide the best experience to our users

Example of another repo where this was implemented (likely more complicated than our use requirement):
https://github.com/IDEMSInternational/open-app-builder/pull/1803

Example - notification presented when update available
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Next Priority
Development

No branches or pull requests

2 participants