Error when running example on mobile browser



  • Hi,

    I’ve downloaded the quickstart example for Onsen v2. When I run it in the web browser it works perfectly but when I try it on a mobile browser it says:

    Uncaught illegal access ons.js:207
    Uncaught TypeError: Cannot read property 'lock' of undefined angular-onsenui.js:357
    

    However, it also works when I simulate “mobile” with Google Developer Tools.

    Anyone with similar problem? Thank you!

    / Marcus


Log in to reply