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

164
Vistas
Setting a Firebase User photoURL value to null

I have a Firebase user with a photoURL value set.

The Firebase docs say the photoURL property has a string | null value.

Now I want to remove the photoURL, so I thought I could set it to null using the Web v9 modular SDK.

But this does not work:

updateProfile(auth.currentUser, { photoURL: null });

However this does work:

updateProfile(auth.currentUser, { photoURL: '' });

If I use an empty string Firebase will convert it to null afterwards. But I can't directly set it to null.

Is this a feature or a bug?

about 4 years ago · Juan Pablo Isaza
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