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

210
Vistas
How correctly open native application via browser(Instagram) on iOS?

We have a page that opens the installed application to the user or sends him to the AppStore. Everything was built around top.location.href = "{appscheme}://?" + params; and timeout for redirecting into Appstore. Recently, this approach has stopped working correctly when opening page in Istagram. When trying to open the app, the user sees the message There was a problem while loading this website even though the app is installed.

I tried to change the link to top.location.href = "{appscheme}://{appscheme}?" + params; and the application really started to open, but if the application is removed, then the page opens/closes quickly and the redirect to the AppStore does not have time to work out. How to determine that the application is installed or prevent the opened page from closing?

What was done?

  1. I tried to open app via window.open
  2. I tried to open app with delay via setTimeout
  3. I tried to catch Error or listen events
  4. etc...

How to reproduce: iOS(15.2), open page in Instagram native browser(open link through insta messages etc), inside loaded page try to open application via JS

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