Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1
ReScript bindings for react-native-device-info
License
rescript-react-native/device-info
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
ReScript bindings forreact-native-device-info.
Exposed asReactNativeDeviceInfo module.
@rescript-react-native/device-info X.y.* means it's compatible withreact-native-device-info X.y.*
Whenreact-native-device-infois properly installed & configured by following their installation instructions,you can install the bindings:
npm install @rescript-react-native/device-info#oryarn add @rescript-react-native/device-info
@rescript-react-native/device-info should be added tobs-dependencies in yourbsconfig.json:
{ //... "bs-dependencies": [ "@rescript/react", "rescript-react-native", // ...+ "@rescript-react-native/device-info" ], //...}{ ."loading":bool,"result":'result,}typepowerState= {batteryLevel:float,batteryState:string,// | "unplugged" | "charging" | "full" | "unknown"lowPowerMode:option(bool),}
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(float)
unit=>string
unit=>Js.Promise.t(Js.Dict.t(bool))
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(string)
unit=>string
unit=>Js.Promise.t(string)
unit=>string
unit=>string
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>string
unit=>Js.Promise.t(string)
unit=>string
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(float)
unit=>string
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(powerState)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(string)
unit=>string
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(Js.Array.t(string))
unit=>string
unit=>string
unit=>Js.Promise.t(string)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(string)
unit=>string
unit=>Js.Promise.t(float)
unit=>Js.Promise.t(string)
unit=>string
unit=>bool
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>Js.Promise.t(bool)
unit=>bool
unit=>Js.Promise.t(Js.Array.t(string))
unit=>Js.Promise.t(Js.Array.t(string))
unit=>Js.Promise.t(Js.Array.t(string))
unit=>option(float)
unit=>option(float)
unit=>asyncHookResult(string)
unit=>asyncHookResult(float)
string=>asyncHookResult(bool)
unit=>asyncHookResult(bool)
unit=>powerState
Check thechangelog for more informations about recentreleases.
Read thecontribution guidelinesbefore contributing.
We want this community to be friendly and respectful to each other. Please readour full code of conductso that you can understand what actions will and will not be tolerated.
About
ReScript bindings for react-native-device-info
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Contributors3
Uh oh!
There was an error while loading.Please reload this page.