fluttercommunity / fluttercommunity/flutter_webview_plugin

Flutter_webview_plugin, into Webview Website Google and Facebook login not working

未关闭
#698 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
1.5k
派生
938
PR 合并指标
30 天内没有已合并 PR

描述

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),

);

}`
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

从 issue 中展示的 WebviewScaffold 配置开始,包括 userAgent 和 withJavascript,并针对列出的 makemytrip.com URL 复现 Google 和 Facebook 登录流程。当权限流程重定向回网站并使用户保持登录状态,或记录 plugin 的限制时,即视为完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
flutter
领域
authentication, mobile
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。