Topic
  • 5 replies
  • Latest Post - ‏2012-04-18T05:45:38Z by SystemAdmin
SystemAdmin
SystemAdmin
570 Posts

Pinned topic Question about C2DM server

‏2012-04-17T02:13:17Z |
Hi There

I'm running WL Studio 4.2.2.1294 and WL server Build Version: 4.2.2.1283

I want to use push notification module for my app. But I always can't register to C2DM server, I don't know whether it's C2DM's problem or China's network problem.

So I want to find out some solutions more stable. Is there any alternative to C2DM server. I get some paper about MQTT, does it possible to use other technology or protocol such as MQTT into Worklight?
Thanks, Tim
  • IdanAdar
    IdanAdar
    288 Posts

    Re: Question about C2DM server

    ‏2012-04-17T03:41:36Z  
    Worklight supports C2DM (for Google) and APNS (for Apple) for Push Notificatins.
    MQTT is not quite push notifications?

    Are you sure you have created a C2DM-enabled gmail address and use it in your application's application-descriptor as per the Push Notifications sample? This would be the first cause of issues with this feature.
  • SystemAdmin
    SystemAdmin
    570 Posts

    Re: Question about C2DM server

    ‏2012-04-17T05:14:18Z  
    HI, Idan

    Thank you for your reply.

    I have setted the current sender id in application-descriptor.xml, and I can register to C2DM server occasionally. But I can't guarantee this procedure would be 100% successful. I am not sure if C2DM server is not stable or other reasons.
  • IdanAdar
    IdanAdar
    288 Posts

    Re: Question about C2DM server

    ‏2012-04-17T05:28:14Z  
    I can't guarantee this either. :)
    Do you have any logs to share from LogCat when the registration fails?
  • IdanAdar
    IdanAdar
    288 Posts

    Re: Question about C2DM server

    ‏2012-04-17T08:01:10Z  
    About MQTT - the official word is no, but feel encouraged to contact our sales team for more information regarding supporting for MQTT...
    http://www.worklight.com/company/contact-us
  • SystemAdmin
    SystemAdmin
    570 Posts

    Re: Question about C2DM server

    ‏2012-04-18T05:45:38Z  
    HI, Idan

    Thank you for your reply.

    If I need any support for MQTT, I will cantact your sales team.