{"id":13670015,"url":"https://github.com/martinmoec/Fable.ReactNative.DeviceInfo","last_synced_at":"2025-04-27T09:31:26.136Z","repository":{"id":98072927,"uuid":"243829599","full_name":"martinmoec/Fable.ReactNative.DeviceInfo","owner":"martinmoec","description":"Fable bindings for react-native-device-info","archived":false,"fork":false,"pushed_at":"2020-08-24T10:36:30.000Z","size":265,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-08T23:48:10.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"F#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/martinmoec.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2020-02-28T18:32:57.000Z","updated_at":"2020-08-24T10:36:33.000Z","dependencies_parsed_at":"2023-05-23T10:15:30.596Z","dependency_job_id":null,"html_url":"https://github.com/martinmoec/Fable.ReactNative.DeviceInfo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinmoec%2FFable.ReactNative.DeviceInfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinmoec%2FFable.ReactNative.DeviceInfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinmoec%2FFable.ReactNative.DeviceInfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/martinmoec%2FFable.ReactNative.DeviceInfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/martinmoec","download_url":"https://codeload.github.com/martinmoec/Fable.ReactNative.DeviceInfo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224066996,"owners_count":17250096,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-02T09:00:29.679Z","updated_at":"2024-11-11T07:31:04.935Z","avatar_url":"https://github.com/martinmoec.png","language":"F#","readme":"# Fable.ReactNative.DeviceInfo - Fable bindings for react-native-device-info\n\nProvides Fable bindings for [react-native-device-info.](https://github.com/react-native-community/react-native-device-info) Some functions are only available for a specific OS, see the `react-native-device-info` documentation for further information. Promises and platform specific code is wrapped within promises returning a `Result\u003c'a,string\u003e`. You can also access all functions directly through `Globals.DeviceInfo` if you wish to do so.\n\n## Setup\n\nInstall nuget package:\n`paket add Fable.ReactNative.DeviceInfo`\n\nInstall npm module:\n`yarn add react-native-device-info`\n\nFor ios:\n`cd ios \u0026\u0026 pod install`\n\nNote that some functions, like `getBatteryLevel` will require specific permissions and/or configurations. See the [react-native-device-info](https://github.com/react-native-community/react-native-device-info) documentation for further information.\n\n## Sample \n\nSee the `sample` folder. The `sample` folder contains only a single F# file, simulating a sample Fable.React.Native project, and is not runnable. For instructions on how to set up a F# React Native project see [this](https://github.com/martinmoec/fable-react-native-how-to) how-to.\n\n![Sample](/sample/img/sample.png)\n","funding_links":[],"categories":["Libraries"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinmoec%2FFable.ReactNative.DeviceInfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmartinmoec%2FFable.ReactNative.DeviceInfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmartinmoec%2FFable.ReactNative.DeviceInfo/lists"}