showStoreMessages method
- Set<
StoreMessageType> types = StoreMessageType.all
Shows the store's own messages — a billing issue, a price increase
that needs consent, a win-back offer — of types (all by default).
iOS (16+): shows the App Store messages held because configure was
called with automaticStoreMessages: false; with the default StoreKit
shows them itself and this does nothing. Without a foreground window
they stay held for a later call. Android: asks Google Play to show its
in-app messages (billing issue, price increase consent) over the
current Activity — Google recommends calling it on every app open; a
fixed payment or accepted increase refreshes entitlements. An empty set
does nothing.
Implementation
Future<void> showStoreMessages([Set<StoreMessageType> types = StoreMessageType.all]) =>
_platform.showStoreMessages(types);