Push Notifcation Woes with Titanium and Xcode

I use Titanium 2.0.2 to create an application for the iPhone, which should, among other things, be able to receive push notifications. I did the following

and. Created an AppID in my Apple Developer account b. Configuring AppID for Push p. I created a new provisioning profile using the newly created AppID e. For a good measure, I edited this profile - given that I heard messages that for the first time he was not taking information about the application correctly.

Armed with all this, I started registering my Push app using Ti.Network.registerForPUshNotifications and encoded success, error, and callback methods. I closely followed the example in the Titan Kitchen Sink demo.

Having done all this, I fully expected one of the following results.

  • Registration completes successfully, and I get a warning message that I am stuck in the Success callback.
  • Registration fails, and I get a warning message in the Error callback

To my great surprise, nothing happens at all - it looks like a call to registerForPushNotifications, which goes on air and well ... is gone

To be sure that I created a simple Xcode project, following the excellent tutorial at http://maniacdev.com/2011/05/tutorial-ios-push-notification-services-for-beginners/ . The application logs in using APNS, and I delay the designated remoteDeviceUUID using my iPad and http://itunes.apple.com/us/app/consolelog/id415116252?mt=8 . Then I adapted the simplepush.php script from ManicDev and ran it from my local WAMP server. He goes to APNS and puts off my first PUSH message. But he never comes to my iPad!

For completeness, I should mention that with TestFlightApp I find development on my iPad using TestFlightApp.

So what am I doing wrong here?

. Titanium RegisterForPushNotifications? . Wny XCode Push?

.

+5
2

, . Push- iPad WiFi. , APNS. , "" , , . DMZ , - , Sitecom.

+1

Adhoc , Test Flight "Production" push notifications not development, , , APNS, .

0

All Articles