mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-07-01 04:07:53 +08:00
IAP: Always enable pending purchases
This commit is contained in:
@ -75,6 +75,7 @@ class _PurchaseWidgetState extends State<PurchaseWidget> {
|
||||
}
|
||||
|
||||
Future<void> initPlatformState() async {
|
||||
InAppPurchaseConnection.enablePendingPurchases();
|
||||
final iapCon = InAppPurchaseConnection.instance;
|
||||
|
||||
final bool available = await iapCon.isAvailable();
|
||||
|
Reference in New Issue
Block a user