BranchMetrics / cordova-ionic-phonegap-branch-deep-linking-attribution

The Branch Cordova Ionic Phonegap SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
https://docs.branch.io/apps/cordova-phonegap-ionic/
MIT License
234 stars 144 forks source link

Unexpected iOS deeplink open behavior #672

Closed sfeast closed 4 years ago

sfeast commented 4 years ago

Behavior: 1) Created a branch deeplink for an iOS app that is already installed on my device 2) Sent the link to my email account 3) Opened Gmail on iOS device & clicked the link

Result: App opens directly however data['+clicked_branch_link'] is false.

Expected: data['+clicked_branch_link'] is true.

Notes:

  1. If I directly copy/paste the link into mobile safari then I get a dialog asking "Open this page in <my app name>?" If I tap Open then it opens my app & data['+clicked_branch_link'] is true.
  2. If the app is not yet installed then tapping the link in iOS Gmail asks me how'd I'd like to open it (Safari, Chrome) & then after opening the browser gives me option to open in the app store. I then download & run the app - data['+clicked_branch_link'] is then true.

So it seems that the issue is only when opening from another app's webview + the app to be opened is already installed - is this a known issue?

sfeast commented 4 years ago

nvm - was a plugin conflict issue 🤦