Reputation: 174
W/GoogleApiManager( 1448): The service for com.google.firebase.dynamiclinks.internal.DynamicLinksClient is not available: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null} E/flutter ( 1448): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: [firebase_dynamic_links/unknown] com.google.android.gms.common.api.ApiException: 17: API: DynamicLinks.API is not available on this device. Connection failed with: ConnectionResult{statusCode=SERVICE_INVALID, resolution=null, message=null} E/flutter ( 1448):
I had followed the exact steps given in https://firebase.flutter.dev/docs/dynamic-links/usage
Upvotes: 5
Views: 4209
Reputation: 111
Make sure, that your device have google services.
For emulator: create one with play store icon.
For physical device make sure that this device is not in banned from google lists. For example Huawei devices.
based on this issues: https://github.com/firebase/flutterfire/issues/8397
Upvotes: 7