Search code examples
androidfirebasehuawei-mobile-serviceshuawei-developers

Is it possible to implement Firebase Dynamic Links on Huawei devices?


I created android application which is using dynamic links

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'

I found tutorial to proxy firebase-analytics to Huawei device by HMS Core: https://developer.huawei.com/consumer/en/doc/development/Tools-Guides/30935655 but there's no information at all about firebase-dynamic-links

Is there any possibility to use Firebase Dynamic Links on the newest Huawei devices ?


Solution

  • Pure Huawei devices(Huawei P40) you can not use Firebase Dynamic Links, instead of Firebase Dynamic Link you can use "App Linking" or third party kits on Huawei devices. They have sample code also.