Phonegap(3.0.0) Camera not successful on first try

前端 未结 6 2171
温柔的废话
温柔的废话 2021-02-15 17:21

For testing purposes I copied the full example found on the phonegap camera API and I put an alert on onPhotoDataSuccess to test when the function is fired. On the

6条回答
  •  孤独总比滥情好
    2021-02-15 17:54

    I met the same problem and solved it. Because you import two "cordova.js" in your app, and maybe one is in the iframe. you can use "parent.cordova" in iframe instead.

提交回复
热议问题