invertase / react-native-firebase

🔥 A well-tested feature-rich modular Firebase implementation for React Native. Supports both iOS & Android platforms for all Firebase services.
https://rnfirebase.io
Other
11.71k stars 2.22k forks source link

[🐛] DynamicLinks.API is not available on this device. #7287

Closed vladimir-vasilev closed 1 year ago

vladimir-vasilev commented 1 year ago

This error from Crashlytics report

Non-fatal Exception: io.invertase.firebase.crashlytics.UnhandledPromiseRejection [dynamicLinks/initial-link-error] 17: API: DynamicLinks.API is not available on this device. Connection failed with: b{statusCode=SERVICE_INVALID, resolution=null, message=null}

It reproduces on many android devices (mostly Huawei, android v. 6, 10 ,12)

env: "react": "18.2.0", "react-native": "0.72.2", "@react-native-firebase/dynamic-links": "16.5.0",

mikehardy commented 1 year ago

Huawei does not support many google services. Dynamic links is one of them - https://firebase.google.com/docs/android/android-play-services