As @munsterlander said, it’s probably because you have used a third party plugin and haven’t built a new custom debugger. Nevertheless, this is an issue that occurs way too often, I’ll check how we can announce it to our users.
Feel free to disregard this request. I just couldn’t wait any longer so I wrote an object explorer in order to be able to navigate the events returned on the mobile device as they are different than in the preview.
Cordova version 6.2.0
template created with monaca create and then the wizard
Monaca debugger on Android 6.x is ok and the app runs well(paring with the wifi etc.)
to make my ios project i add a platform with monaca platform ios
then i open it with xcode and compilation goes ok, the problem is in the webview (maybe i need some permission on ios for sending to a custom protocol monaca://?)
i built with xcode instead of monaca debug because the pairing is not working and plus i need some custom plugins that are not in the monaca debugger. so i transpile with monaca and then run with xcode
- Failed to load resource: The requested URL was not found on this server. file:///var/containers/Bundle/Application/82F4DCCE-0CA6-4EA2-8F20-8B262F27F999/Gametastik.app/www/cordova_plugins.js
- TypeError: undefined is not an object (evaluating 'message.substr') sendLog - loader.js:268
- Failed to load resource: unsupported URL monaca://log?level=log&message=INIT
It’s because, as previously mentioned, our system doesn’t allow you choose iOS and Android platform version. Every Cordova version we offer comes with an hardcoded platform version. Take a look at my first reply in this topic for more info
@beebase The new templates import onsenui/stylus/blue-basic-theme.styl in src/main.jsx. That file contain the theme colors. You can make your own them following that structure or generate it with the theme roller.
Answering my question here. I was able to have monaca preview spin up from default directory by adding missing lines to project_info.json under the .monaca directory. Here is what the current file looks like when it is working.