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

210
Visualizações
Android webview angular app stops sending request to server

I am currently developing a webview angular app. My angular app is one page inside a mobile application with multiple webview apps.

I have a page A that uses window.location.href to redirect to page B. I also have a page C that sends http requests to server. Pages A and C are the routers in my angular app, page B is just a dummy page not in my angular app, it is used to show information.

In android devices, I go to page C render some data from server, then I go to page A. From page A I click the redirect button and get redirected to page B, after seeing information I click the "back button" in the device, android sends me to page A.

The problem is after all these actions my app stops sending request to backend. It does everything right, opens the page and renders the data, but the data is not fresh (page C shows old data). My app starts faking the sending request and gets response of the previous requests which we sent before going to page A. I viewed the logs of the server(backend) but it shows no requests.

If I reload the page (reopen the angular app inside mobile application or restart application) everything starts working fine, so I suppose android "back button" doesn't reload the page. The IOS app doesn't have this problem, because it doesn't have the "back button", so in order to go to page A app will be reopened and reloaded.

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