Try to put all your JS code inside the ons.ready
function and see how it goes.
Best posts made by Andi
-
RE: app does not display content
-
RE: Monaca/Cordova Splashscreens
If I remember correctly, the splash screen files are not displayed on Monaca Debugger. You need to perform a debug/release/etc. build in order to correctly display them.
-
RE: "monaca debug" issues in vue-cordova-webpack template
@denious I tried in the same environment as your and had no problems at all.
Could you please tell us the following information:- Device name
- Os version
- Monaca Debugger version
Here is some info that may help to solve the issue.
- Try to create the project once again in a new directory, making sure it’s not a subdirectory of another Cordova/Monaca project.
- Make sure your firewall is correctly set to allow Monaca CLI/Node connections.
-
RE: CSS/JS Not Loading in iOS Debugger
@steveracine how are you running the debugger, via Internet or in local using Localkit/CLI? If in local, are you using WiFi or USB connection? (I would say the second one as you are talking about
inspector
) -
RE: Cannot create angular 2 app with monaca
Angular 2 templates are not ready yet. We will include them soon.
-
RE: About monaca backend login function
@soulard you can set the maximum number of validity to 525600 minutes, which is the equivalent of one year. I guess it’s enough :)
Regarding the second feature, it’s not natively available on Monaca and we are not planning to implement it as it would take time and resources (which are actually being used to implement other features) and it’s not usually requested by our users (except you, ofc).