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

211
Vistas
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 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