Tarun Kumar
Tarun Kumar

Reputation: 142

Phonegap Authentication facebook in WebView error to open window.openDatabase

I have open Web view for authentication Facebook in phone gap android.

After authentication successful I get error:

Uncaught Security Error: Failed to execute 'open Database' on 'Window': Access to the Web Database API is denied in this context"

Upvotes: 0

Views: 503

Answers (1)

user3082143
user3082143

Reputation:

Please don't use this Facebook Plugin because this plugins open login popup in your application so window object change. so first you install InAppBrowser Phonegap plugin, then refer this Facebook InAppBrowser Phonegap.

In this example all facebook method you can access and using this example solve this error.

Upvotes: 2

Related Questions