Hey, somehow I am triggering the FLEXIBLE update, and when I click Update the Downloading window appears and proceeds to download and install, not allowing the user to use the app nor showing the Snackbar with the Install button... Any ideas?
So, Can we update our app without uploading new version on play store. So many Non-playstore apps updating their app inside the app.Could you please create how to Update app with The google drive link or something . Because 1000s of developers are searching for this method 😍😍. Thanks in advance bro
Thanks, it's very helpful i have one query like i just want to show flexible update for 5 days then after that have to show immediate update. How it's possible. Can you please help me on that.
Hi Mike! am following the same flow what you did in this video but when i run the app in my device 10v its showing the update alert and i click the button but it's taking to much time to load but not yet finished and also am checking with 9v device it's doesn't show any alert...Can you help me on this
I find error onFailure: Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_APP_NOT_OWNED) the only thing i don't made it , signing config -> release -> [ this section]
Please have a look at the documentation: developer.android.com/guide/playcore/in-app-updates/test You need to download the app from the Play Store first. My demo app won't work at the moment, because it needs to be signed with the same certificate as the one on the Play store.
I have an issue with testing this feature. The notification shows up on real device and I can perform an update, but when i try to do this using emulator nothing happens. Any ideas why?
Hi @mike it's really helpful, but i want to know how to handle No Thanks option in Flexible method, I tried but i didn't find any solution, can u guide me in that option, Thanks
Hi @Mike, is this feature working only in kotlin? I've tried to implement it in java and i don't get the popup. I can see that there is a available update in Google Play but when i open the app i can't see the required update button like in your demo.
It will also work in Java. Did you read the docs on how to test In App Updates? You need to do a signed release build, same as what you would upload to the store.
@@MikeJohnston355 Yeah i know. I did this but still not working. Like i said i can see that an update is available in Google Play but when i open the app, i don’t get the popup.
will it work immidiately when my app update available on my play console or when my update is availabe on play store, actully play store takes more time than play console because of some caching problem of play store mobile app.
Hey @MikeJohnston., this one is good & Helpful video, Thank you.. but when i run app it shows update Screen but app not get update and give me this error "INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.example1.org signatures do not match previously installed version; ignoring!"
Testing this stuff is very tricky. You need to sign the APK with the same keys as the prod app. Check the docs for more information if you're still stuck.
@@MikeJohnston355 Like when you upload a version to play store, default priority is 0. I can't seem to know how to set it at 5 so the app show immediate update instead of flexible.
Very nice explanation to follow along. Thanks very much.
Finally a straight forward tutorial
Hey, somehow I am triggering the FLEXIBLE update, and when I click Update the Downloading window appears and proceeds to download and install, not allowing the user to use the app nor showing the Snackbar with the Install button... Any ideas?
Great video but background music is distracting, i like it at the start and end Tho
So, Can we update our app without uploading new version on play store. So many Non-playstore apps updating their app inside the app.Could you please create how to Update app with The google drive link or something . Because 1000s of developers are searching for this method 😍😍. Thanks in advance bro
Hmmm, I don't know how to do this, sorry!
how do we specify if an update is to be flexible or Immediate?
Thanks, it's very helpful i have one query like i just want to show flexible update for 5 days then after that have to show immediate update. How it's possible. Can you please help me on that.
Hi Mike! am following the same flow what you did in this video but when i run the app in my device 10v its showing the update alert and i click the button but it's taking to much time to load but not yet finished and also am checking with 9v device it's doesn't show any alert...Can you help me on this
it's awesome...
I am not sure, why your videos are not surfacing
thank you!
how can we do this in react native expo
I find error
onFailure: Install Error(-10): The app is not owned by any user on this device. An app is "owned" if it has been acquired from Play. (developer.android.com/reference/com/google/android/play/core/install/model/InstallErrorCode#ERROR_APP_NOT_OWNED)
the only thing i don't made it , signing config -> release -> [ this section]
Please have a look at the documentation: developer.android.com/guide/playcore/in-app-updates/test
You need to download the app from the Play Store first.
My demo app won't work at the moment, because it needs to be signed with the same certificate as the one on the Play store.
Do you have an example of doing this in a Fragment?
I have an issue with testing this feature. The notification shows up on real device and I can perform an update, but when i try to do this using emulator nothing happens. Any ideas why?
I think you need an emulator with Google Play Services. Check the docs for more info.
Hi @mike it's really helpful, but i want to know how to handle No Thanks option in Flexible method, I tried but i didn't find any solution, can u guide me in that option, Thanks
Hi @Mike,
is this feature working only in kotlin? I've tried to implement it in java and i don't get the popup.
I can see that there is a available update in Google Play but when i open the app i can't see the required update button like in your demo.
It will also work in Java. Did you read the docs on how to test In App Updates?
You need to do a signed release build, same as what you would upload to the store.
@@MikeJohnston355 Yeah i know. I did this but still not working. Like i said i can see that an update is available in Google Play but when i open the app, i don’t get the popup.
will it work immidiately when my app update available on my play console or when my update is availabe on play store, actully play store takes more time than play console because of some caching problem of play store mobile app.
I'm not sure of the exact behaviour. I just know it will be available once Google has approved the update on the Play Store.
error " path may not be null or empty string. path='' "
cant empty path at storeFile
Sorry about that! I've updated my demo code :)
why version code need to lower than before?
why not increase it?like 5 to 6
What should be UPDATE _REQUEST_CODE. Should I choose it according to my app ao it may be any number
Correct, it can be any number that isn't already used to start another activity for result.
@@MikeJohnston355 thanks
Hey @MikeJohnston., this one is good & Helpful video, Thank you..
but when i run app it shows update Screen but app not get update and give me this error "INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.example1.org signatures do not match previously installed version; ignoring!"
Testing this stuff is very tricky. You need to sign the APK with the same keys as the prod app. Check the docs for more information if you're still stuck.
@@MikeJohnston355 Ohk., Thank you..
i don't get the popup.
Hi. Can you show how to set priority?
I'm not sure what you mean by "priority".
@@MikeJohnston355 Like when you upload a version to play store, default priority is 0. I can't seem to know how to set it at 5 so the app show immediate update instead of flexible.
Got exception unable as
ConnectionTracker: Exception thrown while unbinding
java.lang.IllegalArgumentException: Service not registered
please help
How would you implement this using view models and MVVM ?