I've been reading on how to properly implement push notifications into an app I'm developing and I pretty much have it working successfully. The code registers the device with azure notification hub and successfully sends a notification based on the specified tag that I provide.
My question is what is the best approach for handling the device registration with potentially multiple users that would in turn mean multiple tags? I read that you shouldn't de-register the device once it's registered so that's where I kind of got lost.
I probably don't have the complete understanding of the device registration / assigning a tag either. My understanding is that you register said device with a token that looks to be randomly generated and then you associate a tag with that token (i.e. the device). Should you just add multiple tags (users) to the same token and then just pass the tag around the code so the notification gets sent to the correct tag? Can you just randomly add another tag to an already registered device to handle another person logging in and using the app?