npm install @nstudio/nativescript-branch
From your app's main entry import BranchIO to call the init method before the app launches.
import { BranchIO } from '@nstudio/nativescript-branch';
BranchIO.initSession(...);
Android
iOS
Apache License Version 2.0