是否可以在华为设备上实现Firebase动态链接?

use*_*754 3 android firebase huawei-mobile-services huawei-developers

我创建了使用动态链接的android应用程序

FirebaseApp.initializeApp(context)
Firebase.dynamicLinks
  .getDynamicLink(intent)
  .addOnSuccessListener(context) { successFunction(it) }
  .addOnFailureListener(context) { failureFunction(it) }

implementation 'com.google.firebase:firebase-dynamic-links-ktx:19.1.0'
implementation 'com.google.firebase:firebase-analytics:17.3.0'
Run Code Online (Sandbox Code Playgroud)

我找到了通过 HMS Core 将 firebase-analytics 代理到华为设备的教程: https://developer.huawei.com/consumer/en/doc/development/Tools-Guides/30935655 但根本没有有关 firebase-dynamic-links 的信息

是否有可能在最新的华为设备上使用 Firebase 动态链接?

gmY*_*Ysf 7

纯华为设备(华为 P40)您不能使用 Firebase Dynamic Links,您可以在华为设备上使用“App Linking”或第三方套件来代替 Firebase Dynamic Link。他们也有示例代码。