Mobile App Browser Component - needs #! for goto routes

The browser component in mobile app projects that uses the AppConnect routing needs #! added to the start of the route that you select. Currently it just adds the direct route:

Currently:

browser1.goto('/memberhome')"

should be:

browser1.goto('#!/memberhome')"

Hi Ben… sure its just a routing problem… because if we start using '#!/' in-front of links… then there is going to be no consistency and the paw-paw is going to hit the fan… so guess it just comes down to the ‘routing’ again… as all the href links are eg… /memberhome via routing … then i would hate to track where i made it #!/memberhome on pages… so i would say it must remain browser1.goto('/memberhome')" but routing should be addressed on the browser component.

It could be added by JS or by the router component rather than it being what is used on the page code. It is already added automatically by JS to href properties on anchors.

Sure. But i think its more of a bug than a request :slight_smile: as the routing should be the same for href or browser goto. :slight_smile:

1 Like

Agreed. But it doesn’t bother me whether @george sees it as a FR or a bug as long as it’s addressed :wink:

1 Like

I think we already have full hash bang routing available, but it just has to be enabled with an option.

Maybe @patrick can advise of its usage.

It works in the project with href properties , it just doesn’t work when using the browser goto action (it’s doesn’t adjust the address to add it)