Mobile app redirect

How does one redirect on server connect success, to another page in a FW7 app? The browser AC component does not deliver.

Did you tried the browser component Gogo but with the routing path as url?

Sorry, I meant to provide that…Yes, like this…

 dmx-on:success="browser1.goto('/home/')"

With this in routes.js which works for links, but not here:

  {
    "path": "/home/",
    "url": "./home.html"
  }

Hmm seems the browser component doesn’t know about the f7 routing.

Will see if we can update it or make a specific f7 routing component that you can call @patrick

Thanks George,

The workaround for anybody needing…

onsuccess="app.views.main.router.navigate('/home/')"
2 Likes

Good one indeed - I forgot that you can just use the regular javascript events and add there the f7 router code

If you want to do a similar redirect with the App Connect routing, is it possible and if so what would the code be?