Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work on Browser (Mobile/PC) But not working on Android WebView Application #22

Open
ohokbd opened this issue Oct 18, 2019 · 5 comments
Open

Comments

@ohokbd
Copy link

ohokbd commented Oct 18, 2019

I have implented the darkmode.Js it works great on PC or mobile browser. But somehow the JS is not working on Android Webview Application. It doesnot show toggles or even I set the dark mode pre activated it does not switch on webview application.

PS note: I tried to activate the Javascript on webview App. Still no luck.

@ohokbd
Copy link
Author

ohokbd commented Dec 20, 2019

No. Its not yet fixed.

@sandoche
Copy link
Owner

I haven't got time yet to look into it.

@aayvazyan-tgm
Copy link

aayvazyan-tgm commented Mar 3, 2020

Is there still an intent to fix this?

@mcnaveen
Copy link

mcnaveen commented Apr 8, 2020

🦄 Issue is not related to Darkmode.js

You need to enable DOM Storage API in OnCreate to solve this issue.

WebSettings.setDomStorageEnabled(true)

@aayvazyan-tgm
Copy link

Sadly WebSettings.setDomStorageEnabled(true) does not do the trick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants