parse-community / parse-server-push-adapter

A push notification adapter for Parse Server
https://parseplatform.org
MIT License
88 stars 100 forks source link

apns feedback service #13

Closed diwu1989 closed 7 years ago

diwu1989 commented 8 years ago

please add in support for the apns feedback service so that periodically, deregistered devices are cleaned out of the database, thankyou!

tarekskr commented 7 years ago

+1

Droppix commented 7 years ago

+1

flovilmart commented 7 years ago

There's no need for the feedback service anymore, if you're using the latest parse-server you can set PARSE_SERVER_CLEANUP_INVALID_INSTALLATIONS=1 and it will remove the invalid device tokens ('Unregistered' || 'BadDeviceToken')

https://github.com/parse-community/parse-server/blob/master/src/StatusHandler.js#L198