8.2.0 • Published 5 years ago

@hanselio_public/react-native-hansel v8.2.0

Weekly downloads
1
License
-
Repository
-
Last release
5 years ago

react-native-hansel

Getting started

$ npm install react-native-hansel --save

Mostly automatic installation

$ react-native link react-native-hansel

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-hansel and add HanselRn.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libHanselRn.a to your project's Build PhasesLink Binary With Libraries
  4. 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;