Exclude subdomain from intent filter

Viewed 245

I am using my app with the following 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:host="*.myhost.com"
                    android:pathPattern=".*"
                    android:scheme="https" />
 </intent-filter>

I would like to open all links with that domain in our app, except for one specific subdomain like

subdomain.myhost.com

How can I exclude the subdomain here?

0 Answers
Related