浏览器打开app指定页面,出现两个应用图标

需求是在浏览器里面直接打开app的指定页面进行操作

但是我在浏览器打开app的时候会出现两个应用图标(一个是可以跳转到指定页面进行操作的,一个直接跳转到主页面)

这样导致用户不知道选择哪个入口

 

<activity
            android:name=".scan.ScanActivity"
            android:configChanges="orientation|keyboardHidden|screenSize|smallestScreenSize|screenLayout|uiMode"
            android:exported="true"
            android:launchMode="singleTask"
            android:windowSoftInputMode="stateAlwaysHidden|adjustPan">
            <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:host="travel"
                    android:path="/scan"
                    android:scheme="my_scheme" />
            </intent-filter>

 

已经找到问题了,还有一个地方用相同的scheme (使用的deeplink,所以想了很久才发现)