1.0.1 • Published 6 years ago
react-native-premind-sdk-ios v1.0.1
react-native-premind-sdk-ios
Getting started
$ npm install react-native-premind-sdk-ios
Mostly automatic installation
$ react-native link react-native-premind-sdk-ios
Installation via Coapods (recommended for React-Native 0.60.X)
- Add these lines to the
Podfile
pod 'PremindSDK', :path => '../../sdk'
pod 'RNPremindSdk', :path => '../../react-native-premind-sdk-ios/ios'- Run
pod installto install the libraries
Note: Look at the Podfile of the FakeApp for example
Manual installation
iOS
- In XCode, in the project navigator, right click
Libraries➜Add Files to [your project's name] - Go to
node_modules➜react-native-premind-sdk-iosand addRNPremindSdk.xcodeproj - In XCode, in the project navigator, select your project. Add
libRNPremindSdk.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Usage
import { PremindManager, PremindEventEmitter } from 'react-native-premind-sdk-ios';Note: If the module is not loaded when running, copy the react-native-premind-sdk-ios to the node_modules folder.
1.0.1
6 years ago