BuckleScript bindings to react-native-device-info.
# yarn
yarn add bs-react-native-device-info react-native-device-info
# or npm
npm install bs-react-native-device-info react-native-device-info
Then add bs-react-native-device-info to the dependencies in your bsconfig.json, e.g.:
{
"name": "my-app",
...
"bs-dependencies": ["reason-react", "reason-react-native", "bs-react-native-device-info"],
...
}