Mobile Chrome Browser Issue

Hey @Rich,

i hope you are well in your vaccation. :slight_smile:

There is an Issue with mobile Chrome Browser, the Manager is not reachable, except you are switching to “Desktop Version”.

Console Error:

I/chromium: [INFO:CONSOLE(335)] “Uncaught SyntaxError: Unexpected token .”, source: https://demo.openremote.app/manager/bundle.91931e659311286f4dc9.js (335)

Hey @Denis

I enjoyed my vacation thank you :slight_smile:

I cannot reproduce this problem on my Pixel 5 and I don’t see any errors when debugging over USB.

Can you confirm if this is still a problem for you?

Thanks.

Rich

Hey rich,

yes i can still confirm…

but… i tried it now on diffrent android api’s …

API 28 has the issue

API 31 works fine…

for some reason… when i don’t go over www.floriax.de and go directly to the

https://www.floriax.de/auth/realms/master/protocol/openid-connect/auth?client_id=openremote&redirect_uri=https%3A%2F%2Fwww.floriax.de%2Fmanager%2F&state=68e87ad2-cbb0-4c68-9aa6-41e9251d977b&response_mode=fragment&response_type=code&scope=openid&nonce=524b2ce2-27aa-41d1-8de4-1e67bd7c7517

it works…

i tried with diffrent AgentStrings, but it resolved always the same failure.

When i try on the old API www.floriax.de and change it to “get desktop version” it works fine…

I haven’t touched Android development for some time but the web browser has its’ own update cycle independent of the OS version (IIRC).

I cannot guarantee what older browser versions work but that error is strange and could possibly be caused by some ES6 syntax, we did use babel to transpile for older browsers (incl. IE11) but this might not curently be the case.