Quote:Debugging the Facebook sdk i have found the problem seems to be that when inAppBrowser is installed the Facebook sdk detects that we are on a mobile phone even when running from a browser. (I assume inAppBrowser is responsbible for the change of navigator.UserAgent that happens) Using Chrome Developer tools to force the navigator.UserAgent to be fixed to the Chrome UserAgent in fact made all work, but that is of course not a proper solution As I need inAppBrowser to open legal documents etc I could not just remove it, but the is a way to avoid using inAppBrowser when on a browser or probably also only when performing tasks like login At the top of my app before loading any plugins you can save window.open like this var original_open = window.open; then later before you active login or if you want to after detecting we are on a browser you can do something like if (!this.isApp) { window.open = original_open; } So basically the error message is because the platform is being detected wrongly
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)