Douglas Farias Expert Licensed User Longtime User Jun 5, 2014 #1 hi what the best way to update app when it is opned? for exemple i open my app and show checking the version if version is > of my version go to my host and download and instal new version if user dont instal cant enter on the app only the new version have a simple way to make this or is harder to make? i m image use http2 to see the version but to download and install *-* later download finish start instal i think this is not simple any sugestion?
hi what the best way to update app when it is opned? for exemple i open my app and show checking the version if version is > of my version go to my host and download and instal new version if user dont instal cant enter on the app only the new version have a simple way to make this or is harder to make? i m image use http2 to see the version but to download and install *-* later download finish start instal i think this is not simple any sugestion?
NJDude Expert Licensed User Longtime User Jun 5, 2014 #2 You have the process correct, that's how it's done, assuming you have your own server and you are hosting the APK. Upvote 0
You have the process correct, that's how it's done, assuming you have your own server and you are hosting the APK.
Douglas Farias Expert Licensed User Longtime User Jun 5, 2014 #3 but how to check a version of the app? for example my app os 0.1 in my host i put apk 0.2 how i know this for download *-* Upvote 0
but how to check a version of the app? for example my app os 0.1 in my host i put apk 0.2 how i know this for download *-*
NJDude Expert Licensed User Longtime User Jun 5, 2014 #4 You have to create a file on your server (a text file for example) and put the version there, when the app opens, it checks the version on that file against the version on the device and do what it's needed. Upvote 0
You have to create a file on your server (a text file for example) and put the version there, when the app opens, it checks the version on that file against the version on the device and do what it's needed.
DonManfred Expert Licensed User Longtime User Jun 6, 2014 #5 Have a look at AppUpdating-lib. Upvote 0