9

As per the documentation,we can use internal app sharing to test in-app updates by performing the following steps:

  1. Make sure your test device has a version of your app installed that supports in-app updates and was installed using an internal app sharing URL.
  2. Follow the Play Console instructions to share your app internally. Upload a version of your app that uses a version code that is higher than the one you already have installed on the test device.
  3. On the test device, click the internal app sharing link for the updated version of your app but do not install the app from the Play Store page that appears after you click the link.
  4. Open the app from the device's app drawer or home screen. The update should now be available to your app, and you can test your implementation of in-app updates.

But Can we set the priority for app version in Internal app sharing? I am displaying flexible or immediate update on the basis of priority.And for production app we can set the priority using the Google Play Developer API as described in the Play Developer API documentation. But for internal app sharing there is no way mentioned we can test on basis of priority.

Android Developer
  • 9,157
  • 18
  • 82
  • 139

2 Answers2

2

No, you can not set inAppUpdatePriority for the Internal App Sharing.

I have similar logic to determine the Flexible and Immediate update and I was able to test it with the Internal testing track since I'm using Fastlane to upload the AAB/APK to the internal track they also support setting in_app_update_priority.

one thing to notice I was able to see the update in the google play store after clearing the play store app cache. but the AppUpdateManager inside my app took almost 8 hours until recognize the new update with the right updatePriority

Omar Abdan
  • 1,901
  • 17
  • 29
0

As of now, you can not set update priority for the builds which you share using Internal App Sharing.

Golam Kibria
  • 114
  • 7