question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

requestPurchase on iOS is taking some time to load

See original GitHub issue

Version of react-native-iap

5.1.1

Version of react-native

0.63.3

Platforms you faced the error (IOS or Android or both?)

iOS

Expected behavior

Calling RNIap.requestPurchase(sku) should open directly

Actual behavior

Calling RNIap.requestPurchase(sku) is taking between 20 and 30 seconds to show Apple’s payment modal when downloading the app from TestFlight / release. However, when testing it on Emulator / debug, it’s opening directly.

Tested environment (Emulator? Real Device?)

Both

Steps to reproduce the behavior

No specific steps

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:15
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RocKhalilcommented, Feb 8, 2021

@hyochan how is this expected ? it’s loading directly when in debug mode but takes 30 seconds to open in production ?

0reactions
hyochancommented, Feb 7, 2021

Looks related to #1244 which is expected.

Read more comments on GitHub >

github_iconTop Results From Across the Web

If Ask to Buy isn't working - Apple Support
If you miss an Ask to Buy notification, you can find the request in Notification Center on your iPhone, iPad, iPod touch, or...
Read more >
in app billing - React Native | react-native-iap - Stack Overflow
What you can do is upload the apk and do a release under Internal test track . It will take 2-3 days for...
Read more >
requestPurchase on iOS is taking some time to load #1198
Calling RNIap.requestPurchase(sku) is taking between 20 and 30 seconds to show Apple's payment modal when downloading the app from TestFlight / release. However ......
Read more >
React Native IAP - Javatpoint
The react-native module will help us access the phone's in-app purchase capabilities on Android and iOS platforms of the Amazon platform (beta).
Read more >
react-native-iap v3 - Medium
It has been more than a year now since I've been maintaining react-native-iap. I've had a great experience maintaining this module and I've ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found