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

101
Visualizações
Open App Store if app isn't installed IOS 2021

I'm trying to get IOS recognize if my app is not installed when i click in a button on my web. I have everthing that says IOS, apple-app-site-association, in our app everything is set to that, and when the app is already installed, it works! But, if the app is not installed, safary returns an incorrect message, and freeze the next code (i tried to apply the settimeout to do a redirect to the appstore)

I saw multiple cases here on stackoverflow, but none works now...

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I think this is an unsolvable problem with plain html and javascript. iOS will always show an error popup if you click an app-link but don't have the app installed. I've seen many production sites that suffer from the issue too, like medium.com

I've also tried the famous setTimeout-hack to open AppStore a few seconds later if the user remains on the page but didn't quite get it to work at all (or without causing other issues like freezes)

The one hope for a solution is that a colleague told me about a Firebase SDK solution that promises they'll handle this for you

set up the links that will move people from your website into your native app. Don't worry if your users don't have the app installed yet; Dynamic Links can take care of that for you. https://firebase.google.com/docs/dynamic-links/use-cases/web-to-app

I haven't tried it out yet though.

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