I’m trying to use Cordova together with Meteor but DDP methods are not called from the iOS simulator. The method is called correctly in the browser but nothing happens when “meteor run ios”.
– client
Template.hello.events({
'click button'(event, instance) {
Meteor.call('hello', 'server');
}
});
– server
Meteor.methods({
'hello'(what) { console.log('hello ' + what) }
});
Some test code is here: https://github.com/softwarerero/meteor-cordova-test.
I guess I’m missing something, I’ve never used Cordova together with Meteor before.