Push Notifications Stuck @ verbose: _PushStatus : sending push to 1 installations - but dont get delivered.
Below is my code to send push notification , though it's success it doesnt get delivered to device.
Parse.Push.send({ where: { "deviceType": {"$in": ["ios"]} }, data: { "title": "Registration", "alert": "Push Notification working" } }, { useMasterKey: true, success: function() { console.log("Push was Successful"); res.json("true") }, error: function(error){ console.log(error) } });
Configuration:
var api = new ParseServer({ databaseURI: databaseUri || 'mongodb://localhost:27017/dev', cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js', appId: process.env.APP_ID || 'XXXX', masterKey: process.env.MASTER_KEY || 'XXXX', //Add your master key here. Keep it secret! serverURL: process.env.SERVER_URL || 'http://localhost:1337/parse', // Don't forget to change to https if needed clientKey: process.env.CLIENT_KEY || 'XXXX', liveQuery: { classNames: ["Posts", "Comments"] // List of classes to support for query subscriptions }, restAPIKey:"skillz", verbose: true, push: { ios: { pfx:'certs/services.p12', topic: 'com.XXX.Skillz', production:false, passPhrase:'push' } } });
Verbose Logs attached screenshot.
Any help is really appreciated.
I'm seeing the same thing:
[36mverbose[39m: _PushStatus cNL4EPyC2I: sending push to 23 installations
Then a bit later later:
verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to 79496a7ee986a82c27fd040cd637ad98c3ddbdb8a2b8b2814dab1bb0ed99e926
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 745b26f55c4dd55562b427dcbb8e0dd5725a90df8426dcb6292707c9ba86721b
verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to eba894a3e20b715ae2894b7bad8a4ecca9023bc636daa66d635cdf3db4ae117e
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 0bac0df144b2d2a4917f1952827ebe8dd6331395d502db59a1dfa950e4e9edf5
verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to ceedf6070dbaa6cdd058a694f19af42d6b2189ab2b1f8ce0a49796f11d0f131e
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to ccf8cffcfd5790be267b1a909915f03449f320db0012d54e51052c5b025acbcb
verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to c13bce9c934664f128f8a5aec1c0811ae1d1c4890840f3c005a4962e886190f0
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to e9de7523b75c41c492b30555e6af6293a82b51f4d70046b324099117c0399e0a
verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to 002913831b9a780652b4eb0ed4435ca320ff380317387797e1708b4ed937d4b0
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 3384ec05e653e23bf618f4e060df2f4083a1e8342c3d18e59d8f5908001588b5
verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to a4f8566370325a27cd344e70ce3a7cde7c24007e673f3b085c7f7622237dc3a0
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 2f748cbddac934c8d9dc8d0700c2436ea0bb58749b15a54f6bd88590558ad3f5
verb parse-server-push-adapter APNS APNS Connection 1 Notification transmitted to f842f75932b2a556017e6bbf7d124bdb9d9e08e31e89bb76b52ff43a6f24f6cb
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 70cd2b8be9e1251a50a87065c317e4bc36e800ce1c245a136fcce420fa524a77
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 8fa5059c61bb3589e239d95ec9dddf7311771a42d86de5b41391090181769bd5
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to c8294a2448ad743122145eab3b7425d35e1afcacb8900266898c0e68ca2e6113
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to f8c4f7d3d4695c30d52494ccff8780a562883f96a47b0e262816632b41dd9380
verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 66cead39b20a9e1f8266ea20e465a4403d3179c1a21b9c0c448d8fd433959501
[36mverbose[39m: _PushStatus cNL4EPyC2I: sent push! 0 success, 0 failures