You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using phonegap and plugin version 2.6.0 but I just can't seem to get Branch.initSession to fire.
The row alert(JSON.stringify(Branch)); works and alerrts {"debugmode" : false}
atleast which is positive atleast. However alert(JSON.stringify(data)); is unfortunately never fired.
Neither is alert('Deep Link Data: ' + JSON.stringify(data));
Tried with iOS and used distribution id.
if (Branch) {
alert(JSON.stringify(Branch));
}
Branch.initSession(function (data) {
alert(JSON.stringify(data));
if (data['+clicked_branch_link']) {
// read deep link data on click
alert('Deep Link Data: ' + JSON.stringify(data));
}
I apologize for the delay. Were you ever able to get the SDK working? Keep in mind, the Branch Cordova SDK does not support PhoneGap Build. However, if you are using PhoneGap CLI, I would recommend double checking the Getting Started guide. Making sure your Branch Dashboard matches your config.xml is key.
I'm using phonegap and plugin version 2.6.0 but I just can't seem to get Branch.initSession to fire.
The row alert(JSON.stringify(Branch)); works and alerrts {"debugmode" : false}
atleast which is positive atleast. However alert(JSON.stringify(data)); is unfortunately never fired.
Neither is alert('Deep Link Data: ' + JSON.stringify(data));
Tried with iOS and used distribution id.
XML looking something like (example data):
Any help or input is highly appreciated, thanks!
The text was updated successfully, but these errors were encountered: