How to Use the Google Play In-App Update API | Android Studio Tutorial

In this video you'll learn how you can make use of the Google Play In-App Update API to let your users update your app on the fly.
⭐ Learn professional CI/CD for Android here:
pl-coding.com/ci-cd-course/
💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks:
pl-coding.com/drop-table-ment...
Get my FREE PDF about 20 things you should never do in Jetpack Compose:
pl-coding.com/jetpack-compose...
Join this channel to get access to perks:
/ @philipplackner
Join my Discord server:
/ discord
Regular programming advice on my Instagram page: / _philipplackner_
Checkout my GitHub: github.com/philipplackner
You like my free content? Here you can buy me a coffee:
www.buymeacoffee.com/philippl...

Пікірлер: 99

  • @ViniciusVieira13
    @ViniciusVieira13 Жыл бұрын

    I can see you put on a lot of effort into that video. Thank you so much

  • @jaygitonga2026
    @jaygitonga2026 Жыл бұрын

    Phillip never misses! Comes in clutch all the time!

  • @riverboatgambler3401
    @riverboatgambler3401 Жыл бұрын

    Absolutely amazing tutorial. Such a relief from some of the other garbage that is found on KZread. Now, I'm a "subscriber for life". Update management has been a real challenge for me, but this video helped me to better understand the workflow and get things working elegantly. I definitely plan to watch all other videos you've posted or will post. One of the biggest takeaways for me was related to testing this feature. I had never picked up that it was necessary to hit the Internal Shared App link to the subsequent "update" release in order to ensure the installed app recognized that an update existed. That was huge for me! Thank you! Suggestion: I may have missed it, but it would be extremely handy if the source code from the video(s) was made accessible as a download. Observation: I've had a couple of situations where the Internal Shared App link didn't want to load. It would appear that there are some latency issues between the time that the release gets uploaded and it's truly available. I find if I wait about 1-2 minutes to incorporate a new upload into the testing process, everything works seamlessly. Thanks again. You're a great speaker and a great instructor. You speak clearly and intelligently and I appreciate that there isn't a lot of extraneous music/background noise. Kudos to you! It's nice to find someone who really knows what he's talking about.

  • @samsammaniamantap
    @samsammaniamantap Жыл бұрын

    this is what I'm looking for. The easier version of in app update tutorial. Thanks Philipp

  • @kios1973
    @kios1973 Жыл бұрын

    this was a really well done tutorial, easy and str8 forward, appriciated

  • @amilcar2406
    @amilcar2406 Жыл бұрын

    thank you so much from argentina. You are the best Philipp !!!

  • @francisco.montero
    @francisco.montero Жыл бұрын

    Everytime i need to do a specific thing it turns out that you just published a new video about it a few days ago. I like your videos because you provide updated examples about these topics, thats why i also get your courses

  • @nurtorekelesov4286
    @nurtorekelesov4286Ай бұрын

    This was very useful thank you!

  • @Another0neTime
    @Another0neTime Жыл бұрын

    Exactly what I was looking for.

  • @andongwisyemwamengo5699
    @andongwisyemwamengo5699 Жыл бұрын

    You saved my day thank you for sharing this useful content

  • @MenaSamer
    @MenaSamer Жыл бұрын

    It was really cool as expected ... thanks

  • @newbnda7234
    @newbnda723410 ай бұрын

    Great Video as always

  • @srabbijan
    @srabbijan Жыл бұрын

    I maintain a custom API for app updates are available or not. This video released this type of maintenance action. This video is very effective. Make more videos on unique and effective topics.

  • @anandakumarakr1665
    @anandakumarakr16654 ай бұрын

    Nice Explanation... Thank you so much

  • @nurinwonderland
    @nurinwonderland5 ай бұрын

    Thank you Philipp espicially for testing part

  • @thencode8403
    @thencode8403 Жыл бұрын

    Sweet just what I was looking for ❤

  • @PhilippLackner

    @PhilippLackner

    Жыл бұрын

    Nice!

  • @nizamuddinahmed9165
    @nizamuddinahmed9165 Жыл бұрын

    Nyc one.....Looking forward for more

  • @mikeshilovski1512
    @mikeshilovski151211 ай бұрын

    There's an easier way to test it. If your app is already in the play market, just hardcore a lower build version and build release variant. It should show the dialog.

  • @heshamfas7353

    @heshamfas7353

    3 ай бұрын

    That will not work. You'll get an error "App is not owned by any user on this device......."

  • @mikeshilovski1512

    @mikeshilovski1512

    3 ай бұрын

    @@heshamfas7353 I have already done it at work, this works

  • @armaanmollah6002
    @armaanmollah6002 Жыл бұрын

    How would you implement an auto lock functionality in jetpack compose where you use multiple composables? Would you use the onUserInteraction in the base activity of the application and run a loop for the lock out time of the app and launch the lock screen if completed without user interaction or would you use another way?

  • @yadavramkesh9
    @yadavramkesh96 ай бұрын

    Nice and Updated Video.

  • @StrikWolf
    @StrikWolf3 ай бұрын

    Thank you so much mi brother 😎. Sempre me ajudando, mesmo não entendo muito pouco de English, eu ativo as legendas e até a explicação consigo entender bem, se não, acompanho o tutorial e faço igual. Ótima explicação, + 1 Like. (Greetings from Brazil 🇧🇷)

  • @KotlinBek
    @KotlinBek Жыл бұрын

    You are the best, I mean it bro

  • @Bhavdip2023
    @Bhavdip20238 ай бұрын

    Hi @Philipp, You are explaning very well in details. I am having one question. Can we totally remove app from internal testing and closed testing?

  • @amitray769
    @amitray769Ай бұрын

    This is a complete guid to in app update thanks man. My question is where should we place the in app update checking code in the Application class or in the main activity of the app?

  • @manshalkhatri9289
    @manshalkhatri928910 ай бұрын

    Thanks Philip

  • @gregas3068
    @gregas3068 Жыл бұрын

    Nice tut, as always. However, at the Google Play Console, I don't know why someone would use Internal sharing as opposed as Interntal Testing. If someone can explain why you use that, would appreciate. Was having issues (meaning I could not upload bundle in Internal app sharing). I got an error and couldn't upload it there. However, I am uploading apk bundlesto INternal sharing, and it works fine there. I hope it will work in production as well, since I haven't publish there yet.

  • @silientlips
    @silientlips Жыл бұрын

    Hi Philipp, I learned a lot from your KZread channel. May I know the specifications of your machine or MacBook that you are using? Android and IOS development are RAM eaters. I am planning to buy a Mac machine soon. Can you include the specifications of the machine that you are using in the description? Thank you.

  • @letslearntogetherandroid
    @letslearntogetherandroid Жыл бұрын

    Thanks bro. May I know which Android version you have tested. For me, it displays the flexible In-App update at the bottom not in the center.

  • @MIISohag
    @MIISohag Жыл бұрын

    Hey philipp Thanks for this wonderfull tutorial. I have an query as we see onActivityResult deprecated is there any other way to do this process ???

  • @ibrahimkhalilshakir2414
    @ibrahimkhalilshakir2414 Жыл бұрын

    Owo. Nice topic😊. Thank you man.

  • @PhilippLackner

    @PhilippLackner

    Жыл бұрын

    Glad it helps!

  • @islamicfootprints1938
    @islamicfootprints19383 ай бұрын

    Thanks lots

  • @unaisulhadi9102
    @unaisulhadi9102 Жыл бұрын

    Informative

  • @quantumgaming7
    @quantumgaming7 Жыл бұрын

    Great video

  • @lindaporsius
    @lindaporsius Жыл бұрын

    Thank you Phillip! This is something I want to implement right away in my code. Could I ask you something else? Android Studio Flamengo is now declared stable. It seems to have a lot of impact. Could you please shed a light on that? I would be ever so grateful, thank you.

  • @TheZaurHasanov
    @TheZaurHasanov Жыл бұрын

    thanks!

  • @ytheekshana
    @ytheekshana10 ай бұрын

    Please create a new video of this with the new ActivityResultLauncher

  • @rpitpatel1004
    @rpitpatel1004 Жыл бұрын

    Great explanation @Philipp and thank you for your effort. Is there any functionality in that we can check min version supported on that update ? What kind of info we can get from that API ?

  • @vladimirrozin713

    @vladimirrozin713

    11 ай бұрын

    I think, it would be up to you to determine if the current update is the "breaking changes". You might want to use firebase remote config to store the app version.

  • @francisyousefagawin7535
    @francisyousefagawin7535 Жыл бұрын

    Does this work for apps that are published in Huawei App Gallery or devices without Google Mobile Services?

  • @cnukal3904
    @cnukal3904 Жыл бұрын

    Hi @Phillip can you please make a videos on Android asset play delivery with cloud storage. Thankyou.

  • @mhmdawad001
    @mhmdawad001 Жыл бұрын

    Always comes at the right time! But I have a question here, Is it applicable to change the update type from console instead the app code? I mean what if I have a bug and need users to immediately update but the last build I shared is a flexible update?

  • @furkanbozkurt836

    @furkanbozkurt836

    9 ай бұрын

    you can use firebase remote config

  • @suhaibkazi7
    @suhaibkazi7 Жыл бұрын

    Video pops up exactly when i begin implementing this for my app. TIMING THO

  • @mediad4162
    @mediad4162 Жыл бұрын

    One doubt please clear... Is it a good practice after new update installation done then we should logout the user and prompt re login again?

  • @OmarAhmed-jo1cf
    @OmarAhmed-jo1cf3 ай бұрын

    in the flex dialog if you go to the background then the download is finished then you come back to the app the download doesn't complete

  • @MrFilo122
    @MrFilo122 Жыл бұрын

    Thanks for the video. I just wonder, since you're using the ktx version of this library, why you're not using the built-in Coroutines and Flow support that's available there? You could then get rid of all those old-school listeners and just have all the App Update logic in 1 reactive stream.

  • @aplikasisimulaskredit

    @aplikasisimulaskredit

    Жыл бұрын

    😮😊😢😮😮

  • @bernardomesk

    @bernardomesk

    8 ай бұрын

    Can you do a video tutorial showing us how to do that?

  • @yugadevan8057
    @yugadevan80576 ай бұрын

    Could anyone please tell if i already have a app in playstore is it possible to test with downgrading the version and signing the app and directly installing in device ??

  • @nagaisk3820
    @nagaisk38204 ай бұрын

    When will we be receiving Either Flexible Or Intermediate ? What triggers this action

  • @jobgetabu5892
    @jobgetabu5892 Жыл бұрын

    Great content Philipp. I am trying to purchase the PL bundle. How do I access ? it after purchase is done ?

  • @PhilippLackner

    @PhilippLackner

    Жыл бұрын

    After purchase you'll get an email with all other instructions. The courses are hosted on elopage.com :)

  • @michaelk7942
    @michaelk79426 ай бұрын

    Hey Philipp thanks for the video, all very clear. The issue however is that I (and I presume many others) do not know how to actually publish the app releases in a way so that the priority is considered and the in-app update notification gets shown for production apps. If I understood it correctly, it needs to be done with the Google Cloud Console. Any chance that you can add a video showing how it is done? Google's documentation on this is not helpful, and I am sure it will be helpful for many!

  • @jamili1983.android

    @jamili1983.android

    6 ай бұрын

    I am also looking for the same..Hey Philipp please share video if you have

  • @oppenheimer_td

    @oppenheimer_td

    3 ай бұрын

    Have you found any way to set update priority. I am facing the same problem the popup is not comming.

  • @OmarAhmed-jo1cf
    @OmarAhmed-jo1cf3 ай бұрын

    for some reason the app-icon on the left after flex dialog downloads doesn't appear in my case

  • @ranbirsharma6067
    @ranbirsharma6067 Жыл бұрын

    Hi, Can you make a video for how we can set In-app update priority whether it's flexible or Immediate from Google developer API? I did a little RND on it like we need Google developer API and we have to mention app accessToken from play console, EditId, and update type(FLEXIBLE or IMMEDIATE) but didn't get it completly. So, can you help? Thanks.

  • @jamili1983.android

    @jamili1983.android

    6 ай бұрын

    I am also looking for the same..Please share here if you find

  • @oppenheimer_td

    @oppenheimer_td

    3 ай бұрын

    Have you found any way to set update priority. I am facing the same problem the popup is not comming.

  • @setteroid
    @setteroid Жыл бұрын

    Phillip please make video about KotlinDL in Android

  • @USS_Daedalus
    @USS_Daedalus Жыл бұрын

    Hero

  • @shadirvanislive
    @shadirvanislive10 ай бұрын

    How do i do this in flutter

  • @royabhriya
    @royabhriya8 ай бұрын

    After installing the update, the app is not relaunching. What could be the reason?

  • @freshtechtips
    @freshtechtips Жыл бұрын

    Why did you not use coroutines? So await for the task, there is jetbrains dependency that support the task class

  • @raheemadamboev

    @raheemadamboev

    Жыл бұрын

    cuz we don't care about the result

  • @freshtechtips

    @freshtechtips

    Жыл бұрын

    @@raheemadamboev What if we do? this library will help "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.6.4"

  • @4ytonly
    @4ytonly Жыл бұрын

    What are those annotations new* and Philip Lackner* ???

  • @DonMarv00

    @DonMarv00

    Жыл бұрын

    it's from git, it shows who wrote the exact code

  • @DonMarv00

    @DonMarv00

    Жыл бұрын

    new* are probably the changes since the last pull from git

  • @4ytonly

    @4ytonly

    Жыл бұрын

    @@DonMarv00 Yes, I kinda figured that's the case, I asked the wrong question. How do you enable that, and can you use that version control offline?

  • @osisuper98

    @osisuper98

    Жыл бұрын

    @@4ytonlyupdate to the latest Android Studio version (Electric Eel or Flamingo)

  • @emwagner
    @emwagner10 ай бұрын

    What about on iOS?

  • @mehmetpeker9047
    @mehmetpeker9047 Жыл бұрын

    How we can set update priority?

  • @ChrisAthanas

    @ChrisAthanas

    Жыл бұрын

    He shows you, it’s in the code

  • @mehmetpeker9047

    @mehmetpeker9047

    Жыл бұрын

    @@ChrisAthanas What section was it on, I didn't see it?

  • @mehmetpeker9047

    @mehmetpeker9047

    Жыл бұрын

    @@ChrisAthanas can you help me? 😀

  • @ChrisAthanas

    @ChrisAthanas

    Жыл бұрын

    @@mehmetpeker9047 watch it again and also google

  • @mehmetpeker9047

    @mehmetpeker9047

    Жыл бұрын

    @@ChrisAthanas There is no such content in this video and google.For example, I want to set the update priority as 3, how can I do this?

  • @hajerprzodowy133
    @hajerprzodowy13310 ай бұрын

    Ok, but how to handle FLEXIBLE update?

  • @Rajmanov
    @Rajmanov Жыл бұрын

    I have seen some apps doing it and after a while, they remove this feature because it is buggy and has different results for the same contexts.

  • @ChrisAthanas

    @ChrisAthanas

    Жыл бұрын

    Any specific details or resources on this?

  • @sebastianseno9285

    @sebastianseno9285

    Жыл бұрын

    my apps running well with this library.

  • @abdullahkardas8887
    @abdullahkardas88878 ай бұрын

    Android In app update immediate update is cancelable so I think it is not convenient if we want to user required to update app

  • @thanuj_
    @thanuj_7 ай бұрын

    How to being two apps into one app

  • @ghdocco
    @ghdocco8 ай бұрын

    deprecated

  • @arturmenter1431
    @arturmenter1431 Жыл бұрын

    ​ @PhilippLackner 12:50 shared email

  • @mkjvd
    @mkjvd Жыл бұрын

    cool