<...">

Exclude subdomain from intent filter

I am using my application 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 this domain in our application except for one specific subdomain like

subdomain.myhost.com

      

How can I exclude a subdomain here?

+3


source to share





All Articles