gcm_on_rails icon indicating copy to clipboard operation
gcm_on_rails copied to clipboard

Support for Multiple Applications

Open taybenlor opened this issue 12 years ago • 3 comments

Similar to the way Rapns works.

taybenlor avatar Aug 02 '12 05:08 taybenlor

taybenlor thanks for the suggestion, but can you please expand on this idea further? Google's gcm is meant to provide push notifications to Android devices. What do you mean by "multiple applications"?

dondeng avatar Aug 02 '12 06:08 dondeng

So we run one server currently which does all our iOS push notifications. The clients hit the server with something like:

device_token: 1
app: com.foo.bar

Then the server stores devices, app names and their appropriate tokens and we are able to send push messages either by API or from a web interface.

We want to expand this to support Android, so I need to do some GCM stuff.

I'm throwing in these issues as markers ahead of time for some things I'll be doing over the next few days. I'll be submitting these as pull requests. If you're okay with that?

taybenlor avatar Aug 02 '12 06:08 taybenlor

Sorry upon checking out Rapns, I realized what you meant. (my bad :-) For a minute I thought you meant different mobile platforms as opposed to different apps within Android - my mistake. Yeah that's a good proposition... keep us posted. I'll let you know of any pointers I come up with.

dondeng avatar Aug 02 '12 06:08 dondeng