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

added check for new versions and automatically prompt the user #552

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

abhinavs1920
Copy link

PR Description

This PR implements the in-app update check feature for APIDash. The feature checks for the latest version of the application using the GitHub API and notifies users if an update is available. It supports update handling for Windows, Linux, Android, iOS and macOS platforms.

Related Issues

Checklist

  • I have gone through the contributing guide
  • I have updated my branch and synced it with project main branch before making this PR
  • I am using the latest Flutter stable branch (run flutter upgrade and verify)
  • I have run the tests (flutter test) and all tests are passing

Added/updated tests?

We encourage you to add relevant test cases.

  • Yes
  • No, and this is why:
    I would add the tests when the current approach to solve the issue is finalized.

OS on which you have developed and tested the feature?

  • Windows
  • macOS
  • Linux

@ashitaprasad
Copy link
Member

App update should be silent and optional .. maybe a dart isolate that spawns, checks and does not block the main thread when the user starts the app. Accessible via settings and a red dot on settings icon button can indicate an update is available.

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

Successfully merging this pull request may close these issues.

[feat] in-app update check
2 participants