I am currently implementing my subscriptions for android and ios using cordova-plugin-purchases (4.2.3).
I want to use subscriptions which are non renewing.
F.e. user buys “premium access” for 1 year. After 1 year the subscription expires (and does not renew) and the entitlement should be removed.
So far so good. In Google Play I can configure this. I link the product in revenuecat, I buy it, I get the entitlement, after the period the entitlement is removed. Fine!
I assumed I can do the same in Apples Appstoreconnect. There is the option to create a subscription without auto renew. So I created one, I link it in revenuecat. I create an offer. It is visible in my offers on my iphone.
But two things happening:
- I cannot set a duration for the subscription in App Store Connect (seems pretty odd to me for a subscription product. Isn´t it then just a consumable / one time purchase?)
- I get an error from RC cordova SDK:
- “DEBUG: Couldn’t decode ‘PeriodType’ from json.
Error: Found unexpected value ‘prepaid’ for type ‘PeriodType’ - And yes, thats a good point. As mentioned above I couldn´t even config a period / duration.
- “DEBUG: Couldn’t decode ‘PeriodType’ from json.
I find nothing in RC docs and (barley) nothing in community forum either regarding this topic. Just someone here telling that Apple does not provide a duration for those: https://stackoverflow.com/questions/39527660/configure-duration-of-non-renewing-subscription which is kind of ridiculous for a subscription IMO.
But what is to do now?
How can we use non renewable subscriptions for IOS in Revenuecat?
When its my task to handle the duration and expiration, how and where its done?
Or should I just not use those but the classic renewable ones?
Thanks in advance for your help.