Enable your testers to easily stay up to date with the latest releases. Integrate the App Center SDK (and the Distribution Module) for iOS, Android, or Xamarin to automatically enable in-app notification for new releases. Once completed, all future releases through App Center will trigger an in-app notification for each tester allowing a quick upgrade to the latest version.
At this time, there are some limitations to In-App Updates:
- Android devices won't be prompted for an update if there's no change in
- For iOS public in-app updates, if you use the private track, Apple has a default dialog that must be dismissed. Login isn't required for the public flow.
- In-App Updates don't work on windows/UWP applications.
Public In-App Updates
To enable public in-app updates, create a public distribution group and distribute a release with the App Center SDK. Once your testers install the app, they'll be alerted when new releases are publicly available.
Compatibility With Application Stores
If the application is installed from Google Play or other stores instead of App Center, checking for new versions will be disabled.
Google can consider in-app update code as malicious behavior even if it isn't used at runtime. We recommend you to strip this code from your application before submitting it to Google Play. To make it easier, we provide the version of App Center Distribute SDK with stubbed APIs, so the only change for you is a dependency swap. You can find the detailed instructions on Android, Xamarin, or Unity pages.
If the application is installed from the App Store or TestFlight, in-app updates aren't available, and checking for new versions will be disabled.
- Why are testers asked to authenticate repeatedly?
- App Center SDK uses a device's default browser to store cookies. In the following cases, SDK will ask for reauthentication:
- Tester cleared cookies from device's default browser.
- Tester disabled cookies for the device's default browser.
- Tester closed the first authentication window after opening the app.
- App Secret used to initialize the SDK isn't the same as the one listed on the App Center web portal.
- Why do testers not see an in-app update message when a new version of the app is released?
- Multiple scenarios can cause testers to not get in-app update notifications:
- App Center SDK distribute feature is disabled. App Center SDK distribute feature must be enabled and initialized at app launch. If testers installed a version with the distribute feature disabled, they would need to install the latest version manually.
- Automatic check for update is disabled. If automatic check for update is disabled, the app won't check for new releases at startup. The check happens when checkForUpdate is called.
- Release version of your app is incorrect for a new release
- For Android: increment version code.
- For iOS: increment
CFBundleShortVersionStringand conform to semantic versioning standards
- Why do testers see "In-app Update disabled" message?
- Multiple scenarios can make the App Center SDK to display this message:
- The app wasn't installed from App Center.
- The version a tester installed wasn't released via App Center or the release was deleted on App Center.
- App secret used in the SDK is incorrect. To get your app secret, go to your app's settings page, click on the triple vertical dots at the top right-hand corner, and copy app secret.