Android Webview and Facebook Login Not working

后端 未结 2 1313
误落风尘
误落风尘 2021-02-03 10:13

I am having a problem with a WebView app that I am working on.

We have this responsive website that is being displayed through an android WebView

相关标签:
2条回答
  • 2021-02-03 11:03

    I'm fairly certain it's this same issue. Essentially it opens in another window and WebView doesn't support multiple windows out-of-the-box.

    Luckily for you, unlike that question which was iOS-specific, if I recall correctly, it's possible to extend WebView to support multiple windows. You'll need to extend WebChromeClient, implement onCreateWindow and use it in your WebView.

    0 讨论(0)
  • 2021-02-03 11:05

    I was able to find a solution based on a previous question on stackoverflow.com

    Making facebook login work with an Android Webview

    Here is a link to my MainActivity : http://pastebin.com/KdzfhqDJ

    0 讨论(0)
提交回复
热议问题