Provides an API to get and set screen brightness.
Installation in managed Expo projects
Installation in bare React Native projects
For bare React Native projects, you must ensure that you have installed and configured the
expo package before continuing.
Add the package to your npm dependencies
expo install expo-brightness
Configure for iOS
npx pod-install after installing the npm package.
Configure for Android
android.permission.WRITE_SETTINGS permission to your manifest (
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
Contributions are very welcome! Please refer to guidelines described in the contributing guide.