flutter
플러터 iOS WebView 구글 로그인 403 Error
FaustK
2023. 10. 16. 13:44
플러터 ios 웹뷰 구현 중 구글 로그인 403 에러가 발생하였다.
다음과 같이 작성하니 해결되었다.
class HomeScreen extends StatelessWidget {
const HomeScreen({super.key});
@override
Widget build(BuildContext context) {
return const Scaffold(
body: WebView(
userAgent: "random",
initialUrl: 'https://example.com',
javascriptMode: JavascriptMode.unrestricted,
),
);
}
}
https://dev.to/suraj975/flutter-webview-google-sigin-issue-3j2h
Flutter Webview Google Sigin Issue (403)
Webview has been one of the great things in-app community that has helped developers to convert a res...
dev.to