KasemJaffer / receive_sharing_intent

A Flutter plugin that enables flutter apps to receive sharing photos, text and url from other apps.
Apache License 2.0
325 stars 375 forks source link

not able to get pdf from notebloc (a doc scanner app) #174

Open TejasDhanda-L11 opened 3 years ago

TejasDhanda-L11 commented 3 years ago

I get the following error when I try to share that pdf to my app.

D/libMEOW ( 5962): applied 1 plugins for [com.example.lecture_progress]: D/libMEOW ( 5962): plugin 1: [libMEOW_gift.so]: E/libEGL ( 5962): Invalid file path for libcolorx-loader.so I/chatty ( 5962): uid=10492(com.example.lecture_progress) 2.raster identical 45 lines E/libEGL ( 5962): Invalid file path for libcolorx-loader.so E/libEGL ( 5962): Invalid file path for libcolorx-loader.so I/chatty ( 5962): uid=10492(com.example.lecture_progress) 2.raster identical 8 lines E/libEGL ( 5962): Invalid file path for libcolorx-loader.so

*also it reopens a different instance of my app, even though I tried all lauchMode: standard singleTop singleTask singleInstance

TejasDhanda-L11 commented 3 years ago

07-08 04:47:39.132 1509 4472 I ActivityTaskManager: START u0 {act=android.intent.action.SEND typ=application/pdf flg=0x1 cmp=com.example.lecture_progress/.MainActivity clip={application/pdf {...}} (has extras) mCallingUid=10265} from uid 10265 and from pid 5530 07-08 04:47:39.138 1509 4472 D ColorZoomWindowRUSConfigManager: isSupportZoomModeWithPolicyLocked: target = com.example.lecture_progress/.MainActivity 07-08 04:47:39.138 1509 4472 D ColorZoomWindowRUSConfigManager: targetPkg = com.example.lecture_progress 07-08 04:47:39.141 1509 4472 D ColorZoomWindowRUSConfigManager: isSupportZoomModeWithPolicyLocked: target = com.example.lecture_progress/.MainActivity 07-08 04:47:39.141 1509 4472 D ColorZoomWindowRUSConfigManager: targetPkg = com.example.lecture_progress 07-08 04:47:39.161 1509 4472 I ColorHansManager : ColorHansManager : resume pkg: com.example.lecture_progress, uid:10492, prev pkg: com.notebloc.app, prev uid: 10265 07-08 04:47:39.161 1509 1772 I MotorManagerService: notifyActivityChanged: mBackgroudPkg = com.notebloc.app mFocusPkg = com.example.lecture_progress mIsSplitMode = true mBackActivity = com.notebloc.app.activity.DocumentActivity mFocusActivity = com.example.lecture_progress.MainActivity 07-08 04:47:39.165 1509 2599 I ColorResourcePreloadManager: resume pkg: com.example.lecture_progress, uid:10492, prev pkg: com.notebloc.app, prev uid: 10265 07-08 04:47:39.166 748 815 I libPowerHal: [perfNotifyAppState] foreground:com.example.lecture_progress, pid:5962, uid:10492 07-08 04:47:39.167 1820 25097 W OppoGuardElf: ThermalControlUtils: mForegroundPkg=com.example.lecture_progress 07-08 04:47:39.168 748 765 I mtkpower@impl: [notifyAppState] pc:0, com.notebloc.app => com.example.lecture_progress 07-08 04:47:39.179 21659 21681 I [0]DCS-BackgroundAppData: sendAppBgEvent: has no pkgName=com.example.lecture_progress 07-08 04:47:39.181 1509 1533 E OppoThermalStats: Error getting package info: com.example.lecture_progress 07-08 04:47:39.181 1509 1533 D OomAdjuster: TOP_APP is ProcessRecord{a463b55 5962:com.example.lecture_progress/u0a492} uid is 10492 07-08 04:47:39.182 5962 8518 D libMEOW : applied 1 plugins for [com.example.lecture_progress]: 07-08 04:47:39.206 1820 25097 W OppoGuardElf: ThermalControlUtils: mForegroundPkg=com.example.lecture_progress 07-08 04:47:39.213 5962 8521 D libMEOW : applied 1 plugins for [com.example.lecture_progress]: 07-08 04:47:39.214 5962 8521 I chatty : uid=10492(com.example.lecture_progress) 3.io identical 1 line 07-08 04:47:39.216 5962 8521 I chatty : uid=10492(com.example.lecture_progress) 3.io identical 11 lines 07-08 04:47:39.221 5962 8521 I chatty : uid=10492(com.example.lecture_progress) 3.io identical 20 lines 07-08 04:47:39.221 5962 8521 I chatty : uid=10492(com.example.lecture_progress) 3.io identical 1 line 07-08 04:47:39.221 5962 8521 I chatty : uid=10492(com.example.lecture_progress) 3.io identical 5 lines 07-08 04:47:39.222 5962 8521 I chatty : uid=10492(com.example.lecture_progress) 3.io identical 4 lines 07-08 04:47:39.228 1509 4472 I AppsFilter: interaction: PackageSetting{67e96db com.example.lecture_progress/10492} -> PackageSetting{ac4f45c com.anydesk.anydeskandroid/10405} BLOCKED 07-08 04:47:39.240 3421 3421 E oiface : packageSwitch pkg com.example.lecture_progress, enter 07-08 04:47:39.240 3421 3421 E oiface : current package is com.example.lecture_progress and pid is 5962 07-08 04:47:39.263 3421 3431 D oiface : forground package is com.example.lecture_progress 07-08 04:47:39.268 776 1978 I SurfaceFlinger: [SF client] NEW(0xb40000725d55dec0) for (5962:com.example.lecture_progress) 07-08 04:47:39.318 776 869 I SurfaceFlinger: [SF client] NEW(0xb40000724d937200) for (5962:com.example.lecture_progress) 07-08 04:47:39.335 1509 3923 D OppoDisplayPolicy: com.example.lecture_progress, no change cutoutMode: 0 07-08 04:47:39.339 5962 5962 I chatty : uid=10492(com.example.lecture_progress) identical 4 lines 07-08 04:47:39.353 1509 3923 D OppoDisplayPolicy: com.example.lecture_progress, no change cutoutMode: 0 07-08 04:47:39.353 1509 3923 I WindowManager: Relayout Window{b4551e4 u0 com.example.lecture_progress/com.example.lecture_progress.MainActivity}: oldVis=4 newVis=0 focusMayChange = true 07-08 04:47:39.358 1509 3923 W WindowManager: Changing focus fromnull to Window{b4551e4 u0 com.example.lecture_progress/com.example.lecture_progress.MainActivity} displayId=0 Callers=com.android.server.wm.RootWindowContainer.updateFocusedWindowLocked:495 com.android.server.wm.WindowManagerService.updateFocusedWindowLocked:6056 com.android.server.wm.WindowManagerService.relayoutWindow:2700 com.android.server.wm.Session.relayout:229 07-08 04:47:39.367 776 1366 I BufferQueueProducer: [com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](id:30800004fef,api:1,p:5962,c:776) connect(): api=1 producerControlledByApp=false 07-08 04:47:39.375 5962 8520 D libMEOW : applied 1 plugins for [com.example.lecture_progress]: 07-08 04:47:39.375 776 1366 I BufferQueueProducer: [SurfaceView - com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](id:30800004ff0,api:1,p:5962,c:776) connect(): api=1 producerControlledByApp=false 07-08 04:47:39.377 5962 8520 I chatty : uid=10492(com.example.lecture_progress) 3.raster identical 13 lines 07-08 04:47:39.378 5962 8520 I chatty : uid=10492(com.example.lecture_progress) 3.raster identical 3 lines 07-08 04:47:39.378 1509 3923 I InputDispatcher: Window went away: com.example.lecture_progress/com.example.lecture_progress.MainActivity#0 07-08 04:47:39.380 5962 8520 I chatty : uid=10492(com.example.lecture_progress) 3.raster identical 35 lines 07-08 04:47:39.760 776 869 D DispPerfService: onframeavailable pid=5962, slot=0, seq=111496, name=com.example.lecture_progress:com.example.lecture_progress/com.example.lecture_progress.MainActivity#0 07-08 04:47:39.768 1509 1534 D ColorZoomWindowManagerService: adjustWindowCropForLeash start: appToken = ActivityRecord{df59e24 u0 com.example.lecture_progress/.MainActivity t2088} 07-08 04:47:39.774 1509 1545 D ArtManagerInternalImpl: /data/misc/iorapd/com.example.lecture_progress/1/com.example.lecture_progress.MainActivity/compiled_traces/compiled_trace.pb doesn't exist 07-08 04:47:39.775 1509 1545 I ActivityTaskManager: Displayed com.example.lecture_progress/.MainActivity: +642ms 07-08 04:47:39.779 1509 4472 I InputDispatcher: Focus entered window: Window{b4551e4 u0 com.example.lecture_progress/com.example.lecture_progress.MainActivity} in display 0 07-08 04:47:39.789 1509 1523 D InputMethodManagerService: isSecurity: attribute.packageName=com.example.lecture_progress 07-08 04:47:39.797 776 776 E OppoExLayer: using cid as pid, cid=5962, name=Background for -SurfaceView - com.example.lecture_progress/com.example.lecture_progress.MainActivity#0 07-08 04:47:40.048 1509 1534 V ColorZoomWindowManagerService: onAnimationFinished: r = ActivityRecord{df59e24 u0 com.example.lecture_progress/.MainActivity t2088} 07-08 04:47:40.048 1509 1534 I ColorAppSwitchManagerService: handleAppVisible , r = ActivityRecord{df59e24 u0 com.example.lecture_progress/.MainActivity t2088} 07-08 04:47:40.063 776 776 D OppoExLayer: ~Layer() sequence=111503, name=Surface(name=ActivityRecord{df59e24 u0 com.example.lecture_progress/.MainActivity)/@0x9f0ea26 - animation-bounds#0@0xb40000724dec2000 07-08 04:47:40.063 776 776 D OppoExLayer: ~Layer() sequence=111502, name=Surface(name=ActivityRecord{df59e24 u0 com.example.lecture_progress/.MainActivity)/@0x9f0ea26 - animation-leash#0@0xb40000724deba000 07-08 04:47:41.211 1509 3923 D OppoDisplayPolicy: com.example.lecture_progress, no change cutoutMode: 0 07-08 04:47:41.231 776 1366 I BufferQueueProducer: [SurfaceView - com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](id:30800004ff0,api:1,p:5962,c:776) disconnect(): api=1 07-08 04:47:41.233 776 1366 I BufferQueueProducer: [SurfaceView - com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](id:30800004ff0,api:1,p:5962,c:776) connect(): api=1 producerControlledByApp=false 07-08 04:47:41.246 776 1366 I BufferQueueProducer: [com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](this:0xb4000072fe6ee658,id:20463,api:1,p:5962,c:776) queueBuffer: fps=0.67 dur=1486.47 max=1486.47 min=1486.47 07-08 04:47:41.266 776 1978 I BufferQueueProducer: [com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](id:30800004fef,api:1,p:5962,c:776) disconnect(): api=1 07-08 04:47:41.266 776 1978 I BufferQueueProducer: [com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](id:30800004fef,api:1,p:5962,c:776) connect(): api=1 producerControlledByApp=false 07-08 04:47:41.760 776 1978 D DispPerfService: onframeavailable pid=5962, slot=0, seq=111500, name=com.example.lecture_progress:SurfaceView - com.example.lecture_progress/com.example.lecture_progress.MainActivity#0 07-08 04:47:41.762 1509 1545 I ActivityTaskManager: Fully drawn com.example.lecture_progress/.MainActivity: +2s633ms 07-08 04:47:42.257 776 868 I BufferQueueProducer: [com.example.lecture_progress/com.example.lecture_progress.MainActivity#0](this:0xb4000072fe6ee658,id:20463,api:1,p:5962,c:776) queueBuffer: fps=50.41 dur=1011.66 max=181.68 min=7.18 07-08 04:48:17.153 776 776 D OppoExSurfaceFlinger: hecate traverse disp:111500,SurfaceView - com.example.lecture_progress/com.example.lecture_progress.MainActivity#0,4 07-08 04:48:17.154 776 776 D OppoExSurfaceFlinger: hecate traverse disp:111496,com.example.lecture_progress/com.example.lecture_progress.MainActivity#0,55 07-08 04:48:17.154 776 776 D OppoExSurfaceFlinger: hecate traverse disp:111500,SurfaceView - com.example.lecture_progress/com.example.lecture_progress.MainActivity#0,4 07-08 04:48:17.154 776 776 D OppoExSurfaceFlinger: hecate traverse disp:111496,com.example.lecture_progress/com.example.lecture_progress.MainActivity#0,55

this is from adb logcat | grep "lecture_progress" not sure if this helps but someone somwhow used this information to solve the problem https://stackoverflow.com/questions/67135912/app-crashes-with-unknown-errors-after-setting-minifyenabled-kotlin