cordova-ionic-phonegap-branch-deep-linking-attribution icon indicating copy to clipboard operation
cordova-ionic-phonegap-branch-deep-linking-attribution copied to clipboard

App misbehaves misbehave when force quit

Open tommyarn opened this issue 6 years ago • 4 comments

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 avatar Feb 22 '19 19:02 tommyarn

@tommyarn what versions are you using? Are you primarily using Android or iOS?

csalmi-branch avatar Feb 28 '19 18:02 csalmi-branch

@csalmi-branch I am using iOS version 11.2 and Corvoda Branch SDK version 3.1.5

tommyarn avatar Mar 01 '19 19:03 tommyarn

@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 avatar Mar 06 '19 00:03 csalmi-branch

@csalmi-branch yes the issue is still there on the new version.

tommyarn avatar Mar 08 '19 15:03 tommyarn