Cordova 2.9, 3.0 no console.log

前端 未结 4 1933
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 06:27

With a fresh download of Cordova 2.9 and the Cordova CLI, I created Hello World application via the CLI. I also added the iOS platform via the CLI. Looking in the index.js file

4条回答
  •  Happy的楠姐
    2021-02-05 07:05

    The console functionality is now implemented as a plugin, which you need to manually add to your project:

    $ cordova plugin add https://git-wip-us.apache.org/repos/asf/cordova-plugin-console.git
    

提交回复
热议问题