I am currently sending pushes to specific users, using the user's _id. And thus all of the devices that user has registered.
Is it possible to send pushes to specific devices, perhaps based on the device token?
over 9 years ago
The best way to do this at the moment is to get the user records you want (you can query by specific device IDs if you wish) and then remove the deviceIDs you don't want, or to replace the _push attribute in your queried user object with an object that only contains the device IDs that you want to send to for each user.