I am implementing In-App Updates for Android following below link: https://developer.android.com/guide/playcore/in-app-updates#java
I have implemented FakeAppUpdateManager to test the flow. But after running the app I dont see anything happening. How can I check if it is implemented correctly.
Below is the code snippet:
FakeAppUpdateManager fakeAppUpdateManager = new FakeAppUpdateManager(this);
fakeAppUpdateManager.setUpdateAvailable(3);
fakeAppUpdateManager.isImmediateFlowVisible();
assert(fakeAppUpdateManager.isConfirmationDialogVisible());
fakeAppUpdateManager.userAcceptsUpdate();
fakeAppUpdateManager.downloadStarts();
fakeAppUpdateManager.downloadCompletes();
assert( fakeAppUpdateManager.isInstallSplashScreenVisible());
fakeAppUpdateManager.installCompletes();