AnsweredAssumed Answered

CMX Connect and Engage Push Notification to Android Device

Question asked by doganselteker on Feb 26, 2015
Latest reply on Mar 2, 2015 by Ideal-Networks

Hello,

 

I have configured Mobile Application Server and synchronized it with Connect and Engage. I also have related application software on my android device. I can see my location on the map and track myself without any problem.

 

Now, I'm trying to send a push notification whenever the device enters to a certain zone. I configured the zone on the Connect and Engage Zone Editor and wrote down the text I would like to push. Then, I typed the API key, which I got from GCM project, to the "Push Notification Setup" tab on the Connect and Engage. Also, I edited sender ID part of the code with Project ID of GCM project.

 

I tested it from Mobile Application Server with related commands, and everything seems to be fine:

 

~$/opt/cmx-mobile-app-server/bin/sendPushNotificationByMac.sh "Mac Adress of device" message

[ INFO] 2015-02-26 11:02:04,947 - ------- Wireless Client Push Notification -------

[ INFO] 2015-02-26 11:02:05,039 - Starting to send push notification to client: "Mac Adress of device" with message: message

[ INFO] 2015-02-26 11:02:05,042 - Completed sending push notification to client: "Mac Adress of device" with message: message

 

~$/opt/cmx-mobile-app-server/bin/testPushNotificationByMac.sh "Mac Adress of device"

[ INFO] 2015-02-26 11:03:20,706 - ------- Wireless Client Push Notification -------

[ INFO] 2015-02-26 11:03:34,503 - ------- Wireless Client Push Notification -------

[ INFO] 2015-02-26 11:03:34,539 - Starting to send push notification to client: "Mac Adress of device" with message: Thu Feb 26 11:03:34 EET 2015: Test Message

[ INFO] 2015-02-26 11:03:34,544 - Completed sending push notification to client: "Mac Adress of device" with message: Thu Feb 26 11:03:34 EET 2015: Test Message

 

Nothing happens on the device side, no notification is coming. I don't know what I'm missing, any help or advice will be much appreciated.

 

Thanks in advance,

Dogansel

Outcomes