You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In more detail, this is what happens:
A user finishes subscribing and the purchase receipt is validated, completed and the purchase detail (i.e. orderId) is stored for later use.
Function in use: _inAppPurchase.finishTransaction(productItem);
After that, the user can use the subscription for a while but later on, maybe the app has restarted or the user reinstalled the app, in the app it checks whether the subscription is active using the orderId that was stored with the help of either one of these functions:
1. _inAppPurchase.getAvailablePurchases()
2. _inAppPurchase.checkSubscribed(sku: orderId)
And both functions detect, after sometime, as an inactive subscription even if the subscription is still going in the playstore subscriptions.
Plugin Name: flutter_inapp_purchase
Version: 5.4.2
Platform : Android
Expected behavior: Subscription should not get auto cancel after purchased.
Tested environment : Real Device
Flutter Doctor:
[✓] Flutter (Channel stable, 3.3.7, on macOS 12.6.5 21G531 darwin-x64, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✓] Android Studio (version 2021.3)
[✓] VS Code (version 1.80.1)
[✓] Connected device (1 available)
[✓] HTTP Host Availability
• No issues found!
Attachment:
The text was updated successfully, but these errors were encountered: