I’m trying to get a web URL to open / launch an activity for my application, but it isn’t working. The URL is something similar to the following:
https://zzz.yyy.com/activate?user=“123123123”&token=”absdi24″
I only need the link to be recognized up to the point of “activate”. I set my intent up as follows:
<intent-filter>
<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="zzz.yyy.com"
android:path="/activate*"/>
</intent-filter>
I have tried this code with and without the wild-card (*) at the end of the ‘path’ and nothing has worked so far. What is missing?
android:pathis a literal complete path. Tryandroid:pathPrefixorandroid:pathPattern— in this case,pathPrefixwould seem to be sufficient.