You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem:
When I try to run my flutter web app, I get the following error:
../../flutter/.pub-cache/hosted/pub.dartlang.org/google_one_tap_sign_in-1.0.3/lib/google_one_tap_sign_in.dart:4:8: Error: Not found: 'dart:ffi'
import 'dart:ffi';
^
Waiting for connection from debug service on Chrome... 152.1s
Failed to compile application.
Even though pub.dev says the package doesn't support flutter web, it looks like from the package ChangeLog that flutter web has been supported since version 1.0.0 (because it supports web Client Ids).
I tried running:
flutter clean
flutter packages get
flutter pub add ffi
and none of the above worked.
Any ideas/thoughts? Thanks in advance :)
The text was updated successfully, but these errors were encountered:
+1.
Right now, the only way to build the web app is to remove the plugin import and any code associated with it.
I understand that this plugin is android-exclusive, but there should be a way to build the web app without temporary removing all of that. Maybe making a web version that will just throw an error upon call will be sufficient, because what we actually need to achieve here is to just avoid internal ffi import.
Package version: google_sign_in_web 0.10.1
Problem:
When I try to run my flutter web app, I get the following error:
Even though pub.dev says the package doesn't support flutter web, it looks like from the package ChangeLog that flutter web has been supported since version 1.0.0 (because it supports web Client Ids).
I tried running:
flutter clean
flutter packages get
flutter pub add ffi
and none of the above worked.
Any ideas/thoughts? Thanks in advance :)
The text was updated successfully, but these errors were encountered: