Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Permissions errors still on Android 8.0 #53

Open
northkode opened this issue Oct 29, 2017 · 0 comments
Open

Permissions errors still on Android 8.0 #53

northkode opened this issue Oct 29, 2017 · 0 comments

Comments

@northkode
Copy link

I have tried everything but i'm still getting permissions for this plugin now on android 8.0

here is the log

10-29 12:44:46.841 12893-12981/com.myownvoice.app E/PERMISSIONS: write true
10-29 12:44:46.841 12893-12981/com.myownvoice.app E/PERMISSIONS: read true
10-29 12:44:46.841 12893-12981/com.myownvoice.app E/PERMISSIONS: camera true
10-29 12:44:46.841 12893-12981/com.myownvoice.app E/PERMISSIONS: record true
10-29 12:44:46.841 12893-12981/com.myownvoice.app E/PERMISSIONS: [] -> permissions
10-29 12:44:46.858 12893-12981/com.myownvoice.app E/PluginManager: Uncaught exception from plugin
                                                                   java.lang.SecurityException: Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/video/media from pid=12893, uid=10153 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()
                                                                       at android.os.Parcel.readException(Parcel.java:1942)
                                                                       at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
                                                                       at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
                                                                       at android.content.ContentProviderProxy.query(ContentProviderNative.java:418)
                                                                       at android.content.ContentResolver.query(ContentResolver.java:754)
                                                                       at android.content.ContentResolver.query(ContentResolver.java:704)
                                                                       at android.content.ContentResolver.query(ContentResolver.java:662)
                                                                       at nl.xservices.plugins.videocaptureplus.VideoCapturePlus.getVideoContentUriFromFilePath(VideoCapturePlus.java:230)
                                                                       at nl.xservices.plugins.videocaptureplus.VideoCapturePlus.captureVideo(VideoCapturePlus.java:195)
                                                                       at nl.xservices.plugins.videocaptureplus.VideoCapturePlus.callCaptureVideo(VideoCapturePlus.java:152)
                                                                       at nl.xservices.plugins.videocaptureplus.VideoCapturePlus.execute(VideoCapturePlus.java:77)
                                                                       at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:95)
                                                                       at org.apache.cordova.PluginManager.exec(PluginManager.java:130)
                                                                       at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59)
                                                                       at org.crosswalk.engine.XWalkExposedJsApi.exec(XWalkExposedJsApi.java:40)
                                                                       at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
                                                                       at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:37)
                                                                       at android.os.Handler.dispatchMessage(Handler.java:105)
                                                                       at android.os.Looper.loop(Looper.java:164)
                                                                       at android.os.HandlerThread.run(HandlerThread.java:65)
10-29 12:44:46.861 12893-12893/com.myownvoice.app I/chromium: [INFO:CONSOLE(2)] "Permission Denial: reading com.android.providers.media.MediaProvider uri content://media/external/video/media from pid=12893, uid=10153 requires android.permission.READ_EXTERNAL_STORAGE, or grantUriPermission()", 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant