webView:didFailLoadWithError - (null) phone gap app for ios - iphone

I'm getting this error while loading paypal checkout page. I'm using in app browser of phonegap for this.Any idea?
webView:didFailLoadWithError - (null)
*** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[3]

I've got the same problem. The resolution is being discussed in the cordova forum https://issues.apache.org/jira/browse/CB-3530.

Related

App terminates on run

I am making an app in Swift and Xcode 6 and everything has been working fine, until now. When I go to run it, I get a delegate error and it crashes immediately. Here is the debugger code:
2014-11-11 10:18:48.282 Pro Cast[2987:65789] *** Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason: 'You have to call setApplicationId:clientKey: on Parse to configure Parse.'
I've never had an issue with Parse up tot his point. What can I do?
You need to set your Parse applicationID and clientID in the AppDelegate.m. Specifically in didFinishLaunchingWithOptions You can get your appID and clientID on the parse website.
Don't forget to import the parse framework.

What's the difference between 3G and Wifi in iOS5?

Got some problem in here, in my application, I'm using Twitter API in showing the timeline of different users. The weird thing is, it's doing fine if my connection is WIFI, but when I switch to 3G, my Application crashes... Can somebody explain me what's the reason behind this weird experience? Great thanks ...
The crash log is
2012-08-29 16:17:23.847 PFAv1[4044:707] array of tweets count 2
2012-08-29 16:17:23.850 PFAv1[4044:707] -[__NSCFDictionary objectAtIndex:]: unrecognized selector sent to instance 0x21b7e0
2012-08-29 16:17:23.854 PFAv1[4044:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFDictionary objectAtIndex:]: unrecognized selector sent to instance 0x21b7e0'

Scringo Help (Freezes / Sigbart)

I have Scringo all set up in my application. However after the user logs into facebook and returns to the app the app freezes and my log shows this error.
2012-07-24 10:25:56.724 BlackOps2[3558:907] -[__NSDictionaryM stringByAddingPercentEscapesUsingEncoding:]: unrecognized selector sent to instance 0x1cd510
2012-07-24 10:25:56.728 BlackOps2[3558:907] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSDictionaryM stringByAddingPercentEscapesUsingEncoding:]: unrecognized selector sent to instance 0x1cd510'
*** First throw call stack:
(0x3544356b 0x3572397f 0x354474fb 0x35445c0d 0x35397e68 0x2ba0b 0x24ead 0x30b49 0x42fc7 0x2242f 0x1c4f1 0x1c8c3 0x35fec5b5 0x35f3d991 0x35f3d8ad 0x318a6acf 0x318a61bb 0x318ce323 0x3538a2e1 0x318ce783 0x31832c65 0x35414143 0x354139a9 0x354126ef 0x35390c1d 0x35390aa9 0x3825433b 0x364fa535 0x2731 0x26f0)
libc++abi.dylib: terminate called throwing an exception
(gdb)
Any help would be great!!
I think that the problem is because your FB app includes some advanced setting that tells Facebook to use a response format that should be activated by default only in Oct, 2012 and your Scringo version still doesn't support it.
To make it work you should either:
1) Update to the latest Scringo version
or
2) Go to your FB app settings (where you registered your FB app), and choose the Advanced Settings. There, you'll see a Migration section. Make sure the following field is DISABLED:
October 2012 Breaking Changes (this will work until 3, Oct 2012)

App crashes after logging in using facebook connect

I have setup my application key and secret as well as added the facebook connect button to my view. When I select the button and login within the app, it crashes with the following error
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CategoryQuoteViewController session:didLogin:]: unrecognized selector sent to instance 0x5d10800'
I have no idea what this is and cant find anything on the facebook wiki.
The - (void)session:(FBSession*)session didLogin:(FBUID)uid delegate method needed to be added.

Has anyone successfully used MPOAuth on iPhone to connect with twitter?

My project builds fine but when it gets to line pasted bellow it crashes with the following message.
CODE:
oauthAPI = [[MPOAuthAPI alloc] initWithCredentials:credentials
authenticationURL:[NSURL URLWithString:#"https://twitter.com/oauth/"]
andBaseURL:[NSURL URLWithString:#"https://twitter.com/"]];
ERROR:
Assertion failure in
-[MPOAuthAuthenticationMethodOAuth initWithAPI:forURL:withConfiguration:],
/Project/MPOAuth/MPOAuthAuthenticationMethodOAuth.m:49
Terminating app due to uncaught
exception
'NSInternalInconsistencyException',
reason: 'Incorrect number of oauth
authorization methods'
twitter now uses OAuth as authentication mechanism. You will have to change your oauthAutoConfig.plist
The entry for twitter should look like this