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.
npm install cap-firebase-dynamic-links
npx cap syncaddListener(eventName: 'onDynamicLink', listenerFunc: (data: DynamicLinkData) => void) => PluginListenerHandle| Param | Type |
|---|---|
eventName |
'onDynamicLink' |
listenerFunc |
(data: DynamicLinkData) => void |
Returns: PluginListenerHandle
| Prop | Type |
|---|---|
remove |
() => Promise<void> |
| Prop | Type |
|---|---|
url |
string |
timestampClicked |
number |