Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

279
Views
React native status bar text color doesn't change on Android 12

I'm trying to change status bar text color and background color. Background color changes with no issue but the text color is not changing only on Android 12. I tried to change as JSX but that doesn't work too. Is there any other way to do it?

I'm using built-in StatusBar.

useEffect(() => {
  if (darkMode) {
    StatusBar.setBackgroundColor("#101010", true); 
    StatusBar.setBarStyle("light-content", true)
  } else {
    StatusBar.setBackgroundColor("white", true); 
    StatusBar.setBarStyle("dark-content", true)
  }
}, [darkMode])
about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!