Skip to content

Android OS asking which app to open the redirect with #1108

Description

@bernborgess

Issue

Similar to expo/expo#4287,

Steps to Reproduce

  • Let app.json have "scheme": "com.example.mobile", "android": { "package": "com.example.mobile" }.
  • Add a login button that calls AppAuth.authAsync against the issuer.
  • Build a standalone version of the app using expo build:android.
  • Run the app and touch the login button.
  • Complete the authentication on details.
  • Android will ask what app to use to open the redirect, but present two equal options.

Expected Behavior

Android shouldn't ask for which app to open the redirect with and the flow should continue as usual.

Issue is still happening in 2026, with latest versions:

  • react-native 0.81.5
  • expo 54.0.27
  • react-native-app-auth 8.1.0

Issue occurs in Android, with Microsoft EntraId authentication.

I don't think the "remove the scheme" fix is definitive, so this shouldn't be marked as closed IMO

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