I call Purchases. Restoring Purchases takes about 7-10 seconds on both Android and iOS. I call it on the Splash screen, but it dramatically annoys the user.
Can you give me an idea of how to get rid of it?
Purchases.restorePurchases too slow
Hi
Can you tell me more on what you are trying to achieve by calling restore purchases on the splash screen?
It is not recommended to call restore purchases programmatically because it can prompt the user with the store authentication sheet, completely blocking your users and putting them away from your app.
You shouldn’t need to trigger restore every time your app opens, RevenueCat already refreshes the subscription status automatically for you - so your users are always up to date in the app based on their subscription.
If you want to force sync, you can use syncPurchases which it doesn’t require the user interaction.
I hope this helps!
![Why Not Both? Badge](https://uploads-us-west-2.insided.com/revenuecat-en/attachment/ccbc4ad2-bff5-4fe9-b65f-83bbced7a8ac_thumb.png)
Hi
Can you tell me more on what you are trying to achieve by calling restore purchases on the splash screen?
It is not recommended to call restore purchases programmatically because it can prompt the user with the store authentication sheet, completely blocking your users and putting them away from your app.
You shouldn’t need to trigger restore every time your app opens, RevenueCat already refreshes the subscription status automatically for you - so your users are always up to date in the app based on their subscription.
If you want to force sync, you can use syncPurchases which it doesn’t require the user interaction.
I hope this helps!
Thank you for your response, I call restorePurchase when user delete cache. What should I do when user delete cache that prevent me get status of subscription
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.