stripe-react-native: Apple pay is always not supported

Describe the bug When I add applepay within the application, isPlatformPaySupported always returns false isPlatformPaySupported Returns true in the emulator and false on the real device To Reproduce useEffect(() => { (async function () { const res = await isPlatformPaySupported() console.log(‘isApplePaySupported’, res) // got false // setIsApplePaySupported(res); })(); }, [isPlatformPaySupported]);

Smartphone (please complete the following information): emulator: iphone 14 pro max os:ios16.4 device: iphone 11 ios: 14.2

Is it necessary to enable the in app purchase function?

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 19

Most upvoted comments

Folks, I fixed this issue by add apple pay in project settings, XCode > Project > Capabilities and add/enable Apple Pay to fix the issue.