Skip to main content
Solved

Checking price eligibility in Flutter on iOS triggers an Apple sign-in prompt

  • 8 December 2021
  • 2 replies
  • 222 views

Forum|alt.badge.img+6

My Flutter app is showing a prompt to sign in with Apple when I call Purchases.checkTrialOrIntroductoryPriceEligibility on iOS. I found a related topic from a RC customer using the iOS SDK.

The suggested workaround is to check if a receipt exists before calling checkTrialOrIntroductoryPriceEligibility. The Flutter SDK doesn’t seem to provide a way to check for receipts. Is there any workaround for me without writing custom iOS plugin code?

It sounds like this issue only happens in the sandbox environment, but I’m concerned that my app will be rejected if the reviewer is constantly getting sign-in prompts.

Best answer by ryan

Like you mentioned it should only happen in sandbox. I don’t believe there’s any official workaround for this but I’ve shared that previous thread with our SDK team to see if there’s potentially another way to handle it. Since the same version of your app needs to work in sandbox and production, things are optimized toward a production environment. 

I know a lot of apps use that method and I haven’t heard of an App Rejection for it if that’s your concern you could always give it a shot first then fallback to something if needed. Definitely keep us posted if this leads to a rejection reason.

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

2 replies

ryan
RevenueCat Staff
Forum|alt.badge.img+9
  • RevenueCat Staff
  • 391 replies
  • Answer
  • December 8, 2021

Like you mentioned it should only happen in sandbox. I don’t believe there’s any official workaround for this but I’ve shared that previous thread with our SDK team to see if there’s potentially another way to handle it. Since the same version of your app needs to work in sandbox and production, things are optimized toward a production environment. 

I know a lot of apps use that method and I haven’t heard of an App Rejection for it if that’s your concern you could always give it a shot first then fallback to something if needed. Definitely keep us posted if this leads to a rejection reason.


Forum|alt.badge.img+6
  • Author
  • Active Member
  • 12 replies
  • December 8, 2021

Thanks for your response, @ryan - I’ll move forward with app submission and see what happens. 🤞 


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