Payments-React-Native | An easy to use payments component in React Native
kandi X-RAY | Payments-React-Native Summary
kandi X-RAY | Payments-React-Native Summary
An easy to use payments component in React Native
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Payments-React-Native
Payments-React-Native Key Features
Payments-React-Native Examples and Code Snippets
Community Discussions
Trending Discussions on Payments-React-Native
QUESTION
- I have posted this also in https://github.com/square/in-app-payments-react-native-plugin/issues/66#issuecomment-623619907 - you can find more details there.
- The installation instructions of the package I am having problems with are in https://github.com/square/in-app-payments-react-native-plugin/blob/master/docs/get-started.md
- The problem I am having is that I have configured a react-native package (react-native-square-in-app-payments) in Xcode, but I am getting an error saying that 'module xxx not found'.
- Why doesn't Xcode find the 'missing' module? What is not configured properly? Where should I look to check?
Module 'SquareInAppPaymentsSDK' not found
ANSWER
Answered 2020-May-10 at 15:17According to your github issue link,
You’re running react 0.59.x. This means you’ll be required to run
react-native link
For native libraries to be linked in iOS XCode.
An alternative method is linking the dependency in XCode, which can be found on the react native docs
Excerpt
Step 1 If the library has native code, there must be an .xcodeproj file inside its folder. Drag this file to your project on Xcode (usually under the Libraries group on Xcode);
Step 2 Click on your main project file (the one that represents the .xcodeproj) select Build Phases and drag the static library from the Products folder inside the Library you are importing to Link Binary With Libraries
Step 3 Not every library will need this step, what you need to consider is: Do I need to know the contents of the library at compile time? What that means is, are you using this library on the native side or only in JavaScript? If you are only using it in JavaScript, you are good to go! If you do need to call it from native, then we need to know the library's headers. To achieve that you have to go to your project's file, select Build Settings and search for Header Search Paths. There you should include the path to your library. (This documentation used to recommend using recursive, but this is no longer recommended, as it can cause subtle build failures, especially with CocoaPods.) 
For RN 0.60+ linking is done automatically.
Edit:
You can also install the SDK with cocoapods via the command in the directory /ios
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Payments-React-Native
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page