可以将其他应用程序深度链接到我的应用程序吗?
是的,您可以从另一个 App 链接到您的 App,且只有您的 App 需要集成 Branch SDK。
有 3 种嵌入链接的方式:
-
Embed Quick Link from the target app’s dashboard.
-
Use the Deep Linking API to create a link with the target app’s API key, making sure to send your API request early enough to account for response time.
-
Programmatically build the link as a
String
, starting with target app’s domain (i.e.https://example.app.link
), and append deep link keys as encoded query parameters.
然后,执行 App 内点击:
对于 iOS
Call UIApplication.shared.open()
on the link
对于 Android
将链接插入到 Intent 中:
Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse(yourUrl));
startActivity(intent);
Updated about 2 years ago