Closed oskk closed 6 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS
file at the top-level of this repository.
Hello, how do I push to every device with a particular subscription? In my case I just have
subscriptions: ["1"]
in some of my Installations. However, neitherPush.notifyByQuery({subscriptions: ['1']}, notice, cb)
norInstallations.findBySubscriptions('android', ['1'], cb)
seem to return any installations and/or push my notification.I was able to query the Installations through the API explorer so I know that the code works (
GET Installation {"where":{"subscriptions":"[\"1\"]"}}
andbySubscriptions
both work fine).Are there any examples or documentation that actually demonstrate sending push notifications to a particular subscription? Thanks!