fluttercommunity / fluttercommunity/flutter_webview_plugin
Flutter_webview_plugin, into Webview Website Google and Facebook login not working
- 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
Research direction
Start with the WebviewScaffold configuration shown in the issue, including userAgent and withJavascript, and reproduce the Google and Facebook login flow against the listed makemytrip.com URL. Done means the permission flow redirects back to the website and leaves the user logged in, or the plugin's limitation is documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter
- Domain
- authentication, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100