fluttercommunity / fluttercommunity/flutter_webview_plugin

Flutter_webview_plugin, into Webview Website Google and Facebook login not working

Open
#698 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
938
PR merge metrics
No merged PRs in 30d

Description

I am using Flutter_webview_plugin to open a website like Godaddy or another, where is the have a login access button with Google and Facebook and I try to login or signup with Google or Facebook then it's not working.

firstly I was getting userAgent issue but I have added userAgent so now when i have gone for login using google or Facebook, then it take permissions after the permission it does not redirect on web URL and also it's not LoggedIn.

I am using this so please check and help me.

```
`Future makemytrip(BuildContext context) async {
var makemytripUrl = Container(

padding: const EdgeInsets.only(top: 25.0),

decoration: BoxDecoration(color: Colors.white),

child: WebviewScaffold(url: "https://makemytrip.com/",

userAgent:"Mozilla/5.0 (Linux; Android 4.1.1; Galaxy Nexus Build/JRO03C) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.166 Mobile Safari/535.19",

withJavascript: true,

),

);

await Navigator.push(

context,

MaterialPageRoute(builder: (context) => makemytripUrl),

);

}`
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.