react-native-iap icon indicating copy to clipboard operation
react-native-iap copied to clipboard

requestPurchase slow for iOS

Open nthh opened this issue 8 months ago • 2 comments

Description

I recently migrated from Expo InAppPurchases as it is deprecated. When purchasing with Expo IAP, upon making a purchase the payment view loaded immediately.

With this library, it takes ~5 seconds to load the purchase screen. In addition, is there any way to know if the user has clicked the cancel button?

Environment:

  • react-native-iap: 11.0.0-rc.7
  • react-native: 0.70.8
  • Platforms (iOS, Android, emulator, simulator, device): iOS device

nthh avatar Oct 31 '23 21:10 nthh

I am experiencing the same. It takes about ~5 sec on ios devices to load the purchase screen. Long enough to get my app rejected from app store.

expo 49.0.13 react-native 0.72.6 react-native-iap 12.11.0

any suggestions?

msj-js avatar Dec 13 '23 14:12 msj-js

Long enough to get my app rejected from app store

@msj-js Can you solve this issue? Does Apple really reject apps for that?

I also have the same behaviour:

"react-native": "0.73.7",
"react-native-iap": "12.13.1"

NinjaDevRN avatar May 08 '24 01:05 NinjaDevRN