Start a new topic

Arrival notification without IOS

The notifications arrived on the IOS device easily, but after deleting a user who sent notifications to all devices, stopped reaching IOS.

I have already registered the IOS, there in my table of users all the _messaging fields are filled.

I believe the problem has nothing to do with Certificates.p12, since I did not make any changes to the certificate, and until yesterday 09/05/2017 I sent and received all the devices.

I've created an endpoint and am sending to a specific user and the message does not arrive in ios.

function onRequest(request, response, modules) {
    var logger = modules.logger;
    var push = modules.push,
        collectionAccess = modules.collectionAccess;

        "username": "neuzoiphone4"
    }, function (err, userColl) {
        if (err) {
            logger.error('user not found: ' + err);
        } else {

            var iOSAps = {
                alert: "Teste de envio para Mossoró",
                badge: 2,
                sound: "default.wav"

            var iOSExtras = {
                from: "Teste de envio para Mossoró",
                subject: "Novo Teste 14"

            var androidPayload = {
                message: "Teste de envio para Mossoró",
                from: "SupermerCasa",
                subject: "SupermerCasa - Teste 14"

            push.sendPayload(userColl[0], iOSAps, iOSExtras, androidPayload, function (err, result) {
                        response.body = userColl[0];

The result of sending:

  "_id": "xxxxxxxxxxxxxxxxx",
  "username": "neuzoiphone4",
  "_acl": {
    "creator": "5911aeecxxxxxx7f677dc5132"
  "_messaging": {
    "pushTokens": [
        "token": "a78cc3e89145dc2d4cd8496ecb6f7ab805dxxxxxxxxxxxxxxxxxxxxxxxxx",
        "platform": "ios",
        "arn": "arn:aws:sns:us-east-1:853461911189:endpoint/APNS/kid_xxxxxxxxx_production/71d27bb5-154b-xxxx-xxxx-xxxxxxxxxx"
  "Cidade": "Mossoro",
  "salt": "c97461ec-7b10-4f69-8b64-xxxxxxxxxx",
  "_kmd": {
    "lmt": "2017-05-09T12:33:57.242Z",
    "ect": "2017-05-09T11:58:36.966Z"

200 OK 


 Where have these "x's," I put it just for the sake of privacy.

Advance that by sending the notification through the menu> Engagement> Push: notifications also only arrive for an...

Okay, thank you so much for your attention.

I'm sending it right now, it's just an IO device, the other registered ones are all Android and both are receiving.


Hello Lunar,

Please provide further details about the information being for, "...just an IO device". You mean, "...just an iOS device", correct?

Login or Signup to post a comment