/Android-Webview-Darkmode-with-JavaScript

This POC is implemented to explain how dark mode js can be used inside Android Webview Component

Primary LanguageJava

🌓 Dark Mode Switch inside Android Webview

Build

This POC is implemented to explain how dark mode js can be used inside Android Webview Component using DOMStorage API

🦄 Resources Used

🏃 Test yourself

⚠️ Warning

This App uses the Deprecated API webSetting.setDomStorageEnabled(true);. But this is the only possible working solution. Even though it's deprecated it can be safely used.

License

  • MIT