如何从branch.io发送的消息中的Link打开应用程序?

How To open Application from the Link in the message which is sent by the branch.io?

我为在 branch.io 上注册的应用程序创建了深度 link。我使用消息发送了 url。当我点击 link 时,它会将我重定向到 google Playstore,即使我的 phone.

上安装了应用程序

我的意图过滤器:

            <data android:scheme="finaldeeplinking" android:host="open" />
            <action android:name="android.intent.action.VIEW" />
            <category android:name="android.intent.category.DEFAULT" />
            <category android:name="android.intent.category.BROWSABLE" />

branch.io 上的 URI 方案:finaldeeplinking://

提前致谢

Branch 几天前的默认设置是仅在服务 100% 知道该应用程序已安装时才尝试打开该应用程序,这取决于它是否看到与 Branch 匹配的浏览器 cookie-跟踪的应用程序会话。否则,link 将 307 重定向到 Play 商店 URL。

但是,他们最近根据开发人员的需要将默认值更改为 'Always open up the app'。您可能需要更新您的设置。您可以在 link settings dashboard 上切换此开关。确保将此复选框切换为已选中: