Closed nadl84 closed 11 years ago
Which version of Cordova are you using? The patch to use cdvjk_JSONString only applies to the version from GIT until Cordova 2.1 is released.
On Thu, Aug 23, 2012 at 4:34 PM, elasrinadir notifications@github.comwrote:
Hi,
I'm getting this warning when compiling:
SQLitePlugin.m:231:43: warning: instance method '-cdvjk_JSONString' not found (return type defaults to 'id') [self respond:callback withString:[resultSet cdvjk_JSONString] withType:@ "success"];
Any ideas ?
— Reply to this email directly or view it on GitHubhttps://github.com/chbrody/Cordova-SQLitePlugin/issues/40.
I'm using Cordova 2.0. Do I have to keep JSONString instead of cdvjk_JSONString ?
I'm using Cordova 2.0. Do I have to keep JSONString instead of cdvjk_JSONString ? Yes.
No more warnings. Thanks a LOT! :-)
In a similar vein, I'm getting: Instance method '-JSONString' not found (return type defaults to 'id') I'm using Cordova 2.1 incubating src, because I need the fixes for IOS6. Should I add the cdvjk_ prefix?
yes
On Fri, Sep 14, 2012 at 11:04 PM, Phil Mitchell notifications@github.comwrote:
In a similar vein, I'm getting: Instance method '-JSONString' not found (return type defaults to 'id') I'm using Cordova 2.1 incubating src, because I need the fixes for IOS6. Should I add the cdvjk_ prefix?
— Reply to this email directly or view it on GitHubhttps://github.com/chbrody/Cordova-SQLitePlugin/issues/40#issuecomment-8575575.
Got it ... Thanks, Chris!!
I'm using Cordova 2.1 incubating src, because I need the fixes for IOS6. Should I add the cdvjk_ prefix?
Cordova official release is now 2.1, this will be standard in the source.
Chris
Fixed and closed.
change [NSString jsStatement = [NSString stringWithFormat:@"window.plugins.pushNotification.notificationCallback(%@);", [userInfo cdvjk_JSONString]];] --> NSString jsStatement = [NSString stringWithFormat:@"window.plugins.pushNotification.notificationCallback(%@);", [userInfo JSONString]];
Hi,
I'm getting this warning when compiling:
SQLitePlugin.m:231:43: warning: instance method '-cdvjk_JSONString' not found (return type defaults to 'id') [self respond:callback withString:[resultSet cdvjk_JSONString] withType:@"success"];
Any ideas ?