I tried using Urban Airship for sending push notifications to the devices. I register the device to push using: Code:
[[UIApplication sharedApplication] registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];
I created an app on Urban Airship, uploaded the certificate key and tried sending a broadcast with no success. Only when I manually added the device token to Urban Airship, I successfully sent and got a broadcast. My question is - can I use Urban Airship to send Push notifications without registering device tokens and how? If not, how do I register the device tokens automatically from the app (and not using the curl code)? Is there any other push provider which doesn t require more than Apple s basic registerForRemoteNotificationTypes: method?
感谢!