fluttergoogle-playupdatesauto-updatesideloading

How to push update to a flutter app which is not uploaded on play store


I have a scenario where in i am building an flutter app which i don't want to upload to google play store. I will provide the .apk to download via website .

Now i have a new version of the app which i replaced the old .apk file with in the website.

Now how to push the notification to the user and ask them to update the latest version of the app.

Should i have to maintain some github repository where i maintain the releases ? Any suggestion to this complete scenario would be greatly helpful.


Solution

  • 1- create an api that return latest app version

    2- always make a request to this API when ever the user open the app check the API latest version and user app version (I recommend using package_info_plus)

    3- inform user with the new app if app version != latest version(API)