Please try the android-gcm Google Group for GCM-related questions.

On Mon, Jul 2, 2012 at 3:42 PM, Dimitar <orangecounty...@gmail.com> wrote:
> We have a published app that currently is using C2DM and we would like to
> move to the new GCM service.
> The migration document on this subject from Google is pretty straight
> forward but it does not clarify a couple of important questions:
>
> If all we did was enable the GCM service to start the development of the new
> version of the app, would that affect our existing C2DM process for our
> published version? I would think the answer is "NO" but since we do not want
> to disrupt the service we provide to our existing customers, we would like
> to be sure before moving forward.
> In order to avoid any disruption of service with our existing customers we
> are planning on keeping track of wether a device has the old C2DM
> Registration ID or the new GCM Registration ID. The process would be as
> follows: If it is a new customer who downloaded our new version of the app
> with GCM, it is pretty straight forward and they will obtain the new Reg ID
> when they start the app, which will get reported to our servers. But if this
> is an existing user who upgraded from the old application with C2DM, they
> already have their device registered with the old C2DM registration ID with
> our servers, so there are two possibilities:
>
> They updated the app and they started the app right after. In this case they
> would obtain a new GCM Registration ID and that would get reported to our
> servers. So, no issues anticipated here.
> They updated the app, but did not immediately start the app. In this case
> our server would still have the old C2DM Reg ID. Our plan is to have two
> server side push notifications services during the transition period to
> handle this scenario (and also support all the old users who decided not to
> upgrade the app). If the user has the old Registration ID, the old push
> notification service will send the notification the way we have been doing
> before. If the user has a new GCM Reg ID we will be using the new GCM push
> service on the server. Dose anyone see a problem with this logic?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to android-developers@googlegroups.com
> To unsubscribe from this group, send email to
> android-developers+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to