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
We are trying to open our iOS application with URI Scheme to redirect users to a specific state, in our handleBranch method we are looking for "+non_branch_link" property in the data returned by initSession().
handleBranch: function () {
Branch.initSession().then(function (data) {
console.warn('### handleBranch ###', data);
if (data && data['+clicked_branch_link']) {
// do something
} else if (data["+non_branch_link"]) {
// REDIRECT TO SOME STATE
} else {
console.log("clicked_branch_link is FALSE");
}
});
}
The content of data is the following on cold start : {+clicked_branch_link: false, +is_first_session: false}
And on next calls data is the following : {+clicked_branch_link: false, +is_first_session: false, +non_branch_link: "profonia://my-profonia.app.link/careservant-din"}
Notice that the non_branch_link property is missing on cold start.
We tried to delay the handleBranch method by one second in app.js with no luck.
It's working fine with Universal Link (branch links https://....) but we need to use URI Scheme.
Branch plugin version : 3.2.0
Cordova iOS : 5.0.1
The text was updated successfully, but these errors were encountered:
We are trying to open our iOS application with URI Scheme to redirect users to a specific state, in our handleBranch method we are looking for "+non_branch_link" property in the data returned by initSession().
The content of data is the following on cold start :
{+clicked_branch_link: false, +is_first_session: false}
And on next calls data is the following :
{+clicked_branch_link: false, +is_first_session: false, +non_branch_link: "profonia://my-profonia.app.link/careservant-din"}
Notice that the non_branch_link property is missing on cold start.
We tried to delay the handleBranch method by one second in app.js with no luck.
It's working fine with Universal Link (branch links https://....) but we need to use URI Scheme.
Branch plugin version : 3.2.0
Cordova iOS : 5.0.1
The text was updated successfully, but these errors were encountered: