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

213
Vistas
Detect whether user has access to Files/photos from browser using Javascript in mobile

I would like to detect whether a user has access to Files/Photos when the user selects a file from <input type="file">. In mobile browser, if user has denied the photos access then nothing happens when we click the file input. In this case, I would like to alert the user that you do not have permission to access photos.

Is there any way to reliably detect if permission to access Files/Photos is currently allowed in a browser using Javascript?

I have tried Permission API and MediaDevices.getUserMedia() but it does not help as it only gives you camera permission and also it is not reliable.

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