title: Android deeplink per flavor
body: <p>I have multiple deeplink schemes for different app flavors. I have a backend which sends a different scheme per app. If all of them are installed on the same device, all of them will be able to parse the deeplink sent. So when all three are installed and the deeplink for app2 is called. All apps are able to catch it, but only app2 can properly process it in the app and should be the only one able catch it.</p>
  
  <p>Flavors defined in my .gradle file</p>
  
  <pre><code>productFlavors {
      app1{
          applicationId "com.apps.app1"
      }
      app2{
          applicationId "com.apps.app2"
      }
      app3{
          applicationId "com.apps.app3"
      }
  }
  </code></pre>
  
  <p>The intent filter I use to catch the deeplinks in my manifest.</p>
  
  <pre><code>&lt;intent-filter&gt;
      &lt;action android:name="android.intent.action.VIEW" /&gt;
      &lt;category android:name="android.intent.category.DEFAULT" /&gt;
      &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
      &lt;data
          android:pathPrefix="/"
          android:scheme="app1" /&gt;
      &lt;data
          android:pathPrefix="/"
          android:scheme="app2" /&gt;
      &lt;data
          android:pathPrefix="/"
          android:scheme="app3" /&gt;
  &lt;/intent-filter&gt;
  </code></pre>
  
  <p>Is there a way to make a deeplink only catch-able by one flavor?</p>