如果应用程序已经安装,如何直接从deeplink打开应用程序?

gk7wooem  于 2021-07-12  发布在  Java
关注(0)|答案(0)|浏览(197)

我想直接打开应用程序,而不给propmt打开浏览器或打开应用程序。
我跟踪了stackoverflow上的一些链接,做了他们所做的事情,但仍然没有运气。
请帮忙把它修好。

<activity
            android:name="com.zappfresh.android.Activity.login.SplashActivity"
            android:label="Zappfresh"
            android:launchMode="singleTask"
            android:screenOrientation="portrait">
            <intent-filter android:autoVerify="true">
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.DEFAULT" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
            <intent-filter android:autoVerify="true">
                <action android:name="android.intent.action.VIEW" />

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data
                    android:host="zappfresh.onelink.me"
                    android:pathPrefix="/T0HX"
                    android:scheme="https" />
            </intent-filter>
        </activity>

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题