![]() 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. If you also want an iOS solution, then it's not possible. You could redirect the user to the AppStore. Some more info on the distribution methods available for apple apps. There is this method which might work if you have an enterprise license. 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. Use something like github releases if you don't have a server. 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. ![]() Then, compare it to the currently installed app version on the user's device. ![]() You can use the package_info_plus package to do that. To compare the version names directly, use the the version package.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |