Setup Payments on iOS via ExpoKit doesn't work as documented (with solution)
See original GitHub issue🐛 Bug Report
Environment
ExpoKit iOS
Expo CLI 2.13.0 environment info:
System:
OS: macOS 10.14.1
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 10.15.3 - /usr/local/bin/node
Yarn: 1.13.0 - /usr/local/bin/yarn
npm: 6.9.0 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
IDEs:
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
expo: ^32.0.0 => 32.0.0
react: 16.5.0 => 16.5.0
react-native: https://github.com/expo/react-native/archive/sdk-32.0.0.tar.gz => 0.57.1
react-navigation: ^3.0.9 => 3.0.9
npmGlobalPackages:
expo-cli: 2.13.0
Steps to Reproduce
-
Create new expo project with
expo init
-
Eject with
expo eject
, choose ExpoKit
Expected Behavior
pod install
should run without problem.
Actual Behavior
pod install
failed with error message: Unable to find a specification for ‘UMCore’ depended upon by ‘EXPaymentsStripe’
Temporary Solution
I figured out expo sdk32 doesn’t work with the latest version of expo-payments-stripe. Remove installed expo-payments-stripe. Install expo-payments-stripe@3.0.0 and it should work just fine.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (1 by maintainers)
Top Results From Across the Web
If there's an issue when you set up mobile phone billing
If your carrier supports it, you can pay for your App Store and iTunes Store purchases and more through mobile phone billing.
Read more >Upgrade Expo SDK
The Payments API was using the Stripe SDK on iOS. We learned that Apple sometimes rejects apps which contain the Stripe SDK but...
Read more >What is the difference between Expo and React Native?
Expo client: an app on your phone that lets you open your projects while you're working on them, without needing to go through...
Read more >Fill out forms automatically - iPhone & iPad - Google Chrome ...
On your iPhone or iPad, open the Chrome app Chrome ... Settings Settings ... If Google Pay doesn't support your payment method, Chrome...
Read more >Tap to Pay on iPhone | Stripe Terminal
Accept in-person contactless payments using an iPhone and the Stripe Terminal ... for barbers because they don't have to set up a physical...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So I did end up getting this to work. What I did is I want into node_modules/expo_face_detetector/ios (I’m on mobile by the way I think that’s right) and I found everything that was UM like UMcore and UM_register_module() and changed them to EX so EXcore and EX_register_module().
This problem was occurring due to incompatible versions of Stripe/FaceDetector package and the unimodules core.