The android intent filter does not launch the application
<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="http"
android:host="facix.fr" />
</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="facix.fr" />
</intent-filter>
The url im being redirected to is : https://facix.fr/success
How can I change my android manifest to make the redirection on my app working ?
2
Answers
You could add the path
/success
at the element data to catch the urlTo test if your intent filter is properly configured you can use this command line.
I hope that will help you
Here the analysis of the output:
Starting: Intent {…} -> Indicates that the intent has been launched including the action
android.intent.action.VIEW
and the data:https://facix.fr/
.The warning -> Indicates that the desired activity is already running and the intent has been passed to the existing instance for processing.
To better understand what is happening, you need to check how MainActivy manages the incoming intent.
I recommend logging the intent that MainActivity receives in the OnCreate() and OnNewIntent():