How to have app links (Android) url with no "www" & "https" prefix

Viewed 119

I have a working app link feature on my android app built using React native. The issue is that the current link looks something like this https://www.example.xyz/something/ and the following is the intent filter used for the same

  <data android:scheme="https"
        android:host="www.example.xyz"
        android:pathPrefix="/something"
  />

on clicking on the above given link it opens the app. But I would like to know how I can remove prefix "www" & "https" from the app link so that it still opens the app. I have tried removing the "www" & "https" from the tag mentioned above but all it does is, not open the app. I went through the documentation here https://developer.android.com/training/app-links/deep-linking Nothing mentions there on how to do it and in fact all of the example links mentioned over there has "www" in them.

1 Answers
Related