I have added deep links to all of my activities like this.
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE"/>
<category android:name="android.intent.category.DEFAULT"/>
<data
android:host="www.example.com"
android:path="/stores"
android:scheme="https" />
</intent-filter>
This works fine when I am calling within app using uri like this:
android-app://com.example.app/https/www.example.com/stores
But when I am visiting mobile site to this pages it gives me multiple options to open page in app or browser: https://www.example.com/stores. I have some pages which show only when user is logged in but if user logins from mobile site it will redirect to app and it breaks. I don't want to use custom schema.