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.
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.