cordova-ionic-phonegap-branch-deep-linking-attribution
cordova-ionic-phonegap-branch-deep-linking-attribution copied to clipboard
No data passed on deeplink clicked. (Resume state or closed state)
Hi, I have an app in development and before deeplinks were working fine. From past one week it has stopped passing data but app launches.
Data that I get on each launch
{"+clicked_branch_link":false,"+is_first_session":false}
Here is my configuration of system. ionic info Ionic:
ionic (Ionic CLI) : 4.5.0 (/usr/local/lib/node_modules/ionic) Ionic Framework : ionic-angular 3.9.2 @ionic/app-scripts : 3.1.9
Cordova:
cordova (Cordova CLI) : 8.1.2 ([email protected]) Cordova Platforms : android 8.0.0, ios 4.5.5 Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 1.2.1, (and 19 other plugins)
System:
Android SDK Tools : 26.1.1 (/Users/amitrai/Library/Android/sdk) ios-deploy : 1.9.4 NodeJS : v9.11.2 (/usr/local/bin/node) npm : 5.6.0 OS : macOS Mojave Xcode : Xcode 9.4.1 Build version 9F2000
Cordova info Node version: v9.11.2
Cordova version: 8.1.1
Plugins:
adobe-mobile-services,apptentive-cordova,branch-cordova-sdk,call-number,cordova-open-native-settings,cordova-plugin-camera,cordova-plugin-crop,cordova-plugin-device,cordova-plugin-file,cordova-plugin-firebase,cordova-plugin-inappbrowser,cordova-plugin-ionic-keyboard,cordova-plugin-ionic-webview,cordova-plugin-network-information,cordova-plugin-privacyscreen,cordova-plugin-screen-orientation,cordova-plugin-sim,cordova-plugin-splashscreen,cordova-plugin-statusbar,cordova-plugin-telerik-imagepicker,cordova-plugin-whitelist,cordova.plugins.diagnostic,es6-promise-plugin,ionic-plugin-deeplinks
Android platform:
The "android" command is deprecated. For manual SDK, AVD, and project management, please use Android Studio. For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
Running /Users/amitrai/Library/Android/sdk/tools/bin/avdmanager list target
Available Android targets:==============] 100% Fetch remote repository...
id: 1 or "android-23" Name: Android API 23 Type: Platform API level: 23 Revision: 3
id: 2 or "android-24" Name: Android API 24 Type: Platform API level: 24 Revision: 2
id: 3 or "android-25" Name: Android API 25 Type: Platform API level: 25 Revision: 3
id: 4 or "android-26" Name: Android API 26 Type: Platform API level: 26 Revision: 2
id: 5 or "android-27" Name: Android API 27 Type: Platform API level: 27 Revision: 3
id: 6 or "android-28" Name: Android API 28 Type: Platform API level: 28 Revision: 6
iOS platform:
Xcode 9.4.1 Build version 9F2000
I think I have the same issue (tested in Android only). The only semi-useful thing in that data is a link like this one:
branchcordova://open?link_click_id=link-SOMEIDHERE
But all my data is lost. It works fine with Branch links though.
This is really annoying, it's either branch or deeplinks, not cool
Ok in my case it was the facebook4 plugin that was the culprit
@etiennea I am having this same issue on resume. I also have the facebook4 plugin. How did you fix this? Thanks!
How do you guys solve this ?
I'm just receiving {"+clicked_branch_link":false,"+is_first_session":false}
in platform.ready and platform.resume
ENV:
ionic 4 "branch-cordova-sdk": "4.1.3" "@ionic-native/branch-io": "^5.26.0"