1.4.11 • Published 2 years ago

leap-creator-react-native-test v1.4.11

Weekly downloads
-
License
-
Repository
-
Last release
2 years ago

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'),
		})()
	}

}