You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/05/05 08:52:24 UTC

[GitHub] [cordova-plugin-camera] delvinwidjaja edited a comment on issue #660: Cordova-plugin-camera crashes app on android devices

delvinwidjaja edited a comment on issue #660:
URL: https://github.com/apache/cordova-plugin-camera/issues/660#issuecomment-832524800


   @PieterVanPoyer sorry for the late reply,  this is what I got from the log
   
   ```
   java.lang.RuntimeException: Failure delivering result ResultInfo{who=null, request=34, result=-1, data=null} to activity {de.myapp/de.myapp.MainActivity}: android.app.RecoverableSecurityException: de.myapp has no access to content://media/external/images/media/97
           at android.app.ActivityThread.deliverResults(ActivityThread.java:4877)
           at android.app.ActivityThread.handleSendResult(ActivityThread.java:4918)
           at android.app.servertransaction.ActivityResultItem.execute(ActivityResultItem.java:51)
           at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
           at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
           at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2045)
           at android.os.Handler.dispatchMessage(Handler.java:107)
           at android.os.Looper.loop(Looper.java:214)
           at android.app.ActivityThread.main(ActivityThread.java:7399)
           at java.lang.reflect.Method.invoke(Native Method)
           at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:502)
           at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:980)
   Caused by: android.app.RecoverableSecurityException: de.myapp has no access to content://media/external/images/media/97
   
   ````
   Btw I tested it with the front camera and it logged the same error. 
   
   Cordova-plugin-camera : v.5.0.1
   tested on Android 10 Devices


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org