I'm working on a Flutter app that uses subscriptions.
I've purchased a subscription on iOS using an Apple Sandbox User. When I run the app on iOS and check the `customerInfo.entitlements.all` content, I see two entitlements: one for the promotional trial and another for the sandbox subscription (which is correct since I’m assigning a trial entitlement when the customer is created). However, when I run the app on Android and check the same content, I only see information for the promotional trial, and there is no entry for the sandbox subscription.
Has anyone else experienced this?
Any insights or solutions would be greatly appreciated!
iOS `customerInfo.entitlements.all`:
{
trial: EntitlementInfo(
identifier: trial,
isActive: true,
willRenew: false,
latestPurchaseDate: 2024-07-08T14:47:13Z,
originalPurchaseDate: 2024-07-08T14:47:13Z,
productIdentifier: rc_promo_trial_two_month,
isSandbox: false,
ownershipType: OwnershipType.purchased,
store: Store.promotional,
periodType: PeriodType.normal,
expirationDate: 2024-09-07T14:47:13Z,
unsubscribeDetectedAt: null,
billingIssueDetectedAt: null
),
premium: EntitlementInfo(
identifier: premium,
isActive: true,
willRenew: true,
latestPurchaseDate: 2024-07-08T15:26:43Z,
originalPurchaseDate: 2024-07-08T15:26:43Z,
productIdentifier: picker_499_1m,
isSandbox: true,
ownershipType: OwnershipType.purchased,
store: Store.appStore,
periodType: PeriodType.normal,
expirationDate: 2024-08-08T15:26:43Z,
unsubscribeDetectedAt: null,
billingIssueDetectedAt: null
)
}
Android `customerInfo.entitlements.all`:
{
trial: EntitlementInfo(
identifier: trial,
isActive: true,
willRenew: false,
latestPurchaseDate: 2024-07-08T14:47:13.000Z,
originalPurchaseDate: 2024-07-08T14:47:13.000Z,
productIdentifier: rc_promo_trial_two_month,
isSandbox: false,
ownershipType: OwnershipType.unknown,
store: Store.promotional,
periodType: PeriodType.normal,
expirationDate: 2024-09-07T14:47:13.000Z,
unsubscribeDetectedAt: null,
billingIssueDetectedAt: null
)
}