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