How to implement In-App Update in Android Studio | Test In-App Updates (Flexible & Immediate)

Поделиться
HTML-код
  • Опубликовано: 25 сен 2024
  • Explained how to implement Flexible and Immediate in-app updates in Android Studio and how to test in-app updates in Emulator.
    #inappupdate
    #androidstudio
    #test
    In-App Update Documentation
    developer.andr...
    'All about Android Development' Playlist
    • All about Android Deve...

Комментарии • 53

  • @rijupakira
    @rijupakira 7 месяцев назад +1

    What If I don't publish on the Play Store, then how do I use in-app update features?

  • @deepeshkumar1704
    @deepeshkumar1704 Год назад +2

    In app update 2 types ke hai,ex. hum implement bhi kar liye ki Flexible/Immediate, ki jaisa bhi update hai,waise logic se update karna hai,
    but,but,but
    hame kahan define karna hota hai ki ye update jo de rhe hai wo Flexible hai ya Immediate
    hame lagta tha, update karte waqt puchha jata hoga ki, ye jo update de rhe hai wo kis type ka hai, but wo update karte waqt nhi puchha gya
    finally question is, Where we have to define this update is FLEXIBLE/IMMEDIATE?

    • @RohitSharma-of6vy
      @RohitSharma-of6vy 6 месяцев назад

      bhai iska koi answer mila to mujhe bhi bta dena

  • @mukeshroy4971
    @mukeshroy4971 11 месяцев назад

    Very informative and helpful video, thanks..

  • @joseluisnebril4762
    @joseluisnebril4762 14 дней назад

    Hi have you any java code to update apk without play-store?

  • @ProjectAryawarta
    @ProjectAryawarta Год назад +2

    This is older version. Seems not supported.

  • @Hindu10111
    @Hindu10111 Год назад

    hi thaks for the help but getting "unknown error" status in installation status.did signed apk with release still getting error

  • @nanangagung7263
    @nanangagung7263 Месяц назад

    i have downloaded an update in foreground, then i closed the app. But then the update installed in background (when the app is off). is it possible to install the update only when the next time I turn on the app?

    • @irekhatechsolutions
      @irekhatechsolutions  Месяц назад

      In that case you should pause the download before closing the app.

  • @pushpakgosavi9697
    @pushpakgosavi9697 Год назад

    Thank you for this informative video.

  • @cipriangabor45
    @cipriangabor45 Год назад

    Great video. But onActivityResult is deprecated for kotlin. Do you have an example on how to do it without onActivityResult?

  • @ranbirsharma6067
    @ranbirsharma6067 Год назад

    downloading progress not showing in notification panel

  • @test-yu2vn
    @test-yu2vn Год назад

    hi thank you very much very nice class we have give, how can i disable close option (X) in the force update , that means use need to update app then only he can go through the app..

    • @irekhatechsolutions
      @irekhatechsolutions  Год назад +2

      You can't disable it, instead you can check "if (resultCode == RESULT_CANCELED)" in 'onActivityResult()' callback which gets called on click of Close option. Then you can take the necessary action like closing the app or showing the message to update the app immediately.

    • @GuillermoReynoso-n3l
      @GuillermoReynoso-n3l Год назад

      @@irekhatechsolutions @Override
      public void onActivityResult(int requestCode, int resultCode, Intent data) {
      super.onActivityResult(requestCode, resultCode, data);
      if (resultCode == RESULT_CANCELED) {
      // The user cancelled the activity, so close the app
      CheckForAppUpdate(); ////// or ///////// finish();
      this is correct ?

  • @coprepedusolutions6480
    @coprepedusolutions6480 4 месяца назад

    Failed to bind to the service , plzse help

  • @madrasman8883
    @madrasman8883 3 месяца назад

    Beautiful. Thanks ❤

  • @yashbudhe97
    @yashbudhe97 Год назад

    Thank You Ma'am! I really found it to be very helpful
    Ma'am Can You Please Guide For New Steps to implement this because this method is deprecated now!
    Waiting For Your Reply Ma'am....

    • @irekhatechsolutions
      @irekhatechsolutions  Год назад

      Which method is deprecated? Please check this page developer.android.com/guide/playcore/in-app-updates/kotlin-java . If something is deprecated, that will be updated in this developer documentation page.

  • @ramchoudhary8814
    @ramchoudhary8814 Год назад

    Please make a new video on immediate update, because it is not working properly, the app is not getting updated that is why it is showing everytime when we start the app.

  • @ashutoshsingh2173
    @ashutoshsingh2173 4 месяца назад

    I am installing build from android studio in emulator but i did't get any popup, i am using the same code as yours, please suggest

    • @irekhatechsolutions
      @irekhatechsolutions  4 месяца назад

      Please check the version numbers. The app version in the playstore has to be grater than the app version you have installed on emulator. Then only it will show you update popup.

  • @gigofix
    @gigofix 9 месяцев назад

    My app main catagory page not loading after update api level 31 to 33 n relevents. Can u help me on chargeable basis?

    • @irekhatechsolutions
      @irekhatechsolutions  9 месяцев назад

      Can you please mail the complete details to surekha.bogi@gmail.com? I will try to help you.

  • @himanshuchandrakar8157
    @himanshuchandrakar8157 Год назад

    I did the same process mam...but it doesn't show any option.

  • @saratm9973
    @saratm9973 Год назад

    Is it possible to implement in flutter applicaton?

  • @vinithanabar277
    @vinithanabar277 Год назад

    urgent help required i implemented this as you mentioned but when i am giving second update and trying to test it. it also stays on installing screen

    • @irekhatechsolutions
      @irekhatechsolutions  Год назад

      If you are trying to test on emulator you get this problem (stuck on installing screen), because we install the build on emulator with out signing and the updated version is a signed build. Same code, try to test on device by uploading the builds on Internal app sharing in Google play console. It works perfect.

  • @praviianpbiale9523
    @praviianpbiale9523 Год назад

    method with these parameter deprecated.

  • @youtubecomedy366
    @youtubecomedy366 Год назад

    🎉🎉🎉 thank you madam

  • @IndianGamerMS
    @IndianGamerMS Год назад

    When i update the app and installation is successful then when i open the app again update option is showing again

    • @ramchoudhary8814
      @ramchoudhary8814 Год назад

      The app is not updated, that is why it is showing everytime when we start the app.

  • @SornSreynorng-n4n
    @SornSreynorng-n4n Год назад

    Who know one more for flutter project ? Please give me some resources I really need it 😥

  • @kvmanoharbabu8091
    @kvmanoharbabu8091 Год назад

    Is it compulsary to test from Internal app sharing in Google play console, cant I test it with signed apk with already deployed playstore version?

    • @irekhatechsolutions
      @irekhatechsolutions  Год назад

      Yes you can.

    • @juangil6227
      @juangil6227 Год назад

      Can you do this successfully? I couldn't, because the update information is taken from my production version and not my last internal version, even though the latter has a higher build number

  • @GuillermoReynoso-n3l
    @GuillermoReynoso-n3l Год назад +1

    works !!!!! i love u

  • @ghdocco
    @ghdocco 10 месяцев назад

    startUpdateFlowForResult deprecated

  • @pocomobile-tf4zm
    @pocomobile-tf4zm Год назад

    Good video 💖💖💖💖

  • @mediad4162
    @mediad4162 Год назад

    Please help..
    Is it a good practice that after new update arrives and installation done then we should logout the user from the app and ask user to re login again

  • @7lenilestari229
    @7lenilestari229 5 месяцев назад

    यदि आप कोटलिन का उपयोग करते हैं, तो क्या चरण समान हैं?

  • @kollycentral47
    @kollycentral47 Год назад

    👍👍

  • @appsbangla24
    @appsbangla24 Год назад

    not working

  • @NextGenAnimationss
    @NextGenAnimationss Год назад

    ❤️

  • @mrx-kb5yu
    @mrx-kb5yu 10 месяцев назад

    Android studio me code change ho gaya hai agar me yehi code use kro to work krega 😊

    • @irekhatechsolutions
      @irekhatechsolutions  10 месяцев назад

      Yes. you need to create signed build with updated version number to test the code change

  • @yashbudhe97
    @yashbudhe97 Год назад

    Waiting For Your Reply Ma'am....

  • @gofaydawebservices-gws7944
    @gofaydawebservices-gws7944 Год назад

    can you do video on implementation of Google firebase analytics

  • @educationofmaharashtra
    @educationofmaharashtra Год назад

    not working