2

I am trying to make my android app open when the user presses on a link to our website. I was following this documentation but it is not working for me as it always opens the browser instead of asking if I would like to continue with the browser or the app. What am I doing wrong?

here is my manifest

 <activity android:name=".presentation.MainActivity" android:exported="true" android:label="@string/app_name" android:theme="@style/Theme.LegendaryCollectionsAndroid.NoActionBar" android:allowTaskReparenting="true" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <intent-filter> <action android:name="android.intent.action.VIEW"></action> <category android:name="android.intent.category.DEFAULT"></category> <category android:name="android.intent.category.BROWSABLE"></category> <data android:host="www.legendarycollections.net" android:path="/reset" android:scheme="https"></data> </intent-filter> </activity> 
1

1 Answer 1

1

check your website association here.

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

the tool was a good recommendation but the file generator is broken so I used this instead developers.google.com/digital-asset-links/tools/generator waiting for my web dev to publish the file to see if it works
Yes. Both are OK.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.