leap-react-native
v2.0.7
Published
## Getting started
Downloads
173
Keywords
Readme
leap-react-native
Getting started
$ npm install leap-react-native --save
Initialisation
To initialize Leap add the following inside componentDidMount() {}
in your App.js
import LeapReactNative from 'leap-react-native'
export class App extends React.Component {
componentDidMount() {
Platform.select({
android: () => LeapReactNative.start('ANDROID_API_KEY'),
})()
}
}