To compare the version names directly, use the the version package. You can use the package_info_plus package to do that. Then, compare it to the currently installed app version on the user's device. This method gives you more control of your user's update flow instead of relying on third party UI solutions.įirst, install the upgrader package and use their API to get the current version on the App Store or Play Store. Use something like github releases if you don't have a server. Whereas if you have a server running, have an endpoint to query the latest versions and another endpoint that allows users to download the apk. There is this method which might work if you have an enterprise license. Some more info on the distribution methods available for apple apps. You could redirect the user to the AppStore. If you also want an iOS solution, then it's not possible. Which wraps the android in-app update functionality Which will then prompt the user whether to allow installing apks from your appĪ plugin exists if you want to do it using the play store.Then open the apk when it's done downloading using one of the methods mentioned here.Then download the new apk in the background.You need to handle the versioning yourself by hosting the apks somewhere (say github for example) and check if a new version exists and prompt the user whether they want to update the app. It's not possible without using the google play store if you want an automatic update.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |