I want to open my Android app (specific activity) when user clicks on a link or a website redirect to that link. ex link: com.abc.efg/callback?wjiofjjfie... I have used this primitive way by adding intent filter to that particular activity but it does not work. everything opens in browser.
<activity
android:name=".UrlActivity"
android:screenOrientation="portrait"
android:exported="true">
<intent-filter>
<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"/>
<data android:host="com.abc.efg"/>
<data android:scheme="http"/>
<data android:host="com.abc.efg"/>
</intent-filter>
</activity>
i have also searched a lot and found on android documentation that from android 12 and later **we have to make this url an App Link ** refer- text so, is their another way to open the app when link clicked without making the link App link? If not, than how can I make this link an App link?