-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security warning #21
Comments
i have the same problem ((( |
@kieranpaul I install new InAppBrowser plugin http://plugins.cordova.io/#/package/org.apache.cordova.inappbrowser |
I still have the same issue even after installing Cordova InAppBrowser plugin. Is there anything that I should do? |
No, i just install plugin. |
@vomchik Thanks! I got this working now. This is what I did.
In config.xml, I added
|
I have tried all solutions on this thread and many others, none seem to help me. I am getting the Success Security Warning message on my android device. It works very well on my browser (I am using Visual Studio 2013 update 4). I do have the following: InAppBowerser version 1.0.0, installed as a plugin Initially I was getting "the redirect_uri is not supported", I fixed this by placing: runningInCordova = true; document.addEventListener("deviceready", function () { in the OpenFB.js file, since on my adroid device the above listener was not executing. This now gives me access to the FB login screen. But after login in I get the Success Security Warning message. I have spent 3 days trying to resolved this issue. I have tried many, many things but nothing seems to works. I am sure there is a solution out there. Is there a way to fix this? Please help, Thank you in advance. Louis |
I am willing to help since I have already faced this issue. Can you send a
|
I would really appreciate your help: Here is how I call it: My openfb.js is the same the one you posted here: https://github.com/eugenemaning/openfb.js/blob/master/openfb.js with the exception that I had to add [ runningInCordova = true; ] after the addEventListener, since it doesn't seem to execute when running in my Android device, the code now looks like this:
If I don't add it, it says: [ the redirect_uri is not supported ] Thanks in advance. Louis |
I am sorry for being a pest, but I can't find any solution for my issue. It seems to be a very easy solution, but I can't find it. I've spend many days on this already. Please help. |
If you had to manually add runningInCordova = true, it probably means you didn't include cordova.js in index.html:
Note: cordova.js doesn't have to be available (and shouldn't be) in your www folder. It is automatically injected by the Cordova build process. Also make sure you have the inappbrowser plugin installed:
|
I am having this problem, too. I am literally cursing myself for using this library. I am using inappbrowser, I was forced to set runningInCordova = true because in android it didn't get recognized (I am building with pg:build) |
I can get this working in the browser but I keep getting a Security warning in my phonegap app?
I'm sure if I am setting my Facebook app up correctly.
Any help would be must appreciated :)
The text was updated successfully, but these errors were encountered: