1.0.1 • Published 4 years ago

react-native-premind-sdk-ios v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
4 years ago

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)

  1. Add these lines to the Podfile
    pod 'PremindSDK', :path => '../../sdk'
	pod 'RNPremindSdk', :path => '../../react-native-premind-sdk-ios/ios'
  1. Run pod install to install the libraries

Note: Look at the Podfile of the FakeApp for example

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-premind-sdk-ios and add RNPremindSdk.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNPremindSdk.a to your project's Build PhasesLink Binary With Libraries
  4. 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

4 years ago