auto remove android app old version before update - android

Is there a possibility to set up a new version of my android application so that when Play Market updates my application it(Play Market) first fully uninstalls the old app version of my application and then installs the new version?

Related

Publish Apk to playstore in beta version

I have an Android App on playstore. Now I have made so many changes to this app and want to update my app. I know simple update is easy but the thing I want is that to publish the new version in beta by keeping the old version remains same. In simple word, I want to publish a new build with beta version that it don't effect the older version?
Note: Old version is not in beta.
Releasing app update to beta channel (open testing) doesn't remove the production release. The beta update will become available as an update to testers only, everyone else will have access to the production release.
For more on releases and roll-outs. Read more here

Can android app beta version and public version exist in the same phone?

I have an android app published in play store and beta version of app for testing, now the tester don't want to uninstall the published android app from his phone while installing beta version. How can a tester be able to keep both (public and beta) version in his phone?
You can only have 1 app installed with a certain package name.
While developing, you can use a package suffix dependent on build type or flavour which would allow the tester to have 2 apps installed at a certain point, but this would not be published to Play Store. For example, you can have com.example.mycoolapp in Play Store and com.example.mycoolapp.debug for testing.
I think Play Store beta should only be used when (some) users are ready to receive the new update and give you feedback, but it will just update the already installed app.

What happens to a published app that have android min version upgraded

Consider the following scenario,
I have a published app targeting min android version 16, and I upgrade this version to 21.
What happen to users that have the app installed in android versions below 21?
Users still would be able to use the app, but do not receive updates, or the users got their app uninstalled?
Devices not compatible with your current release will stay on the latest compatible release, until the user uninstalls your app. After that, it is not possible to install the app on that device again, aside from sideloading it.
Noteworthy is that if you later provide an apk compatible with API 16, old installations can be updated again.
This mechanism can also be used to e.g. serve different apks to tablets and phones.

How can I migrate users of existing production apk to newly deployed version at open beta testing environment?

I have very specific requirements wherein I would like to provide our latest version apk access to user through open beta testing and want to stop the version lying on prodcution. Challenge here is how can migrate user from production to beta new version?
Let's say I deploy version 10.1 at open beta and want to migrate existing user which are already using production app. If possible how can I do that?
How can I stop production version as restricting features?
No - it is not possible to disable a version of an APK, or to force users to upgrade.
From the Android Developer Docs on app versioning:
The Android system does not use app version information to enforce
restrictions on upgrades, downgrades, or compatibility of third-party
apps. Instead, you are responsible for enforcing version restrictions
within your app or by informing users of the version restrictions and
limitations.
The closest you can get is checking the application version on the server side (either by manually passing the version or by inferring from the request message format) and restricting use of your API to newer versions of the app.

Will Auto update in Google Play down grade packages?

What happens to auto-update in Google Play if an old APK version is made active?
Scenario:
My current (and published) version is 5.11
The previous version is 5.10
If I deactivate 5.11 and activate the older 5.10 version, what will happen to users that have auto update activated and currently have 5.11? Will they auto downgrade?
No, they will keep their current version. The only way for them to get 5.10 is to uninstall and then re-install from the store. If you released a bad update, you can re-compile and re-release the old version with a higher version number (5.12).

Categories

Resources