I'm building a hybrid app using Telerik's Icenium platform. I recently started integrating Kinvey for the app's backend and came across a strange issue. Hoping you guys can shed some light on it.
pretty much step by step. I ended up using Cordova's InAppBrowser for my redirects to fb, google, twitter, etc. Everything works fine on Android (testing on my HTC Droid DNA). For example, when I log into facebook and allow my app to access my fb account, when it redirects back to whatever redirect URI I specified when I created the fb app the access tokens are appended to the url properly
However when I run the same app on my iPhone 5 those access tokens aren't appended to the redirect URL...so I can't go get them and parse anything :( The query string parameters are being stripped out or something??
I tried my app both running through the Icenium Ion app and also after I provisioned my iPhone for development (not using Icenium Ion) and see the same thing. Again, it only happens on iOS, Android appears to be fine
I asked the Kinvey support guys about it and got back this response:
"Does the redirect URI come back with no query strings at all? I would expect an error message at least. Is the code 200?
Not sure what could be wrong, this has been used many times. There is no security setting in iOS that would cause stripping of query strings (assuming the response is not an error).
Did you ask the Icenium guys, they may have some clues."
I haven't tried to use the ChildBrowser plugin and I really don't want to since the shiny new InAppBrowser is in there now :)
I've since moved on from this issue but I can wire everything back up in my project if you guys need me to so you can try and reproduce this issue on your end.
Just lemme know, and thanks in advance for any help