callback/callback-ios — Issue #21: Phonegap 1.2 app crashes on resume from push notification
Author: emile818
Created: 2011-11-24 19:37:19+00:00
State: open

it turned out that the commented code bellow was causing it

// NSArray *keyArray = [launchOptions allKeys];
// if ([launchOptions objectForKey:[keyArray objectAtIndex:0]]!=nil)
// {
// NSURL *url = [launchOptions objectForKey:[keyArray objectAtIndex:0]];
// self.invokeString = [url absoluteString];
// NSLog(@"signal launchOptions = %@",url);
// }

this code did work fine:
NSURL *url = [launchOptions objectForKey:UIApplicationLaunchOptionsURLKey];
if (url)
{
self.invokeString = [url absoluteString];
NSLog(@"listingApp launchOptions = %@", url);
}

That's the log from testflightapp: -[__NSCFDictionary absoluteString]: unrecognized selector sent to instance 0x29edc0

and that's a stackoverflow about it http://stackoverflow.com/questions/2455161/unrecognized-selector-sent-to-instance

IOS : 5.0 iphone 3GS jb