0

For my users, I send a verification email in Firebase. The link that I receive is:

https://myprojectid.firebaseapp.com/...

When a user clicks the link I want to open my app and navigate to a specific screen. So here is what I have tried. Inside the manifest file I have:

<activity
    android:name=".MainActivity"
    android:exported="true">

    <intent-filter>
        <action android:name="android.intent.action.MAIN" />

        <category android:name="android.intent.category.LAUNCHER" />
    </intent-filter>

    <intent-filter android:autoVerify="true">
        <action android:name="android.intent.action.VIEW" />
        <category android:name="android.intent.category.DEFAULT" />
        <category android:name="android.intent.category.BROWSABLE" />

        <data android:scheme="https" android:host="myprojectid.firebaseapp.com"/>
    </intent-filter>
</activity>

When I click the URL, the app opens, but it doesn't consume the click, and the email isn't verified. How to overcome this situation? Any help would be greatly appreciated.

Joan P.
  • 2,368
  • 6
  • 30
  • 63

0 Answers0