FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

Firebase App Indexing and FirebaseUI Auth - Apple Integration - fail to open brower

Open RachitTechnology opened this issue 5 years ago • 0 comments

Step 2: Describe your environment

  • Android device: All
  • Android OS version: all
  • Google Play Services version: latest
  • Firebase/Play Services SDK version: latest
  • FirebaseUI version: firebase-ui-auth:6.3.0

Step 3: Describe the problem:

Firebase App Indexing and FirebaseUI Auth - Apple Integration - fail to open brower

Steps to reproduce:

  1. Follow instructions to include firebase App Indexing within app - https://firebase.google.com/docs/app-indexing 1a - This will create your app default opening links as ****.firebaseapp.com
  2. Integrate Apple sign-in option ( while submitting link on apple - link is same as ****.firebaseapp.com)
  3. In debug version - when clicked on login - It opens up browser and user is able to login
  4. In release mode. When clicked on login. It opens up app again. That is because of app indexing code. Open Supported links is set to open in this app.
  5. How to fix this on individual phone- Goto App Settings -> Opening Links ( Ask every time / don't open in this app)

Observed Results:

When clicked on login. It opens up app again. That is because of app indexing code. Open Supported links is set to open in this app.

Expected Results:

When clicked on login. Open browser and user to login using apple auth details

Relevant Code:

Sample code given on app integration https://firebase.google.com/docs/auth/android/apple Code works fine if removed app indexing code or removed opening links...

RachitTechnology avatar Sep 07 '20 14:09 RachitTechnology