Closed Sampath-Lokuge closed 11 months ago
import { Plugins } from '@capacitor/core'; import { BranchInitEvent } from 'capacitor-branch-deep-links'; const { BranchDeepLinks } = Plugins;
Just paste this: https://help.branch.io/developers-hub/docs/capacitor#initialize-branch
Need to support Capacitor 4+
5.0.0
Doc issue
Please update the doc to Capacitor 4 syntax.
Ref: https://help.branch.io/developers-hub/docs/capacitor#install-branch
This works for me:
import { BranchDeepLinks } from 'capacitor-branch-deep-links';
And the doc has been updated now too.
Describe the bug
Steps to reproduce
Just paste this: https://help.branch.io/developers-hub/docs/capacitor#initialize-branch
Expected behavior
Need to support Capacitor 4+
SDK Version
5.0.0
Make and Model
Doc issue
OS
Doc issue
Additional Information/Context
Please update the doc to Capacitor 4 syntax.
Ref: https://help.branch.io/developers-hub/docs/capacitor#install-branch