Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

allaboutapps/FLUTTER-all-about-forced-update

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

all_about_forced_update

Install

Add all_about_forced_update as dependency to your pubspec.yaml

dependencies:
  all_about_forced_update:
   git:
     url: ssh://git@git-svc.allaboutapps.at:2222/flutter/all-about-forced-update.git

Features

  • Check if the current version of the app is outdated and needs an update.
  • Open the app store for the user to update

Usage

Provide an url to a .json file with the following contents:

{
  "minVersionCodeAndroid": 0,
  "minVersionCodeIos": 0,
  "iosAppStoreId": "123456789",
  "androidPackageName": "at.allaboutapps.app"
}

Check if an update is needed

if (await AllAboutForcedUpdate.instance.forcedUpdateNeeded(forcedUpdateConfigUrl)) {
  // show update screen or dialog
}

Open the app store to update the app

AllAboutForcedUpdate.instance.openAppStore()

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.