Updating an app that was installed by package installer - android

I have an app that was installed by 800 user by package installer (not google play) but now I will publish this app in Google play with new version code an I want that users update to new version in Google play. How I do it? I made a test with another app and did not occur update.

Google Play will not update apps installed via package installer. You will have to ask your users to re-install from Play by communicating with them.

Related

Google Play in app update not working if app installed with package manager

I am using Google Play in-app updates to notify my uses for new updates. But the problem is in-app updates not working if the app is not installed from Google Play store.
With some curiosity how my production app in app updates working, I downloaded a lower version universal signed APK from play console and installed in my mobile. All is working fine but not getting in-app updates for that app.
Same version app on other device which is installed from Google play store is getting in-app updates.
Is this a bug in the play core API, or I did any mistake?

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.

App details in store

In Android 8 there is a new section called "App details in store" (Settings -> Apps -> select an app). The apps installed from Google Play has setted this field to: App downloaded from Google Play Store.
Apps installed from Amazon: App downloaded from Amazon Appstore.
But when I install an app from my own app, this is the message: App downloaded from Package installer
Some screenshots:
I've setted Intent.EXTRA_INSTALLER_PACKAGE_NAME but the result is:
I would like to set my app name in this field: App downloaded from "MyAppName"
Any ideas?
Thanks!
It is a name of the application installer application.
Like which app has installed this app into the phone:
In case of Google Play - google play app has installed this app on your phone.
In case of Amazon - Amazon app installed this app to your phone.
In case of installation from APK - Package Manager app has installed it in your phone.
So if you want your app to be listed there - you will have to create an application, which is able to install other applications. It has to be a system app, because only system apps can install other apps.
Solved! Its possible set the name of my app as installer using the installation method implemented in
Split APKs Installer

Can't install app from Play Store (Error Code: -505

I have an app installed in multiple devices running 6.0.1 and 5.1. The package name used is com.mycompany.cricket. This application is not available in Play store.
Now today I published the same app with a different package name - com.mycompany.friskies. If I try to install this app from Play Store then, I get "Error Code: -505" and app doesn't get installed.
If I uninstall the app com.mycompany.cricket from my device, then I can install com.mycompany.friskies from Play Store but lof of our clients are already using com.mycompany.cricket, so we can't tell them to uninstall that and install the new app from Play Store. This app (com.mycompany.cricket) is available from the Beta testing platform TestFairy.
Both of these apps are signed using the same release key.
Please help what could be the reason.

Android: Does Google Play check versionCodes of installed apks?

Google Play has an automatic update system for apps. When a new version is uploaded to the Developer Console the app is updated on user devices because the new versionCode is greater than the one that is already installed. But users could get a newer apk from other sources.
I would like to know some details about this automatic process, I mean:
A-Does Google Play keeps a value inside so it remembers what versionCode of an app it has officially installed?
or
B-Does Google Play inspects all installed apks so it can compare the version codes to the current versions officially provided by the developers on Google Play?
Note the difference:
-in the A case, it just remember what it officially installed but is not informed about the real versionCode the user has on the device; so it could try to update even when the user already got a newer apk from outside Google Play (fail);
-in the B case, the update system can understand what version in installed because it checks it; so the update doesn't even start if the user upgraded an app from outside the Google Play.
Which is the real case?
It is case A - Google remembers which version of the app was last installed.
It does not check the device every time for the latest installed version.
How to verify this?
If you ever factory reset your phone or flash a ROM, go to play store from your browser and open an app page which you'd installed before you flashed the ROM or did a factory reset. It will still show as installed, although you wiped your device clean and it is not installed anymore.

Categories

Resources