parse.com - Parse Cloud Code Push + Client-initiated push isn't enabled -


i trying run parse cloud code function sends push user associated installation object. when run following code within cloud function error 115 - client-initiated push isn't enabled.

    // send push parent     var query = new parse.query(parse.installation);     query.equalto('user', reservation.get("parent"));     parse.push.send({         where: query, // set our installation query         data: {             alert: "your request has been accepted!"         }     }, {         success: function () {             console.log("push worked");             return result;          },         error: function (error) {             console.log("error: " + error.code + " " + error.message);             return result;         }     }); 

i don't see anywhere client side pushes need enabled cloud code? missing or need enabled?

navigate app's settings in parse dashboard, enable client side push under push notifications.

screenshot


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -