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
Description:
Issue Summary:
Following the execution of CustomerInfo customerInfo = await Purchases.purchasePackage(listPlans[index]);, which denotes a successful purchase transaction, all subsequent code fails to execute on the macOS platform.
Steps to Reproduce:
Execute the code CustomerInfo customerInfo = await Purchases.purchasePackage(listPlans[index]); on macOS platform.
Confirm successful purchase transaction.
Observe the lack of execution of any code subsequent to the purchase function call.
Expected Behavior:
Upon a successful purchase, the subsequent code should execute as intended, regardless of the platform.
Actual Behavior:
On macOS platform, code execution halts after the successful purchase transaction, preventing the execution of any subsequent code.
@harshparikhfb Debug logs will still be helpful up until the point that execution halts, so if you can provide them that would be helpful. Is this only happening on macOS, or have you tried on other platforms?
Description:
Issue Summary:
Following the execution of CustomerInfo customerInfo = await Purchases.purchasePackage(listPlans[index]);, which denotes a successful purchase transaction, all subsequent code fails to execute on the macOS platform.
Steps to Reproduce:
Execute the code CustomerInfo customerInfo = await Purchases.purchasePackage(listPlans[index]); on macOS platform.
Confirm successful purchase transaction.
Observe the lack of execution of any code subsequent to the purchase function call.
Expected Behavior:
Upon a successful purchase, the subsequent code should execute as intended, regardless of the platform.
Actual Behavior:
On macOS platform, code execution halts after the successful purchase transaction, preventing the execution of any subsequent code.
Additional Information:
Framework/Language: Dart
Platform: macOS
SDK Version: [Specify SDK version used]
Relevant Code Snippet:
try { CustomerInfo customerInfo = await Purchases.purchasePackage( listPlans[index]); if (customerInfo .entitlements.all[entitlementID] != null && customerInfo.entitlements.all[entitlementID] ?.isActive == true) { //success } else { isUserSubscribed = false; } } on PlatformException catch (e) { showToast(e.message.toString()); } catch (error) { debugPrint('$error'); }
The text was updated successfully, but these errors were encountered: