Running Ionic at cca throw “Cannot read property 'Keyboard' of undefined” @ app.js:14

前端 未结 3 1337
南笙
南笙 2021-01-18 10:21

The following is what I did to setup Ionic in Chrome App for Mobile:

  1. Created a Chrome App for Mobile project - cca create projectname
  2. Cr
3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-18 10:44

    It sounds like you're not running this as an actual build -- are you using CADT? Even if you're testing with CADT on a device you will still NOT get window.cordova.plugins. Once you build the project with cca build and then install the apk on a device then the window.cordova.plugins will be defined.

    Hatzlacha

提交回复
热议问题