Browser component change in behavior in mobile app

@patrick it looks like a browser.goto command in a mobile app is behaving differently in AC2…perhaps for the better, so not reporting as a bug.

In AC1, my page changes all have the format of:

browser1.goto('#!/dashboard', true, 'Dashboard')

When I load with AC2

That command seems to add the hash bang authomatically:

Screenshot 2023-08-04 at 7.54.18 AM

This seems more accurate:

browser1.goto('/dashboard', true, 'Dashboard')

This works, so I’m assuming I should just change my goto commands.

Agree?

Are you updating an old app, I believe we changed this behavior a while back.

Nope, this is an app currently updated at least monthly. Never saw any issues with this.

I checked it and the deprecated code was removed in the last beta, the goto urls behave the same as a normal link on the page. Depending on the used routing the #! is automatically being added.

1 Like