Skip to main content
Solved

Subscription gone after uninstalling the app?


Forum|alt.badge.img+1
  • New Member
  • 3 replies

Hi,

If Ive an auto-renewable subscription and uninstall the app. after reinstalling again the sheet to subscribe pops up. Is that correct? And if you assumed again click on subscribe that the money isnt debited?

And when Im testing, the subscription of my app isnt displayed in the Apple ID under Subscription. 

Is this all correct and is this only due to testing?

Best answer by cody

Hey @Nico!

It’s expected that after a re-install, the user might not have access to the subscription if the device receipt hasn’t been re-synced with that app user ID. You’ll want to give the user the option to call `restorePurchases` to re-sync their purchases.

Additionally, sandbox subscriptions won’t appear under the product Apple ID → Subscriptions section, only from the sandbox environment Apple ID settings. (Settings → App Store → Sandbox → Manage)

View original
Did this post help you find an answer to your question?

2 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 487 replies
  • Answer
  • May 20, 2022

Hey @Nico!

It’s expected that after a re-install, the user might not have access to the subscription if the device receipt hasn’t been re-synced with that app user ID. You’ll want to give the user the option to call `restorePurchases` to re-sync their purchases.

Additionally, sandbox subscriptions won’t appear under the product Apple ID → Subscriptions section, only from the sandbox environment Apple ID settings. (Settings → App Store → Sandbox → Manage)


Forum|alt.badge.img+6
  • Dedicated Member
  • 26 replies
  • August 5, 2022

Does this mean I should call Purchases.restoreTransactions() every time the user logs in? Otherwise how will my app know if it was just reinstalled or if the user is using the same old device?

This much probably might have something to do with this part of the documentation, I think:

 

https://docs.revenuecat.com/docs/restoring-purchases#google-play-on-android

 

Google Play on Android

Due to platform limitations, purchases will be transferred as soon as you call configure if a user's purchases are already associated with another app user ID.

This may cause unexpected transfers of purchases between app user IDs, especially for apps with optional logins or users with multiple devices. To prevent this behavior, you should wait to call configure until you have the appropriate app user ID for your customer.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings