SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent
I am creating an application using cordova: openDatabase('testname', '1.0', 'Database display name', 5 * 1024 * 1024) I am using a plugin to sign in with Facebook https://github.com/wizcorp/phonegap-facebook-plugin. After a successful login I am calling the following function: facebookConnectPlugin.api("<user-id>/?fields=id,email", ["user_birthday"], function (result) { alert("Result: " + JSON.stringify(result)); /* alerts: { "id": "000000123456789", "email": "[email protected]" } */ openDatabase('testname', '1.0', 'Database display name', 5 * 1024 * 1024) }, function (error) { alert("Failed
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.