You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "sithwarrior (via GitHub)" <gi...@apache.org> on 2023/10/30 08:40:08 UTC

Re: [I] Cordova-plugin-camera crashes app on android devices [cordova-plugin-camera]

sithwarrior commented on issue #660:
URL: https://github.com/apache/cordova-plugin-camera/issues/660#issuecomment-1784722147

   Im still seeing some instances of this error on Android devices, even with the latest release of this plugin and Cordova-android
   
   `android.app.RecoverableSecurityException$1.createFromParcel`
   
   ```
   Exception java.lang.RuntimeException:
     at android.app.ActivityThread.deliverResults (ActivityThread.java:5994)
     at android.app.ActivityThread.handleSendResult (ActivityThread.java:6033)
     at android.app.servertransaction.ActivityResultItem.execute (ActivityResultItem.java:67)
     at android.app.servertransaction.ActivityTransactionItem.execute (ActivityTransactionItem.java:45)
     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:2574)
     at android.os.Handler.dispatchMessage (Handler.java:106)
     at android.os.Looper.loopOnce (Looper.java:226)
     at android.os.Looper.loop (Looper.java:313)
     at android.app.ActivityThread.main (ActivityThread.java:8762)
     at java.lang.reflect.Method.invoke
     at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:604)
     at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1067)
   Caused by android.app.RecoverableSecurityException:
     at android.app.RecoverableSecurityException$1.createFromParcel (RecoverableSecurityException.java:197)
     at android.app.RecoverableSecurityException$1.createFromParcel (RecoverableSecurityException.java:194)
     at android.os.Parcel.readParcelableInternal (Parcel.java:4787)
     at android.os.Parcel.readParcelable (Parcel.java:4755)
     at android.os.Parcel.createExceptionOrNull (Parcel.java:3018)
     at android.os.Parcel.createException (Parcel.java:3007)
     at android.os.Parcel.readException (Parcel.java:2990)
     at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:190)
     at android.database.DatabaseUtils.readExceptionFromParcel (DatabaseUtils.java:142)
     at android.content.ContentProviderProxy.delete (ContentProviderNative.java:629)
     at android.content.ContentResolver.delete (ContentResolver.java:2340)
     at android.content.ContentResolver.delete (ContentResolver.java:2306)
     at org.apache.cordova.camera.CameraLauncher.checkForDuplicateImage (CameraLauncher.java:1277)
     at org.apache.cordova.camera.CameraLauncher.cleanup (CameraLauncher.java:1242)
     at org.apache.cordova.camera.CameraLauncher.processResultFromCamera (CameraLauncher.java:626)
     at org.apache.cordova.camera.CameraLauncher.onActivityResult (CameraLauncher.java:877)
     at org.apache.cordova.CordovaInterfaceImpl.onActivityResult (CordovaInterfaceImpl.java:160)
     at org.apache.cordova.CordovaActivity.onActivityResult (CordovaActivity.java:375)
     at android.app.Activity.dispatchActivityResult (Activity.java:8951)
     at android.app.ActivityThread.deliverResults (ActivityThread.java:5987)
   
   ```
   
   according to the Google Play Console, its happening on different devices on Android 13
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

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