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

169
Vistas
Detect if the mobile device has GMS ( Google Mobile Services ) or not from the browser

I need to create a web application which will redirect the user to the app store if the mobile device is iOS and it will redirect the user to google play store if the device is android and has google play services like Google Search, google Maps, youtube etc. But if the device is android and do not have google services then it will install an apk.

I was able to detect if the mobile device is iOS from the below code

var userAgent = navigator.userAgent || navigator.vendor || window.opera;
if (/iPad|iPhone|iPod/.test(userAgent) && !window.MSStream) {
    trackViewEvent("iOS");
    return "https://apps.apple.com";
}

But now i need to detect if the android application has Google Mobile Services activated. Is this even possible to detect from the browser? Please help

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