We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8956aed commit 713c820Copy full SHA for 713c820
example/lib/src/screens/subscription_flow_screen.dart
@@ -190,7 +190,7 @@ Platform: ${error.platform}
190
191
Future<void> _loadActiveSubscriptions() async {
192
try {
193
- final purchases = await _iap.getActivePurchases();
+ final purchases = await _iap.getAvailablePurchases();
194
setState(() {
195
_activeSubscriptions = purchases
196
.where((p) => subscriptionIds.contains(p.productId))
0 commit comments