Also period is null on iOS of the non-renewing packages.
Hey @YoussefLasheen ,
the Flutter SDK doesn't currently expose a direct way to tell renewing from non-renewing subscriptions on iOS. Both come through as ProductCategory.subscription
, and subscriptionPeriod
isn't reliable for this purpose.
Some solid workarounds are:
- use Offerings, where in the RevenueCat dashboard, you could create separate ones for renewing and non-renewing products
- use Product ID Naming, where you would name your products clearly, something like
pro_monthly
vs pro_lifetime
and branch on the ID in your app code. - you can tag products in RevenueCat with custom metadata (or entitlement names) to indicate type, and use that in your logic.
Best,