首页 > 解决方案 > 如果已经安装了应用程序,如何直接从深度链接打开应用程序?

问题描述

我想直接打开应用程序而不用浏览器打开或用应用程序打开。

我按照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>

标签: javaandroiddeep-linkingappsflyer

解决方案


推荐阅读