Publishing/Receiving to only certain Backendless Users

Hi, I am wondering what is the best way to get the deviceId’s of Backendless user’s?

I have an event making app and I want users to be able to create and send events to any invited backendless users (from their contacts) and when a users sends an event invite a Published message will be sent to those users as well. I need to get those users DeviceId’s and also send additional push notifications for any alerts that might transpire. The message publishing won’t be triggered from the backendless console but from on the users app when an event is made and sent.

Ive looked at some of the push / Recieve Documention and know how to register a device etc but not sure how to do the rest? Should I be doing a subscription based push noitifications?? Im really not sure.

The best way is to create a table which would contain user id (or a related User object) and their corresponding device id. When your app registers a device and gets it’s id, you simply would store an object in that table with info about the user and the device id.

Mark