0.3.1 • Published 4 years ago
cap-firebase-dynamic-links v0.3.1
cap-firebase-dynamic-links
Capacitor plugin for Firebase Dynamic Links
- For iOS configuration:
- make sure Associated Domains Capability in Xcode is configured properly,
- for iOS configuration docs:
- https://firebase.google.com/docs/dynamic-links/ios/receive#open-dynamic-links-in-your-app
- read step 1, 2 or 3 if u have custom domain, the other steps are unnecessary.
- for Android configuration: nothing.
Install
npm install cap-firebase-dynamic-links
npx cap sync
API
addListener('onDynamicLink', ...)
addListener(eventName: 'onDynamicLink', listenerFunc: (data: DynamicLinkData) => void) => PluginListenerHandle
Param | Type |
---|---|
eventName | 'onDynamicLink' |
listenerFunc | (data: DynamicLinkData) => void |
Returns: PluginListenerHandle
Interfaces
PluginListenerHandle
Prop | Type |
---|---|
remove | () => Promise<void> |
DynamicLinkData
Prop | Type |
---|---|
url | string |
timestampClicked | number |