在Android 6.0.1中Cordova相机插件权限拒绝

时间:2016-12-21 19:15:03

标签: cordova ionic-framework cordova-plugins android-permissions

我遇到了同样的问题 Cordova camera plugin permission denial in android 6.0以下错误

Permission Denial: starting Intent { act=android.media.action.IMAGE_CAPTURE flg=0x3 cmp=com.sec.android.app.camera/.Camera VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} clip={text/uri-list U:file:///storage/emulated/0/Android/data/com.microsoft.dynamics365.operations.mobile/cache/.Pic.jpg} (has extras) } from ProcessRecord{2da888 23552:com.microsoft.dynamics365.operations.mobile/u0a70} (pid=23552, uid=10070) with revoked permission android.permission.CAMERA

这是Cordova混合应用离子框架。以下是版本

cordova版本:6.3.1, cordova-plugin-camera 2.1.1" Camera", android版本6.0.1。

0 个答案:

没有答案