I am using Amazon SNS Mobile Push. Our first implementation of push notifications will be on Android via Google Cloud Messaging (GCM).
So far, we have the device endpoint registration workflow working perfectly:
Android device resumed -> Obtain GCM Reg ID -> Send Reg ID to server -> Server sends Reg ID to Amazon SNS to obtain Endpoint ARN -> Server stores Endpoint ARN for later use
No problems here! However, the question I'm asking: how do we support users with apps installed across multiple devices when using Amazon SNS Mobile Push?
GCM calls this functionality User Notifications.
Given that we will then go on to support iOS and perhaps devices in China (via Baidu Cloud Push), is there any mechanism built into the Amason SNS API that allows for endpoint 'grouping'?
I have thought about keeping track of the 'User -> Endpoint' mapping on my end - and then sending a message to all the user's endpoints - but this seems like a hack.
Thanks!