I just finished setting up App Indexing for my website's Android app and I did a few tests by passing https://www.example.com/test and https://example.com/test according to the instructions specified in https://developers.google.com/app-indexing/android/test (Testing URLs with Android Studio)
This is my intent filter in my Android Manifest:
<intent-filter android:label="@string/filter_title_default">
<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="example.com"
android:pathPrefix="/test" />
</intent-filter>
I noticed that https://www.example.com/test fails, but not https://example.com/test. How do I fix this, other than specifying another intent filter for www.example.com/test?