Flutter automatically update application when new version is available

====
Update December 2021

new nice package, recommend this one
https://pub.dev/packages/new_version

====
Actually, in June 2020, we have more possibilities with Flutter. Among them:

1. Make updates inside the app. Display two kinds of notifications if the app has the new version.

enter image description here

Plugin – https://pub.dev/packages/in_app_update
(works only on Android, iOS doesn’t support such functionality)

2. When a newer app version is available in the app store, a simple alert prompt widget or card is displayed.

enter image description here

Works Android & iOS.
Plugin – https://pub.dev/packages/upgrader

3. Use Firebase in-app messaging. It gives flexibility in the messages and forms of notifications.

  • But a lot more boilerplate code and work.
  • But you can use it for other messages and notifications when your app is growing.

https://firebase.google.com/docs/in-app-messaging

4. Make it by yourself. Maybe even less code then in the case with Firebase messaging.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)