Skip to content

dev-akash01/cordova-plugin-firebase-dynamiclinks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cordova-plugin-firebase-dynamiclinks
NPM version NPM downloads

Cordova plugin for Firebase Dynamic Links

This plugin is compatible to work with cordova-plugin-firebase and supports iOS 12 fix from author georgski

NOTE

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.

Installation

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.

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);
});

About

Cordova plugin for Firebase Dynamic Links

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Objective-C 76.3%
  • C 22.6%
  • Other 1.1%