{"id":21540030,"url":"https://github.com/robinpowered/react-native-screen-brightness","last_synced_at":"2025-04-10T03:26:40.879Z","repository":{"id":42083476,"uuid":"47581556","full_name":"robinpowered/react-native-screen-brightness","owner":"robinpowered","description":"Screen brightness module for iOS \u0026 Android on React Native","archived":false,"fork":false,"pushed_at":"2023-09-02T06:01:49.000Z","size":94,"stargazers_count":94,"open_issues_count":17,"forks_count":67,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-03-24T04:43:39.569Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","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/robinpowered.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}},"created_at":"2015-12-07T21:52:42.000Z","updated_at":"2025-02-14T15:52:16.000Z","dependencies_parsed_at":"2022-08-25T09:01:53.796Z","dependency_job_id":null,"html_url":"https://github.com/robinpowered/react-native-screen-brightness","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinpowered%2Freact-native-screen-brightness","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinpowered%2Freact-native-screen-brightness/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinpowered%2Freact-native-screen-brightness/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robinpowered%2Freact-native-screen-brightness/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robinpowered","download_url":"https://codeload.github.com/robinpowered/react-native-screen-brightness/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248150063,"owners_count":21055851,"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-11-24T04:17:02.211Z","updated_at":"2025-04-10T03:26:40.857Z","avatar_url":"https://github.com/robinpowered.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-native-screen-brightness\n\nAccess and update the system brightness on a device.\n\n## React Native compatibility\n|         React Native version          |         Compatible `react-native-screen-brightness` version   |\n| :------------------: | :------------------: |\n| v0.60+ | v2.x |\n| v0.27 - v0.59 | v1.x |\n\n## Install\n\nInstall with [yarn](https://yarnpkg.com) or [npm](https://www.npmjs.com).\n\n```shell\nyarn add react-native-screen-brightness\n```\n\n```shell\nnpm i --save react-native-screen-brightness\n```\n\n## Example\n\n```js\nimport ScreenBrightness from 'react-native-screen-brightness';\n\nScreenBrightness.setBrightness(0.5); // between 0 and 1\n\nScreenBrightness.getBrightness().then(brightness =\u003e {\n  console.log('brightness', brightness);\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinpowered%2Freact-native-screen-brightness","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobinpowered%2Freact-native-screen-brightness","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobinpowered%2Freact-native-screen-brightness/lists"}