brad
May 9, 2024, 9:44pm
1
Just updated an app I developed in 2021 and it seems that all routing has stopped working. No matter what link I click on in the emulator it just loads the home page.
Has something changed? I think I remember seeing something about this on the forums lately but can’t find it now.
Hello @brad
I think this is the topic you are talking about:
Hi Wapplers,
I have setup a fresh new Wappler Mobile project using Capacitor and Bootstrap. I followed directions on Wappler forum and I created a new home page and login page. I am trying to navigate from home to login using routing but it’s not working. Also, I edited the routing for home to just be “/” as per the instructions but thats not defaulting to home page when I launch the app either. In both instances I receive a file not found error: File /Users/david/Desktop/dealcast/www/ not foun…
But it was a bug, not exactly sure if you’re going to find something useful there
Do you see any error on logcat or console?
Also, this doc was created on 2021 and edited on 2023 so maybe you can follow something new:
Intro
Thanks to the App Connect Client Side Routing it’s possible to use routing for your mobile apps built with Bootstrap. You just define a single index.html file and load all your content pages inside it.
Project Set Up
We start with creating a new project. Open the Project Manager and select New Project:
[Screenshot_1]
We select Mobile - Bootstrap Blank:
[Screenshot_2]
Enter the project name, select the project folder, set the runtime to Capacitor and click Save:
[Screenshot_3]
A…
brad
May 9, 2024, 10:31pm
4
Unfortunately that doc is for new projects. Doesn’t help with current projects.
brad
May 9, 2024, 10:59pm
5
Got it! All I had to do was add internal="true"
to my page links.
2 Likes