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.

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

  1. Create new expo project with expo init

  2. Eject with expo eject, choose ExpoKit

  3. Follow the docs to add the Payments Module on iOS

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:closed
  • Created 4 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
AaronStackBarnescommented, Apr 17, 2019

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().

0reactions
sjchmielacommented, Sep 12, 2019

This problem was occurring due to incompatible versions of Stripe/FaceDetector package and the unimodules core.

Read more comments on GitHub >

github_iconTop 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 >

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