Closed grant-traynor closed 4 months ago
Should mention that this compiles and runs as expected on Android and Apple iOS.
I have the same compile problem for the web too after upgrade the firebase_ui_oauth_google to ^1.3.0 version.
You can solve the problem by downgrade the package by editing the pubspec.yaml and replace firebase_ui_oauth_google: 1.3.0
with firebase_ui_oauth_google: 1.2.17
This should solve your problem for now.
Currently also having the same compile problem for the latest release version :)
Seeing the same behavior as reported:
dhs@Dhss-MacBook-Pro firebase_ui_auth_example % flutter run -d chrome
Launching lib/main.dart on Chrome in debug mode...
../../../../../.pub-cache/hosted/pub.dev/firebase_ui_oauth_google-1.3.0/lib/src/provider.dart:97:13: Error: Superclass has no method named 'desktopSignIn'.
super.desktopSignIn(action);
^^^^^^^^^^^^^
Waiting for connection from debug service on Chrome... 31.4s
Failed to compile application.
dhs@Dhss-MacBook-Pro firebase_ui_auth_example %
flutter web: Even after clearing the cache and changing the version to 1.2.27, the issue still persists.
It is required by another package that needs version 1.3.0, so it keeps getting reinstalled. Which package is associated with this requirement for version 1.3.0?
It is required by another package that needs version 1.3.0, so it keeps getting reinstalled. Which package is associated with this requirement for version 1.3.0?
I faced the same issue. I finally forced the version in pubspec.yaml by removing the ^
firebase_ui_oauth_google: 1.2.17
not ideal, but it works for now.
It is required by another package that needs version 1.3.0, so it keeps getting reinstalled. Which package is associated with this requirement for version 1.3.0?
I faced the same issue. I finally forced the version in pubspec.yaml by removing the ^
firebase_ui_oauth_google: 1.2.17
not ideal, but it works for now.
In my case, even when I downgrade the version, 1.3.0 is newly installed. I tried removing packages that seem to be related, but it didn't help.
https://github.com/firebase/FirebaseUI-Flutter/assets/49754877/0571d34a-6567-4348-bd14-289ab9a2c6d0
@Patrick386 you need to remove '^' Infront the version number. the '^' symbol tell the pubspec.yaml to use package version 1.2.17 or Latest. that why it keep installed the latest package.
use firebase_ui_oauth_google: 1.2.17
without the symbol
@Patrick386 you need to remove '^' Infront the version number. the '^' symbol tell the pubspec.yaml to use package version 1.2.17 or Latest. that why it keep installed the latest package.
use
firebase_ui_oauth_google: 1.2.17
without the symbol
Thank you. I forgot to remove the '^'. I was able to roll back successfully.
i downgrade it to 1.2.17, but on -d macos
, it throw this redirect_uri_mismatch
error
Just adding that I had to do the same and downgrade to 1.2.17
/cc @lesnitsky
Just adding that I had to do the same and downgrade to 1.2.17
Is there an existing issue for this?
What plugin is this bug for?
Firebase UI OAuth Google
What platform(s) does this bug affect?
Web
List of dependencies used.
flutter pub deps -s list
Steps to reproduce
import ing firebase_ui_oauth_google.dart
import 'package:firebase_ui_oauth_google/firebase_ui_oauth_google.dart' as google_auth;
Causes a web build to fail:
Even when GoogleProvider is commented out in the auth providers list:
Expected Behavior
Other providers (Email and Apple) appear to be fine and function as expected.
Actual Behavior
Get the following error on compliation:
Additional Information
I've done a quick review of the code, and can see the MixIns are there in the
sign_in
andsign_in_web
clasess. I'll keep looking, but seems that this might be a bug?