Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

280
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda