I made an application on urbanairship. Application mode is production. Then i went to provisioning portal at developer.apple.com. In App id section, i went to my app id and downlaoded the production push push Ssl certificate. Export it and made an .p12 file and uploaded it on urbanairship application. Then in xcode, i opened my app and in AppDelegate.m after imports i wrote my urban airship application id and application master secret like this:
#define kApplicationKey @"Applicaton id"
#define kApplicationSecret @"Application Master Secret"
Then in AppDelegate.m i have this code for registering device for push notificatons:
- (BOOL)application:(UIApplication *)applicationdidFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[self.window addSubview:navigationController.view];
robert pattinson new moon
kristen stewart hair 2011. jan
victoria beckham short hair
jennifer garner haircuts.
#define kApplicationKey @"Applicaton id"
#define kApplicationSecret @"Application Master Secret"
Then in AppDelegate.m i have this code for registering device for push notificatons:
- (BOOL)application:(UIApplication *)applicationdidFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[self.window addSubview:navigationController.view];