cordova-plugin-firebase-dlinks
v1.2.2
Published
Cordova plugin for Firebase Dynamic Links, based on https://www.npmjs.com/package/cordova-plugin-firebase-dynamiclinks
Downloads
5
Maintainers
Readme
cordova-plugin-firebase-dlinks
Cordova plugin for Firebase Dynamic Links
Installation
cordova plugin add https://github.com/ericgopak/cordova-plugin-firebase-dynamiclinks.git --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.
Supported Platforms
- 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.
Methods
onDynamicLink(callback)
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);
});