Skip to content

ActivityNotFoundException when the default browser is disabled/uninstalled #459

Description

@fkose696

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.

There should be a check before resolving the activity in onResume to check if the particular intent is available (installed & enabled) or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions