【问题标题】:Is there any way to find out the deeplink of a specific page of pubg Mobile有没有办法找出pubg Mobile特定页面的深层链接
【发布时间】:2019-12-07 09:49:13
【问题描述】:

我需要找到 pubg mobile 的创建房间页面的深层链接。 就像应用程序在单击按钮时打开到创建房间页面一样。

【问题讨论】:

  • 你想对你的 reactNative 应用进行 deepLink 吗?
  • 不,我需要 Pubg 移动应用程序的深层链接,实际上是 pubgmobile 应用程序的创建房间页面。所以我们的应用会通过深层链接打开 pubg mobile 创建房间页面

标签: react-native mobile-development deeplink


【解决方案1】:

试试这个库

“轻松深层链接到 React Native 中的其他应用。如果用户的手机上没有安装该应用,请打开 App Store 或 Play Store 链接。”

https://github.com/FiberJW/react-native-app-link

npm i -S react-native-app-link


import AppLink from 'react-native-app-link';

AppLink.maybeOpenURL(url, { appName, appStoreId, appStoreLocale, playStoreId }).then(() => {
  // do stuff
})
.catch((err) => {
  // handle error
});

AppLink.openInStore({ appName, appStoreId, appStoreLocale, playStoreId }).then(() => {
  // do stuff
})
.catch((err) => {
  // handle error
});

【讨论】:

  • 我需要深层链接,我知道如何通过这个库打开深层链接 :)
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2010-09-20
  • 2012-06-16
  • 1970-01-01
  • 2020-01-12
  • 1970-01-01
相关资源
最近更新 更多