Force Update of an Android App When a New Version Is Available

How to force users to update app from play store in Flutter using in_app_update

There is a package for what you want:

https://pub.dev/packages/in_app_update

Sample Image

Android
This plugin integrates the official Android APIs to perform in app updated that were released in 2019: https://developer.android.com/guide/app-bundle/in-app-updates

iOS

iOS does not offer such a functionality. You might want to look into e.g. https://pub.dev/packages/upgrader. If you call the methods above on a iOS device you'll run into a not-implemented exception.

Thanks...

Can I force my Android app to update from the Play Store?

In addition to the solution that Gabe Sechan suggested, now you can use the Google Play In-app Updates feature.

How to inform the users of an Android app that a new version is available in the Google Play Store through Notification

To achieve this you can use the In App Update API.

You can find out how to implement it here in Google's documentation: https://developer.android.com/guide/playcore/in-app-updates



Related Topics



Leave a reply



Submit