[Logo] FantasticX Support - FantasticX Support
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: jbiggis
Forum Index » Profile for jbiggis » Messages posted by jbiggis
Author Message
From a previous push notification service that I used, I had this line:

[[UIApplication sharedApplication] registerForRemoteNotificationTypesUIRemoteNotificationTypeBadge | UIRemoteNotificationTypeSound | UIRemoteNotificationTypeAlert)];

in my - (BOOL)application: (UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions method

I took it out and it doesn't crash anymore.

I'm assuming Fantastic X calls this line within the SDK right?
I'm trying to integrate Push Notifications into my app.

But as soon as I add this line:

[[FantasticPush shared] registerDeviceToken:devToken];

into the "- (void)applicationUIApplication *)app didRegisterForRemoteNotificationsWithDeviceTokenNSData *)devToken" method

I get this crash:

[CFString release]: message sent to deallocated instance 0x5d8ff80

Any idea why? Anyone else having this problem?
 
Forum Index » Profile for jbiggis » Messages posted by jbiggis
Go to:   
Powered by JForum 2.1.9 © JForum Team