Regarding how to run the source using Onsen UI in Chrome on Android (unchecked "View PC Site").

Asked 2 years ago, Updated 2 years ago, 110 views

We are considering using Onsen UI to develop hybrid and web apps.

When I put the source of the template (Sliding Menu) in Monaca on the Node server and ran it on Android Chrome, it didn't work well when I unchecked "View PC Site". (The screen turned white)

Is there any way to avoid this?

Thank you for your cooperation.

onsen-ui

2022-09-30 18:40

1 Answers

I'm sorry, but I had a hard time using the Developer Tool on Chrome on Android.
(They didn't recognize it as a Windows device, so I finally recognized it on my Mac and checked it on the Developer Tool.)

There was an error in the split used in line 15 in loader.
(Error: UnUncaught TypeError: Cannot read property's split' of undefined ))

Therefore, it seems that the js file such as onsenui.min.js could not be loaded.
When I tried to specify the js file directly in index.html, it started to work.

At the moment, we do not know why there is an error in the corresponding part.
If there are any precedents or workarounds, please let me know.
(If not, I would like to proceed by specifying the js file directly this time.)

Error points


2022-09-30 18:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.