Jayaram
Jayaram

Reputation: 839

GCM and App engine for push notifications

I was wondering if using GCM and app engine would be the best option for my problem. It definitely doesn't seem trivial.

I have a list of shows and users on the android app can subscribe to multiple shows. each show can have multiple times. I would like to send a notification to the user for the shows he/she is subscribed to.

now i can use gcm and register every instance of the app. and then use appengine somehow to constantly run a background service that looks for who it should notify and then push a notification ? Is this the only option or is there a better way to do this ?

Upvotes: 0

Views: 72

Answers (1)

Ali
Ali

Reputation: 539

There is a better option too, you may use Google topic messaging.

You have to subscribe your users to your desired topic, e.g. show-1 on the android app, then send a push notification to that topic to: \topics\show-1(instead of a list of reg-ids).

Then all of the users which had been subscribed to that topic will get the notification.

Upvotes: 1

Related Questions