Hello Marten,

Not sure why do you want to change the SENDER ID, the sender id would
remain same/constant unless you create the new SENDERID through the google
developer console and secondly the most RegistrationID which gets change
that you can always update from the APK code to the DB (locally).

and secondly if there is  a change in the SENDER ID the apk will not
receive the GCM at all ?



On Tue, Feb 3, 2015 at 9:53 PM, Marten Gajda <mar...@dmfs.org> wrote:

> Hi all,
>
> in my project I need to be able to update/change the sender ids of the GCM
> registration. In general, this seems to work.
>
> However, after changing the sender ID the received extras bundle doesn't
> contain a "from" value anymore.
>
> When I register for the first time, the push messages look like:
>
> Bundle[{from=xxxxxxxxxxxx, topic=b1c398b8-a9c7-4c73-a98d-d89b5272beec,
> collapse_key=do_not_collapse}]
>
> where "xxxxxxxxxxxx" is the sender id.
>
> After I change the sender id to "yyyyyyyyyyyy" I receive this:
>
> Bundle[{from=, topic=b1c398b8-a9c7-4c73-a98d-d89b5272beec,
> collapse_key=do_not_collapse}]
>
> Is this intended behavior? Is it just temporary? Is there any way to get
> the sender id back in there?
>
> thanks
>
> Marten
>
> --
> Marten Gajda
> Schandauer Straße 34
> 01309 Dresden
> Germany
>
> tel: +49 177 4427167
> email: mar...@dmfs.org
> twitter: twitter.com/dmfs_org
>
> VAT Reg. No.: DE269072391
>
> --
> 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
> --- You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-developers+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Warm Regards,
*Mukesh Kumar*,
Android Consultant/Freelancer,
India,Hyderabad.

-- 
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
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to