Hi,
I am hoping somebody can help with some logic behind how to handle the following scenario
- The user installs my app - purchases a package (there are 3 levels) - lets say they do this on ios in the AppStore.
- They then install and login to my app on Andorid device - they can ‘restore purchases’ on this device to pull in the entitlements from RevenueCat and I can manage access etc.
- ?? .. but what to do/how to handle - if a customer wants to cancel subscription - or upgrade/downgrade subscription ??
I have got the subscriptions working fine, with cancel link, and upgrading/downgrading etc …. however I am a little confused as how to handle what to do if a customer wants to cancel subscription - or upgrade/downgrade subscription if the original subscription wasn’t purchased on the current device app store ?
If I use the same code that works fine when device is installed on native app store device… I get an error - which seems obvious as it will be checking the current Android/iOS subscriotion to upgrade, or set etc..
So whats the best practice here?
What I am assuming is
- I detect which store this current subscription/entitlement was purchased on…
- If it wasnt purchased on the current device store (ie: I am on a android device, but subscription was done on ios device in app store)…. I just display a message informing them ‘The current subscription was not purchased on the play store - please login on a apple device to manage your subscription’ etc?
Is this the common practice? I am interested what you are ‘supposed’ to do in this scenario - and/or what others are doing?
Thanks in advance for any help :)