Steps to reproduce:
- Navigate to Sign In on the app
- Go back to the previous page, background the app
- Disable/uninstall the default browser on the device
- Navigate back to the app and click on Sign In
java.lang.RuntimeException: Unable to resume activity {.../net.openid.appauth.AuthorizationManagementActivity}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=.../... pkg=com.android.chrome (has extras) }
Reproducible with all browsers.
|
startActivity(mAuthIntent); |
There should be a check before resolving the activity in onResume to check if the particular intent is available (installed & enabled) or not.
Steps to reproduce:
java.lang.RuntimeException: Unable to resume activity {.../net.openid.appauth.AuthorizationManagementActivity}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.VIEW dat=.../... pkg=com.android.chrome (has extras) }Reproducible with all browsers.
AppAuth-Android/library/java/net/openid/appauth/AuthorizationManagementActivity.java
Line 218 in f125925
There should be a check before resolving the activity in onResume to check if the particular intent is available (installed & enabled) or not.