PNT
PNT

Reputation: 23

Parse.com notifications from Web Console

Im using parse.com to push ios notifications through the web interface. I'd like to be able to retrieve sent pushes and display them. Is there a way to retrieve previous pushes or do I have to create a PFObject when a notification is received and fetch it with a query?

Upvotes: 0

Views: 247

Answers (2)

Jingwei
Jingwei

Reputation: 755

You could implement your own logic by cloud code.

Once you send push notification, save it into a separate table. If you want to retrieve, you could just make a query to your separate table.

Upvotes: 2

Matt Hudson
Matt Hudson

Reputation: 7348

There is no way to programmatically retrieve them from Parse, however your idea of saving them as a PFObject is probably a good one.

If you use CloudCode you can send a push after a save of that object.

https://www.parse.com/docs/cloud_code_guide

Look for afterSave functions.

Upvotes: 0

Related Questions