0

I was going through in-app updates library (https://developer.android.com/guide/playcore/in-app-updates) and want to add this functionality, however I am confused about where to add the code to check if the update is available, I couldn't any information regarding this. If I add the code to the splash screen will it increase the waiting time? Any best practice advice would be appreciated.

Aviharsh Shukla
  • 143
  • 3
  • 12

3 Answers3

0

it's better to add your code in activity which appear after splash screen,Cause in app update show popup and dialog and also check in playstore for any update.

0

You can add your code in activity which is your Base activity for application i.e always present when you app running either in pause/resume state.

Anshika Bansal
  • 320
  • 2
  • 9
0

I think you should add app update code after splash screen. In main activity first check about your app update then perform other task.

U13-Forward
  • 69,221
  • 14
  • 89
  • 114
khushbu movaliya
  • 127
  • 1
  • 1
  • 12