Start a new topic

Is there some limit in the number of push notifications that can be sent to an ios device?

I try this simple code in a hook :

function onPreSave(request, response, modules) {

var userCollection = modules.collectionAccess.collection('user');

var push = modules.push;

userCollection.find({'username': 'user0'}, function(err, userDocs) {

push.sendMessage(userDocs[0], 'hello');

response.complete(200);

});

}


It works one time but the next tries it fails to send the push notification to the device.

I don't have this problem when I send notifications from the console, is there some kind of limit when sending from a BL hook?


ThanksĀ 

1 Comment

Good afternoon Alexandre,


There was actually a bug in our business logic that was preventing push from being handled correctly that should now be resolved.


Thanks,

Login or Signup to post a comment