cordova-ionic-phonegap-branch-deep-linking-attribution
cordova-ionic-phonegap-branch-deep-linking-attribution copied to clipboard
App misbehaves misbehave when force quit
I am new to Ionic and branch and I am facing the issue When I force to quit the sample app and then click on deep link, it opens the app but does not navigate to required page, and remains on rootpage. But When the app is in background and I open the app by clicking deeplink it correctly goes to the requested page. Any help or insights will be helpful
this.platform.ready().then(() => { this.statusBar.overlaysWebView(false);
this.splashScreen.hide();
this.setRootPage(); BranchInit(); });
this.platform.resume.subscribe(() => { BranchInit(); });
const BranchInit= () => { // only on devices if (!this.platform.is('cordova')) { return } const Branch = window['Branch']; Branch.initSession(data => { if (data['+clicked_branch_link']) { //alert('Deep Link Data: ' + JSON.stringify(data)); this.nav.push(data['page'],{itemId:data['id']}); } }); }
@tommyarn what versions are you using? Are you primarily using Android or iOS?
@csalmi-branch I am using iOS version 11.2 and Corvoda Branch SDK version 3.1.5
@tommyarn do you still have issues if you use the newest version we just released, 3.1.6? We updated which native SDKs the Cordova integration calls into, which should help with application interactions.
@csalmi-branch yes the issue is still there on the new version.