Skip to content

Appearance setColorScheme does not work on Android #26556

@szmarczak

Description

@szmarczak

Minimal reproducible example

https://github.com/szmarczak/expo-theme-bug-android/tree/main

Summary

Clicking the gray button does not change the theme but does without expo.
It works on iOS but does not work on Android.

Environment

> npx expo-env-info

  expo-env-info 1.0.5 environment info:
    System:
      OS: Windows 10 10.0.22621
    Binaries:
      Node: 20.2.0 - C:\Program Files\nodejs\node.EXE
      npm: 9.7.2 - C:\Program Files\nodejs\npm.CMD
    IDEs:
      Android Studio: AI-222.4459.24.2221.9971841
    npmPackages:
      expo: ~49.0.13 => 49.0.13
      react: 18.2.0 => 18.2.0
      react-native: 0.72.5 => 0.72.5
    Expo Workflow: managed

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions