Open RamProg opened 1 year ago
We were running into this error as well, and didn't want to switch to MaterialComponents from AppCompat as well. I ended up declaring a value for colorsurface and then implementing a dark mode file as suggested in the old AppCompat document section "Using your own resources for dark/light"
We were on v6.0.9 and updated to v6.1.3. We started getting a crash on Android:
I can see on v6.1.1 release you changed the example app on file example/android/app/src/main/res/values/styles.xml and switched the parent theme from "Theme.AppCompat.DayNight.NoActionBar" to "Theme.MaterialComponents.Light.NoActionBar".
Does this mean our App theme has to inherit from MaterialComponents? We are still on AppCompat and switching might cause unexpected changes to our UI. Should it be enough to just define a value for colorSurface? Is there a chance you can prevent this issue for the next release?
Thank you.