Ionic/Cordova: How to integrate Cordova Plugins into existing Ionic project?

后端 未结 7 2396
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-19 07:05

I have an Ionic project where I need the Cordova Camera plugin (which I now installed successfully). But in my project the Camera API is still not available, i.e. I get error th

7条回答
  •  无人及你
    2021-02-19 07:33

    Go to the project directory.

    Run this command:

    $ ionic integrations enable cordova --quiet

    (Hope this helps others.)

提交回复
热议问题