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.

Android: Color inversion

See original GitHub issue

Description

Detecting this setting works on iOS, but not on Android.

React Native version:

v0.63

Expected Behavior

The AccessibilityInfo API’s “isInvertColorsEnabled” method should work on Android as well as iOS.

Android Details

This setting can be queried using the Settings.Secure.ACCESSIBILITY_DISPLAY_INVERSION_ENABLED property. https://developer.android.com/reference/android/provider/Settings.Secure#ACCESSIBILITY_DISPLAY_INVERSION_ENABLED

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
joeycscommented, Feb 28, 2021

Hi @joeycs, Did you start working on this? Unfortunately, I didn’t see your comment when I started and I’ve just sent a PR with that method. As I haven’t mentioned that I’d like to work on this I can close my PR but I want to make sure how things are with you.

Actually, no. I haven’t had time to work on it like I thought. You can go ahead with your PR!

0reactions
muhammadashfaqdevcommented, Nov 29, 2022

@amarlette Hey. is anybody currently working on that ? i would like to take this issue as my good first issue towards contribution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to invert the colors on your Android device in 4 simple steps
How to invert colors on Android ; 1. Open "Settings." ; 2. Scroll down and select "Accessibility." ; 3. In the "Accessibility" menu,...
Read more >
How to invert the colours on your screen in Android 12
1. 1. Open the Settings and select Accessibility. 2. 2. Scroll down to the Display section and tap Text and display. 3. 3....
Read more >
How To Use Classic Invert On Any Android Phone - Screen Rant
From the 'Color inversion' page in the Settings app, tap the toggle next to 'Color inversion shortcut.' This displays a small button on...
Read more >
How To Invert Colors on Android - Technipages
How To Invert Colors on Android With Google Pixel Phones · Open the Settings app. · Scroll down and tap Accessibility. · Scroll...
Read more >
How to Invert Colors on a Picture With iPhone/Android
1. PhotoDirector is available on iOS and Android. Just go to the App Store or Google Play and search for "PhotoDirector" to start...
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