question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat(android): Dark mode

See original GitHub issue

Is your feature request related to a problem? If so, Please describe. Android doesn’t support dark-theme media query

Describe the solutions you came up with Bridge the interface in Android to set the dark mode

if(WebViewFeature.isFeatureSupported(WebViewFeature.FORCE_DARK)) {
    WebSettingsCompat.setForceDark(myWebView.getSettings(), WebSettingsCompat.FORCE_DARK_ON);
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8

github_iconTop GitHub Comments

4reactions
dapicestercommented, Jun 30, 2021

@925360166 @velijv @idlework @jonhassall @vascofg @Gregoirevda I see that there is a PR for this #2063. Let’s upvote on that!

0reactions
react-native-community-botcommented, Aug 9, 2021

🎉 This issue has been resolved in version 11.12.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dark theme - Android Developers
Dark theme applies to both the Android system UI and apps running on the device. There are three ways to enable Dark theme...
Read more >
How to Turn on Dark Theme in Android 10 | Digital Trends
It's very easy to turn on dark mode. Here's how: Go to Settings > Display > Dark Theme and toggle it on. If...
Read more >
Android 10 — How to officially support Dark Mode in your apps?
There are many apps have already had Dark theme options before that. But now it comes to be standard feature of the system,...
Read more >
night mode implementation? [ft][en] request #2512 - GitHub
are there any plans to introduce a night mode for the android app? that would be a great feature/enhancement imho. unfortunately gui design ......
Read more >
Google tests an even darker 'dark mode' for its Android app
Google's testing a darker dark mode for its Android search app (via Android Police), according to ... Peloton removes classes feat.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found