Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Appcelerator cloud push notification in iOS

I have implement the cloud push notification in iOS using this tutorial iOS push notification tutorial. I have did everything as per the above documentation. No error occur while registration.

In cloud console I can see 1 iOS client clients subscribed to push notifications. Everything seems fine but I cant able to receive the push notification.(even I have restarted my iPhone)

I have sent a push notification from cloud console, but I cant able to receive the push notification in my iPhone. Can anyone help me to solve this issue?

Thanks in Advance

like image 975
Karthi Ponnusamy Avatar asked May 25 '12 04:05

Karthi Ponnusamy


1 Answers

Make sure you have the correct gateway selected on the server side. The easiest way is to check your mobileprovisioning profile and look for "aps-environment" string. If it is set to "development" you need to use Development (aka Sandbox) gateway. If it is set to "production" you need to use Apple Push Production gateway.

This link might be interesting too: http://www.pushwoosh.com/programming-push-notification/appcelerator-titanium-push-notification/

There are might be VERY small chance that firewall or router blocking push notifications, but this could be easily detected by switching your device from WiFi to 3G.

like image 137
Noah Borg Avatar answered Sep 27 '22 20:09

Noah Borg