Skip to content
This repository was archived by the owner on Mar 3, 2021. It is now read-only.
This repository was archived by the owner on Mar 3, 2021. It is now read-only.

How can I force light mode on MIUI? #60

Description

@yusufulusoy

Hello,

I generate an app with expo,
installed react-native-appearance with this command
expo install react-native-appearance

I set config in my app.json like this

{ "expo": { "userInterfaceStyle": "light", "ios": { "userInterfaceStyle": "light" }, "android": { "userInterfaceStyle": "light" } } }

My App.tsx like this;

<AppearanceProvider> <App /> </AppearanceProvider>

What is wrong? I can't force to light mode on xiaomi mi note 10. How can I fix it?

UPDATE: I fixed on a phone manually with phone settings, but I need fix it global with app. I set on Xiaomi Mi Note 10 screen settings > dark mode > individual apps > MYAPP = disable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions