Automate play store release with Managed publishing - Google Play API - android

I want to deploy and publish multiple at the same time. Currently I'm using https://www.npmjs.com/package/deploy-aab-google-play npm library to push bundle files. It is working well doing the job for me.
But, I have a new requirement. I need to get all apps approved before going live. Play stores "Managed Publishing" is very good option to do so, but it is not possible to publish every app manually from play console dashboard like shown in below image. I need to deploy more than 30 apps (increasing day by day) at once.
Play store Managed publishing
Can we get app status through API call or any npm library which return is app approved and ready to publish and if so make app through API call or any npm library only.
Any tools such as deploy-aab-google-play which i use to push aab files.
Thank you in advance for your suggestions.

Related

apk installation from downloaded

I'm having trouble getting my app update started. Another program periodically updates the databases from the server, additionally, a new version of the software is imported the same way.
So the issue of importing from the server is already resolved, but I can't create a function that will start the update. It is enough for me to run the file itself and ask for an update.
The file is located in the downloaded location.
This kind of behaviour It's not recommended by Google due to security reasons. (App could be updated without a review by Google Reviewers).
Scenario 1:
If your app, for some reason, needs to be updates before user keeps using it, Google provides a "In-App update" Lib.
Check it out: https://developer.android.com/guide/playcore/in-app-updates
Scenario 2:
Your app is under development and you want to update your app to the testers.
You have two options:
Firebase app distribution: https://firebase.google.com/docs/app-distribution
Testers will be notified when a New version Is release. Firebase will make it easier to them to download the apk/bundle and install it.
Google Play Console test Channel: https://support.google.com/googleplay/android-developer/answer/9845334?hl=pt-BR
Your app will be on Google Play, but not public. You'll be able to set authorized testers to download it. When you upload a new version to this channel, testers will be notified and will be able to update it, same way It happens with an app that's in production.

Play install referrer tracking using desktop Play Market version

1) I'm using Play Install Referrer Library to track install referrers from Google Play.
2) When I catch a Play referrer in my app, I send it on Firebase as action.
3) To debug this feature I've created beta-test version on Play Market for my app and modify the link by adding parameter utm_source=my-source
So, when user follows my modified link using android device, logging works correctly.
But if user uses, for instance, PC, he will come to desktop version of Play Market, and utm_source will be always equals google-play
Can someone explain is this a correct behavior? And if it is, how can I properly track my sources?

New version of android app

I have a native android app in google play and now I have made a new version of the app with ionic 2 framework.
How to update the app and is it possible to notify the users about the new version of the app?
I quess I have to remove the old one and upload the new one.
This is exactly what you need:
https://support.google.com/googleplay/android-developer/answer/7159011
Because you completely rewrote your app please read this too, the most important part is "Prepare your APK":
https://support.google.com/googleplay/android-developer/answer/113476?hl=en
If you follow these guides existing users will be notified about new version automatically by Google Play Store.
The existing users can download the update from your app listing page on the play store or when they select My apps on the Play store. Also if they have enabled auto update for your app then the update will be downloaded and installed automatically.
More about this here.
and as #Abhishek recommended, if you don't have any code for checking updates in your previous version of app then users will not get notified automatically.
also you don't have to remove the old app to upload the new one, you can deactivate the old app if you want it to no longer served to the user, OR you can retain it if you still want it to be served to the users.
Google play usually updates applications automatically. You just need to add upload APK and click Release. You don't have to remove old APK.
In less than a day or something all users of your application will be notified by Google Play that new version is available and if user configures his phone to install apps automatically, then apk will be installed in background as soon as update will be ready.
Also you can notify your users about new version using PUSH notifications. Of course if your previous release does not contain code to enable PUSHes, then you cannot send such notification.
And one more thing: if you use your previous keys to sign APK then everything is fine and you don't need to do anything with APK at developer console, otherwise you need to rollback application and/or re-publish it.

How to update app with Google Play and force download

I'm using android studio. I have developed an app and now I want to upload it to Google Play. I have a license and I have uploaded an app before, but I didn't really know what I was doing at that time.
What I want is to upload my app to Google Play, and then upade it without losing the reviews and rating. How do I do that?
And, what is the best way to force a user to download an update? I am going to upload the app to Google Play and to Amazon Appstore (for android), so a link to Google Play or something similar is maybe not the best solution. I was thinking - a toast message "please update the app". What do you think?
Updating an existing apk on Google Play Store:
1) Go to your Google Play Developer Console
2) Select All applications in that select "Your Application"
3) Select Upload APK.
4) Choose from the Production, Beta, or Alpha channels and select Upload your APK.
It take few hours to publish update. more information about upload, publish, etc.
Forcing users to update: There are three things
1) It is not possible in Google Play Store, unless user have set automatic update on.
2) You can use external library like UpdateChecker, AppUpdater, etc.
3) You can change your application structure in that way that whenever user starts you application internal contents get update. (This is not a feasible option, I guess)
What is KeyStore?
It is used to build singed apk.
Keep your keystore in a secure location. If you lose your keystore, you'll need to publish the app with a new package name and a new key. If you need to do this, you should also unpublish the original app and update its description
Please check out this library, actually it provides what you want with simple approach.
https://android-arsenal.com/details/1/3094
When you publish a new version of your app to the Play Store, you will not lose any of the prior ratings for that app.
You can't force users to update your app. It is fully under their control. Some people may have automatic updates turned on, but for those who do not, they have to choose to receive the update.
Google added this new feature you can add to your app to force in-app update based on if you want the update immediate or flexible
https://developer.android.com/guide/playcore/in-app-updates/kotlin-java

How to handle updating the app on users devices

So after you first deploy your apk to Google Play and it's all up and running, how do you handle updating your app for your users?
Do you have to do the same process every time
manually change the version number in the manifest
export and then upload apk to google play console
Or is there a faster way?
There is no faster way but only one way(till now). Its the way you mentioned in your question:
manually change the version number in the manifest export
upload apk to google play console
After this, update process is complete from your part. The rest of the work like showing updates to users and allowing update is handled by play store.

Categories

Resources