I am trying to use Branch in my Cordova Android app. Everything works fine in android versions above 4.4.2 But, in all versions below android 4.4.4 , Branch does not work.
I have done
function onDeviceReady() {
console.log(Branch);
Branch.initSession().then(function (res) {
alert('something);
}).catch(function (err) {
alert('errref:'+err)
});
alert('outer alert');
}
It prints an object on console, as expected. and nothing else happen on versions below 4.4.4 While on 4.4.4+ , it gives an alert "something" and "outer alert"