X

GCM Notifications Test Tool

 


Here is a nifty little tool to help developers test GCM notifications. While developing GCM or Google Cloud Messaging Notifications in Android applications, it is important to have a simple server to test if client code is working correctly. This free GCM notifications test tool below does exactly that – allows you to easily send GCM notifications to your Android client without needing to code out the server side code.

Instructions for using the GCM Notifications Test Tool

Enter the API Key and the GCM ID of the client that you want to the send the test notification to.

Enter the data for the notifications. You can enter this as key-value pairs. If you are using sample code, your default key is probably ‘message’ (enter this in the Key 1 box) and you can enter ‘hello world’ in the value field (enter this in the Value 1 box).

 

Do let us know in the comments section if you found this GCM notifications test tool useful to test your Android GCM code.

Please help other developers find us by linking to techzog.com or by clicking on one of the social sharing buttons below. Every link and share is highly appreciated. Thanks!

As an Android developer, you might also want to bookmark How to Recover Lost Android Keystore Password. You might also like 5 Simple Tips to Prolong your Phone’s Battery Life.

Comment Policy: Comments adding value to the article are encouraged. Relevant links will be allowed in such comments.
If you think that you have a link that adds value to this article please contact us at techie[at]techzog[dot]com for evaluation of inclusion into the article.
Comments left solely for spamming links will be deleted. Thank you for understanding.
Varun: Passionate blogger and main author at Techzog.com. Feel free to reach me at techie[at]techzog[dot]com

View Comments (25)

  • Hi..it's very helpful tool. I am able to sending the push notification but message was not received on the device.
    Would you please any one help me on this.

    • Will need more information to help you.
      1. Did you get a success code in the response from the tool?
      2. Did you cross check the GCM id?
      3. Have you implemented the broadcast receiver correctly? You can print logs and see whether they are showing up in logcat.

  • Thank you for your effort! It works great for me.
    Can we also send unescaped string, some thing like :
    "data":{"id":31232, "tex":"fsfds"} ?

    • I just tested it. It seems to be working fine with my test case. Can you specify what message you are trying to send so that we can debug this issue?

  • Hi,
    How to send message to any specific time? I am unable to do so by setting "data": {
    "score": "4x8",
    "time": "15:47.2342"
    }

  • Nice tool for testing Push Notification,
    but if you could also provide options to add more key value fields, that would be really more helpful...

Related Post