Great. I am using GCM since a year ago for a logistics company and we have 3000 drives where in we need to push the messages to all the drivers who are running our applications
On Thu, Feb 5, 2015 at 3:26 PM, marten <[email protected]> wrote: > Hi Mukesh, > > thanks for your response. Our app needs to be able to receive push > messages from different "publishers". The publishers are determined > dynamically and might change. Of course each publisher has its own sender > id which doesn't change. > > In them meantime I was able to resolve the problem. Apparently messages > with empty "from" value originated at a publisher that we were no longer > registered with. The old publisher still had our old registration id and > kept pushing messages to it. These messages arrived without "from" value. > For some other reason the messages from the new publisher didn't make it > through, but that's a different story. > > So everything works as intended. > > cheers > > Marten > > > > Am Mittwoch, 4. Februar 2015 09:31:46 UTC+1 schrieb Mukesh Srivastav: >> >> 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 <[email protected]> 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: [email protected] >>> 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 [email protected] >>> To unsubscribe from this group, send email to >>> [email protected] >>> 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 [email protected]. >>> 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 [email protected] > To unsubscribe from this group, send email to > [email protected] > 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 [email protected]. > 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.

