Ionic Framework / Cordova Camera

后端 未结 2 1969
旧时难觅i
旧时难觅i 2020-12-12 06:09

I\'m new to Ionic / Cordova Android dev. I\'ve been trying to put in cordova camera plugin for last few days with no outcomes. Please help me out.

What I want to do

2条回答
  •  感动是毒
    2020-12-12 07:07

    You seems to missing the import for the require lib.

    http://requirejs.org/ you can use the CDN //cdnjs.cloudflare.com/ajax/libs/require.js/2.1.11/require.min.js

    Just include

    
    

    BEFORE you import the cordova.js.

    HTH

提交回复
热议问题