Cordova plugin for Firebase Dynamic Links
This plugin is compatible to work with cordova-plugin-firebase and supports iOS 12 fix from author georgski
By default GoogleToolboxForMac and nanopb has been disabled to avoid conflicts with Push Plugin
. In order to make them available for your project, simply uncomment line 107-108 in plugin.xml. This is only needed if you are using Push or any other plugin which already includes these two dependencies.
cordova plugin add cordova-plugin-firebase-dynamiclinks --save --variable APP_DOMAIN="example.com" --variable PAGE_LINK_DOMAIN="example.page.link"
Use variable APP_DOMAIN specify web URL where your app will start an activity to handle the link.
Use variable PAGE_LINK_DOMAIN specify your *.page.link domain.
Use variable FIREBASE_DYNAMIC_LINKS_VERSION to override dependency version on Android.
- iOS
- Android
Firebase Dynamic Links SDK has an unresolved bug related to parsing deepLink for new app installs. In order to get it work your dynamic link MUST have an app preview page, which by default.
Registers callback that is triggered on each dynamic link click.
cordova.plugins.firebase.dynamiclinks.onDynamicLink(function(data) {
console.log("Dynamic link click with data: ", data);
});