Skip to content

[feat] in-app update check #373

@opxdelwin

Description

@opxdelwin

Tell us about the task you want to perform and are unable to do so because the feature is not available
Implement feature to automate checking for app updates on launch as mentioned below.

Describe the solution/feature you'd like us to add
On launch, we can check if a new version of API Dash is available by matching it with GitHub repository. This can be done by

  • Maintaining a version file in the root directory
  • By using GitHub API to find latest release.

image

Then an user prompt can be made to notify user that a new version is available for download. User may have an option to download now, or skip this update.

  • If user skips,

    • Save this action in shared preferences and not alert user for current stable version update.
  • If user updates,

    • Scenario 1 (Automatic Update)
      • Use GitHub API to download latest artifact according to user's platform
      • Perform an update (Approach to be discussed)
    • Scenario 2 (Manual Update)

Any other feedback you would like to provide regarding the site
This feature isn't a priority but a good to have, and may be merged after GSoC contribution period to avoid any conflicts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions