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

Branch link identified as non_branch_link #569

Open masimplo opened 5 years ago

masimplo commented 5 years ago

On Android clicking on a link with a registered custom domain opens the app but gives me data that says it is a non_branch_link and +clicked_branch_link=false. On iOS the link does not open the app but redirects me to the default url.

link is like: https://uat-link.domain.com/W4FNlwg5oX?stats=1

plugins I am using:

    "branch-cordova-sdk": "3.1.5",
    "cc.fovea.cordova.purchase": "7.1.1",
    "cordova-android": "8.0.0",
    "cordova-android-firebase-gradle-release": "3.0.0",
    "cordova-android-play-services-gradle-release": "3.0.0",
    "cordova-android-support-gradle-release": "3.0.0",
    "cordova-clipboard": "1.2.1",
    "cordova-fabric-plugin": "1.1.14-dev",
    "cordova-ios": "4.5.5",
    "cordova-launch-review": "3.1.1",
    "cordova-plugin-add-swift-support": "2.0.2",
    "cordova-plugin-app-event": "1.2.1",
    "cordova-plugin-appminimize": "1.0.1",
    "cordova-plugin-appsflyer-sdk": "4.4.18",
    "cordova-plugin-badge": "0.8.8",
    "cordova-plugin-call-number": "1.0.1",
    "cordova-plugin-camera": "4.0.3",
    "cordova-plugin-camera-preview": "0.10.0",
    "cordova-plugin-datepicker": "0.9.3",
    "cordova-plugin-device": "2.0.2",
    "cordova-plugin-facebook4": "4.2.1",
    "cordova-plugin-file": "6.0.1",
    "cordova-plugin-firebase": "git+https://github.com/dpa99c/cordova-plugin-firebase.git#GH-1057-April-05-android-build-issue",
    "cordova-plugin-globalization": "1.11.0",
    "cordova-plugin-google-analytics": "1.8.6",
    "cordova-plugin-google-conversion-tracker": "1.0.1",
    "cordova-plugin-googleplus": "7.0.1",
    "cordova-plugin-inappbrowser": "3.0.0",
    "cordova-plugin-ionic-keyboard": "2.1.3",
    "cordova-plugin-ionic-webview": "1.1.19",
    "cordova-plugin-local-notification": "0.9.0-beta.3",
    "cordova-plugin-network-information": "2.0.1",
    "cordova-plugin-splashscreen": "5.0.2",
    "cordova-plugin-statusbar": "2.4.2",
    "cordova-plugin-whitelist": "1.3.3",
    "cordova-plugin-x-socialsharing": "5.4.4",
    "cordova-sms-plugin": "1.0.0",
    "cordova-sqlite-storage": "2.6.0",
    "pouchdb-adapter-cordova-sqlite": "2.0.5",
    "skwas-cordova-plugin-datetimepicker": "2.0.0",

My config looks like:

    <branch-config>
        <branch-key value="key_live_...." />
        <uri-scheme value="domain" />
        <link-domain value="link.domain.com" />
        <link-domain value="app.domain.com" />
        <link-domain value="uat-link.domain.com" />
        <link-domain value="demo.domain.com" />
        <ios-team-release value="..." />
    </branch-config>

Note that neither link.domain.com nor uat-link.domain.com open the app in iOS, whereas both app.domain.com and demo.covve.com do. They all open the app in Android but all register as non branch links

razam217 commented 4 years ago

@masimplo did you find any solution to this problem?