While triggering PNs from BaaS APIs, upon success receipt is not generated but when encountering errors receipt entity is created
But, for the unsuccessful notifications (Example- for dummy/incorrect device token), the receipts are getting generated and are updated automatically in receipts collection.
Note: If I trigger a successful notification from Baas Admin UI (using PUSH option), the receipts are getting generated for both successful and unsuccessful notifications
Answer by Gagandeep Singh · Feb 07, 2017 at 12:08 PM
any success on this issue? I am also facing the same problem but still haven't found any solution.
No Gagandeep, could not find a solution yet. Let me know if you find anything and i will do the same
Answer by lgodena · Mar 29, 2017 at 01:55 PM
@Aswin @Gagandeep, You need to set the debug flag to true along with the payload. Here is an example
{"payload" : <Message>, "debug" : true}