Firebase Dynamic Links not recognized in IOS


We are using the Firebase dynamic links plugin to handle links created by a backend server using Firebase REST API.

The plugin works without any issues on Android. But in IOS, when someone clicks the link the app opens but the onDynamicLink() is never called.

We are calling onDynamicLink() in the initializeApp() inside platform ready callback and added GoogleAndroidClientId and GoogleIOSClientId to the platform preferences as mentioned in the documentations. We also have both google-services.json and GoogleService-Info.plist in the project root folder.

We are using a custom domain with the dynamic links and configured it in Firebase console and in XCode we added FirebaseDynamicLinksCustomDomains as mentioned here.

We get couple of errors in XCode console:

[Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add [FIRApp configure]; ( FirebaseApp.configure() in Swift) to your application initialization. Read more:

and (API Keys removed)

2020-03-12 22:15:10.220893+0300 Doorek[32896:4363162] Starting Firebase DynamicLinks plugin 2020-03-12 22:15:10.485683+0300 Doorek[32896:4363376] Task <C948DCF9-2A18-40F9-8A24-FDF61460D9C3>.<2> finished with error [-1003] Error Domain=NSURLErrorDomain Code=-1003 "A server with the specified hostname could not be found." UserInfo={NSUnderlyingError=0x28255f5d0 {Error Domain=kCFErrorDomainCFNetwork Code=-1003 "(null)" UserInfo={_kCFStreamErrorCodeKey=8, _kCFStreamErrorDomainKey=12}}, NSErrorFailingURLStringKey=, NSErrorFailingURLKey=, _kCFStreamErrorDomainKey=12, _kCFStreamErrorCodeKey=8, NSLocalizedDescription=A server with the specified hostname could not be found.}

cordova plugin list:

cordova-plugin-androidx 1.0.2 “cordova-plugin-androidx”
cordova-plugin-androidx-adapter 1.1.0 “cordova-plugin-androidx-adapter”
cordova-plugin-device 2.0.3 “Device”
cordova-plugin-firebase-dynamiclinks 4.0.3 “FirebaseDynamicLinksPlugin”
cordova-plugin-ionic-keyboard 2.2.0 “cordova-plugin-ionic-keyboard”
cordova-plugin-ionic-webview 4.1.3 “cordova-plugin-ionic-webview”
cordova-plugin-splashscreen 5.0.3 “Splashscreen”
cordova-plugin-statusbar 2.4.3 “StatusBar”
cordova-plugin-whitelist 1.3.4 “Whitelist”
cordova-plugin-x-socialsharing 5.6.4 “SocialSharing”
cordova-sqlite-storage 4.0.0 “Cordova sqlite storage plugin - cordova-sqlite-storage plugin version”
cordova-support-android-plugin 1.0.1 “cordova-support-android-plugin”
cordova-support-google-services 1.3.2 “cordova-support-google-services”
es6-promise-plugin 4.2.2 “Promise”

Cordova-ios version 5.1.0

Ionic 5 & Angular 9.

I’ve gone through our configurations in Firebase and our implementation tens of times and I honestly don’t know what is wrong. It just does not work in IOS.

Appreciate any help.


Any news on this? I got the same problem for not receiving dynamic links on iOS.

I have the same issue with Android. OnDynamicLink is not triggering anytime whenever I click on any link.


 async initializeApp() {
    this.platform.ready().then(() => {
        (res: any) => {
          this.util.dynamicLinkData = res;
          this.util.isDynamicLinkProvided = true;
          // if (res.deepLink) {
          //   // let splitters: Array<string> = res.deepLink.split("/");
          //   // let productId = splitters[splitters.length - 1];
          //   this.util.dynamicLinkData = res;
          //   this.util.isDynamicLinkProvided = true;
          // }
        (error: any) => {
          this.util.showSimpleAlert(`FDL ERROR: ${error}`);
      console.log("%cSampurna Bazaar. ", "background: #222; color: #ffb380");
      this.appPages = this.util.appPage;

Thanks for help.