Store Reviews & Updates¶
Starter Template provides a simple way to request store reviews and check for app updates using StarterStoreManager.
All functionality can be used in Composables via rememberStarterStoreManager().
Requesting a Review¶
Prompt users for a review after key actions, like onboarding completion:
| InAppReview Example | |
|---|---|
Platform Behavior
- On Android,
askForReview()may throw an exception if the review dialog is unavailable.
Checking for App Updates (Android Only)¶
Manual check example:
Android Only
checkAppUpdate()only works on Android because iOS does not provide an in-app update API like Google Play Store.- It's not recommended to call this directly in your app unless you have a specific reason to do so; instead, use
AppUpdateProviderfor automatic update handling.
AppUpdateProvider¶
Wrap your app to automatically check for updates:
How It Works
AppUpdateProviderwraps your app Composable.- It calls
checkAppUpdate()internally on Android. - You can handle forced or optional updates automatically.
- iOS calls are skipped since in-app updates are not supported.
Summary¶
- Use
askForReview()after onboarding or key actions. - Avoid calling
checkAppUpdate()manually; useAppUpdateProvider. AppUpdateProviderensures automatic, safe update checks on Android and skips on iOS.