8.2.0 • Published 6 years ago
@hanselio_public/react-native-hansel v8.2.0
react-native-hansel
Getting started
$ npm install react-native-hansel --save
Mostly automatic installation
$ react-native link react-native-hansel
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-hanseland addHanselRn.xcodeproj - In XCode, in the project navigator, select your project. Add
libHanselRn.ato your project'sBuild Phases➜Link Binary With Libraries - Run your project (
Cmd+R)<
Usage
import {NativeModules} from 'react-native';
// TODO: You can access Hansel SDK classes this way.
NativeModules.HanselConfigsRn;
NativeModules.HanselTrackerRn;
NativeModules.HanselUserRn;
NativeModules.HanselRn;8.2.0
6 years ago