GithubHelp home page GithubHelp logo

Comments (10)

joemasilotti avatar joemasilotti commented on August 30, 2024

Can you reproduce this in the demo app?

from turbo-ios.

breadluvr avatar breadluvr commented on August 30, 2024

If I just navigate into another page and then back again without interacting with the new page it doesn't happen, but if you interact with the page or do a page refresh it does seem to happen in the demo app too.

Simulator.Screen.Recording.-.iPhone.14.-.2023-10-31.at.11.04.41.mp4

from turbo-ios.

joemasilotti avatar joemasilotti commented on August 30, 2024

That’s expected behavior for a page refresh. Reloading tells the session to clear the cache, navigating back then requires a load from the server.

Can you expand on “interacting” with the page?

from turbo-ios.

breadluvr avatar breadluvr commented on August 30, 2024

Initially, I thought that for a page reload to occur, an interaction like tapping on the page or scrolling needed to take place, but that does actually not seem to be the case with the 404 error native view in the demo. It triggers a page reload when navigating into the view and then back.(but only the first time) This is what we're also seeing in our app, but not only on native views but also in our web fragments.

Simulator.Screen.Recording.-.iPhone.14.-.2023-10-31.at.15.18.40.mp4

from turbo-ios.

joemasilotti avatar joemasilotti commented on August 30, 2024

Weird, I'm not seeing the page reload even when accessing the 404 error. Can you confirm you have no code changes on the demo server or app?

from turbo-ios.

breadluvr avatar breadluvr commented on August 30, 2024

Indeed, no code changes.

from turbo-ios.

joemasilotti avatar joemasilotti commented on August 30, 2024

Is it possible to upload your iOS code somewhere? I can't reproduce and if you are hitting the demo server then the Swift code is the only remaining variable.

from turbo-ios.

breadluvr avatar breadluvr commented on August 30, 2024

I could share the Swift code – but all I did was to clone the repo and run the demo app with the default hosted test server. And I've made zero changes in the code.

from turbo-ios.

breadluvr avatar breadluvr commented on August 30, 2024

I have resolved the problem in our app. The problem was on our end because we made an extra redirect on the first back navigation to inset a locale in the URL.

from turbo-ios.

joemasilotti avatar joemasilotti commented on August 30, 2024

Gotcha, thanks for following up!

from turbo-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.