Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

211
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda