1.1.0 • Published 3 years ago

@premind/react-native-premind-ios v1.1.0

Weekly downloads
4
License
-
Repository
-
Last release
3 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.

Issues

Error: Undefined symbol: associated type descriptor for FloatLiteralType https://blog.cpming.top/p/react-native-0-62-undefined-symbol

Add these in the Build Settings of Project and Target

Dead Code Striping = YES
Don't Dead Strip Inits and Terms = YES
Enable Bitcode = NO
  • Missing Fonts Removing font files in the Resources folder within XCode
1.1.0

3 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

5 years ago