SumSubstance / idensic-mobile-sdk-sample-android

11 stars 5 forks source link

ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT typ=*/* (has extras) } #16

Closed expcapitaldev closed 4 months ago

expcapitaldev commented 11 months ago

SDK version: 1.27.0 , see https://developers.sumsub.com/msdk/plugins/cordova/changelog.html

Stack Trace: android.app.Instrumentation in checkStartActivityResult at line 2174 android.app.Instrumentation in execStartActivity at line 1805 android.app.Activity in startActivityForResult at line 5596 androidx.activity.ComponentActivity in startActivityForResult at line 728 androidx.core.app.ActivityCompat$Api16Impl in startActivityForResult at line 809 androidx.core.app.ActivityCompat in startActivityForResult at line 246 androidx.activity.ComponentActivity$2 in onLaunch at line 243 androidx.activity.result.ActivityResultRegistry$3 in launch at line 246 androidx.activity.result.ActivityResultLauncher in launch at line 47 com.sumsub.sns.core.android.PickerLifecycleObserver in a at line 27 com.sumsub.sns.camera.b in s at line 1 com.sumsub.sns.camera.b in t at line 7 com.sumsub.sns.camera.b in a at line 3 com.sumsub.sns.camera.b$b in a at line 1 com.sumsub.sns.camera.b$b in invoke at line 1 com.sumsub.sns.core.common.k in a at line 5 com.sumsub.sns.core.common.k in $r8$lambda$F2Wckv-5x7k3TXuxnU3IBI02ZGI com.sumsub.sns.core.common.k$$ExternalSyntheticLambda0 in onClick at line 2 android.view.View in performClick at line 7892 android.view.View in performClickInternal at line 7869 android.view.View in -$$Nest$mperformClickInternal android.view.View$PerformClick in run at line 30891 android.os.Handler in handleCallback at line 942 android.os.Handler in dispatchMessage at line 99 android.os.Looper in loopOnce at line 226 android.os.Looper in loop at line 313 android.app.ActivityThread in main at line 8762 java.lang.reflect.Method in invoke com.android.internal.os.RuntimeInit$MethodAndArgsCaller in run at line 604 com.android.internal.os.ZygoteInit in main at line 1067

expcapitaldev commented 11 months ago

RuntimeException Failure delivering result ResultInfo{who=@android:requestPermissions:, request=524617830, result=-1, data=Intent { act=android.content.pm.action.REQUEST_PERMISSIONS (has extras) }} to activity {com.capital.trading/com.sumsub.sns.presentation.screen.SNSAppActivity}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT typ=*/* (has extras) }

android.app.ActivityThread in deliverResults at line 5994 android.app.ActivityThread in handleSendResult at line 6033 android.app.servertransaction.ActivityResultItem in execute at line 67 android.app.servertransaction.ActivityTransactionItem in execute at line 45 android.app.servertransaction.TransactionExecutor in executeCallbacks at line 135 android.app.servertransaction.TransactionExecutor in execute at line 95 android.app.ActivityThread$H in handleMessage at line 2574 android.os.Handler in dispatchMessage at line 106 android.os.Looper in loopOnce at line 226 android.os.Looper in loop at line 313 android.app.ActivityThread in main at line 8762 java.lang.reflect.Method in invoke com.android.internal.os.RuntimeInit$MethodAndArgsCaller in run at line 604 com.android.internal.os.ZygoteInit in main at line 1067

ActivityNotFoundException No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT typ=/ (has extras) }

android.app.Instrumentation in checkStartActivityResult at line 2174 android.app.Instrumentation in execStartActivity at line 1805 android.app.Activity in startActivityForResult at line 5596 androidx.activity.ComponentActivity in startActivityForResult at line 728 androidx.core.app.ActivityCompat$Api16Impl in startActivityForResult at line 809 androidx.core.app.ActivityCompat in startActivityForResult at line 246 androidx.activity.ComponentActivity$2 in onLaunch at line 243 androidx.activity.result.ActivityResultRegistry$3 in launch at line 246 androidx.activity.result.ActivityResultLauncher in launch at line 47 com.sumsub.sns.core.android.PickerLifecycleObserver in a at line 27 com.sumsub.sns.camera.b in s at line 1 com.sumsub.sns.camera.b in a at line 9 com.sumsub.sns.camera.b in a at line 4 com.sumsub.sns.camera.b in $r8$lambda$etshnOD3JGzsdSoCjp-FdH2o3Is com.sumsub.sns.camera.b$$ExternalSyntheticLambda0 in onActivityResult at line 4 androidx.activity.result.ActivityResultRegistry in doDispatch at line 418 androidx.activity.result.ActivityResultRegistry in dispatchResult at line 375 androidx.activity.ComponentActivity in onRequestPermissionsResult at line 818 androidx.fragment.app.FragmentActivity in onRequestPermissionsResult at line 636 android.app.Activity in dispatchRequestPermissionsResult at line 9124 android.app.Activity in dispatchActivityResult at line 8955 android.app.ActivityThread in deliverResults at line 5987 android.app.ActivityThread in handleSendResult at line 6033 android.app.servertransaction.ActivityResultItem in execute at line 67 android.app.servertransaction.ActivityTransactionItem in execute at line 45 android.app.servertransaction.TransactionExecutor in executeCallbacks at line 135 android.app.servertransaction.TransactionExecutor in execute at line 95 android.app.ActivityThread$H in handleMessage at line 2574 android.os.Handler in dispatchMessage at line 106 android.os.Looper in loopOnce at line 226 android.os.Looper in loop at line 313 android.app.ActivityThread in main at line 8762 java.lang.reflect.Method in invoke com.android.internal.os.RuntimeInit$MethodAndArgsCaller in run at line 604 com.android.internal.os.ZygoteInit in main at line 1067

olkazmin commented 10 months ago

can you specify a device that meets such situation?

expcapitaldev commented 10 months ago

Android 13 SM-A127F

olkazmin commented 10 months ago

A crash will be fixed though it seems that this devices lacks the required system app

expcapitaldev commented 10 months ago

can you share more info about required system app ? for example name of something else

olkazmin commented 10 months ago

The app that provides the activity for picking files. As per https://developer.android.com/training/data-storage/shared/documents-files