How can I customize a Push-Notification?
问题 I am working on a project where I want to make Push notifications work, on Parse-Server (Heroku), with an iOS app. This is the code I use on the server side to generate a PUSH: const pushQuery = new Parse.Query(Parse.Installation); pushQuery.equalTo('deviceType', 'ios'); Parse.Push.send({ where: pushQuery, // Set our Installation query data: {alert: "ABCXYZ"} }, { useMasterKey: true, success: function() {}, error: function(error) { throw "Got an error " + error.code + " : " + error.message; }