I'm writing a PhoneGap based application for iOS 5. And I faced up with the following problem:
I use Facebook for login. After successful authentication, user should be returned to my application. Everything works ok except one thing - url that is returned from Facebook with http 301(redirect) is opened in a new safari window instead of PhoneGap's webView.
I'm confused because usually I need to write some extra code to force PhoneGap app open URL's in Safari. And now I have a vice versa situation.
Is there any workaround to avoid such behavior?
I'm using OS X 10.6.8, Xcode 4.2, PhoneGap 1.2.0.