Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Issue sending parameters using Cordova

Hi,
I'm starting to connect my app up to Kumulos using Cordova. I'm using Cordova version 6.4 with the KumulosSDKPlugin v1.0. I am able to successfully connect to Kumulos and execute an API call. I am properly receiving an error response generated by my KScript stating that the parameter being sent is null. I am running into trouble figuring out why the API call is not properly receiving the parameter.

var params = {}
params.email = 'example@fake.com';
var result = $rootScope.kumulosClient.call('doSomethingWithEmail', params).then(function(result) {
console.log("Success");
console.log(result);
}, function(err) {
console.log("in error");
console.log(err);
});

I am properly getting a result sent back by the API but the parameter 'email' is not reaching the API.

Any help would be appreciated.
Thanks!

Comments

Sign In or Register to comment.