android-branch-deep-linking-attribution
android-branch-deep-linking-attribution copied to clipboard
Deep link coming in as "+non_branch_deeplink" if app in the background
If the app is in the background and I type the deep link address into Google Chrome, branch.initSession receives parameters with "+non_branch_deeplink":"http:\/\/mycompany.com:\/\/destination\/?link_click_id=9239024882340"
However, if the app isn't launched in the background, it's receiving parameters with
"$deeplink_path":"destination/"
This issue looks very similar to the issue fixed in this PR https://github.com/BranchMetrics/android-branch-deep-linking-attribution/pull/484
Android Branch SDK version: 4.3.2 Android OS version: 6.0.1
The issue that uncovered this may be that the Android URI Scheme had changed on the https://dashboard.branch.io/configuration/general page from https://mycompany.com to https://mycompany.com://
When I change it on that page to https://mycompany.com it says saved but when I refresh the page it has changed back to https://mycompany.com://
I'm having this same issue. Regardless of the Android version, if the app is previously killed, then it won't recognise the link clicked as a link from Branch. I've tested on versions 4.3.2 up to 5.0.1 and the result is the same. The only thing that made it work was calling:
Branch.enableBypassCurrentActivityIntentState() before init()