If I open it like a website in a browser - it is detecting dark theme enabled on device both on pc and mobile.
But if I build the app with capacitor and then open it on Android device as an app - it cannot detect dark theme enabled. It is always shows that app is in light mode. I tested on device with Android 10+.
I used this guide: Dark Mode - Ionic Documentation
Do you have any ideas why the issue happens and how to fix it?
1 post - 1 participant