0.1.16 • Published 2 years ago
react-native-bloxmove-rn v0.1.16
//TODO: Change example
react-native-bloxmove-rn
Bloxmove React Native package
Installation
npm install react-native-bloxmove-rn
Usage
App.tsx;
import { BloxmoveContextProvider } from 'react-native-bloxmove-rn';
// ...
<BloxmoveContextProvider
config={{
apiUrl: '',
apiKey: '',
}}
>
...
</BloxmoveContextProvider>;
// ...
SomeFile.tsx;
import { useClient } from 'react-native-bloxmove-rn';
const client = useClient();
const vehicles = await client.listVehicles();
Start example app
yarn example android
Contributing
See the contributing guide to learn how to contribute to the repository and the development workflow.
License
MIT