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

129
Vistas
PWA `beforeinstallprompt` not being fired on Android Webview

I created a PWA, display an install page if the app is not installed.

Install page contains an install button, beforeinstallprompt event handler enables the install button.

It is working fine and able to install if I open it from the chrome installed on the phone.

I shared the app URL by Facebook Messenger, and the browser opened by Facebook Messenger doesn't fire beforeinstallprompt event. MDN says beforeinstallprompt works on webView.

Is there anything else needed to work on webView? Here is my code

window.addEventListener("beforeinstallprompt", function(e) {
  e.preventDefault();
  document.getElementById('btnInstall').disabled = false;
  deferedEvent = e;
});
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

According to Progressive Web Apps in 2020 it won't work.

You can not install PWAs from Facebook Mobile Browser, Firefox Preview, WebViews, Custom Tabs or Chrome for DayDream (VR mode).

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