Skip to content

Instantly share code, notes, and snippets.

View iSnakeBuzz's full-sized avatar
🎯
Focusing

Martín iSnakeBuzz

🎯
Focusing
View GitHub Profile
@iSnakeBuzz
iSnakeBuzz / withDisableForcedDarkModeAndroid.js
Created May 15, 2024 00:00 — forked from hirbod/withDisableForcedDarkModeAndroid.js
Expo Config Plugin to disable forced Dark mode.
// disable forced dark mode to prevent weird color changes on
// certain android devices (Xiaomi MIUI and others enforcing dark mode with view analyzing)
// create a file like "plugins/withDisableForcedDarkModeAndroid.js". Insert this content and edit your app.config.js/app.json
/*
"expo": {
...
...
...
"plugins": [