You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This flow of document picker isnt working, i've downloaded the app using my Work Profile, trying to access a document via Google Drive inside the picker, if i choose a personal profile other than my Work Profile Account, the picker returns a native error like the following
2023-12-14 12:14:24.440 28368-29009/? E/DatabaseUtils: Writing exception to parcel
java.lang.SecurityException: Package com.app.main does not belong to 1111246
at android.app.AppOpsManager.checkPackage(AppOpsManager.java:8803)
at android.content.ContentProvider.getCallingAttributionSource(ContentProvider.java:1096)
at android.content.ContentProvider.getCallingPackage(ContentProvider.java:1076)
at hpd.d(PG:2)
at hpd.openDocument(PG:43)
at android.provider.DocumentsProvider.openAssetFile(DocumentsProvider.java:1334)
at android.provider.DocumentsProvider.openTypedAssetFileImpl(DocumentsProvider.java:1444)
at android.provider.DocumentsProvider.openTypedAssetFile(DocumentsProvider.java:1376)
at android.content.ContentProvider$Transport.openTypedAssetFile(ContentProvider.java:562)
at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:327)
at android.os.Binder.execTransactInternal(Binder.java:1215)
at android.os.Binder.execTransact(Binder.java:1179)
2023-12-14 12:14:24.441 27221-27221/? E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.app.main, PID: 27221
java.lang.SecurityException: Package com.app.main does not belong to 1111246
at android.os.Parcel.createExceptionOrNull(Parcel.java:2438)
at android.os.Parcel.createException(Parcel.java:2422)
at android.os.Parcel.readException(Parcel.java:2405)
at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:190)
at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:153)
at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:780)
at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2034)
at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1849)
at android.content.ContentResolver.openInputStream(ContentResolver.java:1525)
at org.wonday.pdf.PdfView.drawPdf(PdfView.java:236)
at org.wonday.pdf.RCTPdfManager.onAfterUpdateTransaction(RCTPdfManager.java:131)
at org.wonday.pdf.RCTPdfManager.onAfterUpdateTransaction(RCTPdfManager.java:36)
at com.facebook.react.uimanager.ViewManager.updateProperties(ViewManager.java:50)
at com.facebook.react.uimanager.ViewManager.createViewInstance(ViewManager.java:144)
at com.facebook.react.uimanager.ViewManager.createView(ViewManager.java:77)
at com.facebook.react.uimanager.NativeViewHierarchyManager.createView(NativeViewHierarchyManager.java:281)
at com.facebook.react.uimanager.UIViewOperationQueue$CreateViewOperation.execute(UIViewOperationQueue.java:194)
at com.facebook.react.uimanager.UIViewOperationQueue$1.run(UIViewOperationQueue.java:909)
at com.facebook.react.uimanager.UIViewOperationQueue.flushPendingBatches(UIViewOperationQueue.java:1026)
at com.facebook.react.uimanager.UIViewOperationQueue.access$2600(UIViewOperationQueue.java:47)
at com.facebook.react.uimanager.UIViewOperationQueue$DispatchUIFrameCallback.doFrameGuarded(UIViewOperationQueue.java:1086)
at com.facebook.react.uimanager.GuardedFrameCallback.doFrame(GuardedFrameCallback.java:29)
at com.facebook.react.modules.core.ReactChoreographer$ReactChoreographerDispatcher.doFrame(ReactChoreographer.java:175)
at com.facebook.react.modules.core.ChoreographerCompat$FrameCallback$1.doFrame(ChoreographerCompat.java:85)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1106)
at android.view.Choreographer.doCallbacks(Choreographer.java:866)
at android.view.Choreographer.doFrame(Choreographer.java:792)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1092)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:226)
at android.os.Looper.loop(Looper.java:313)
at android.app.ActivityThread.main(ActivityThread.java:8663)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:567)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1135)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This flow of document picker isnt working, i've downloaded the app using my Work Profile, trying to access a document via Google Drive inside the picker, if i choose a personal profile other than my Work Profile Account, the picker returns a native error like the following
Beta Was this translation helpful? Give feedback.
All reactions