Open zgast opened 1 year ago
Because firebase_auth_desktop >=1.0.2 depends on firebase_core ^1.20.0 and aaaa depends on firebase_core ^2.13.1, firebase_auth_desktop >=1.0.2 is forbidden.
So, because aaaa depends on firebase_auth_desktop ^1.0.2, version solving failed.
firebase_core: ^2.13.1 firebase_storage: ^11.2.2 firebase_auth: ^4.6.2 firebase_core_desktop: ^1.0.2 firebase_auth_desktop: ^1.0.2 firebase_ui_auth: ^1.3.0 firebase_ui_oauth_google: ^1.1.5 firebase_ui_firestore: ^1.5.2
Any movement on this or known workarounds?
I have the same issue as @Patrick386 . It's a mystery to me why there is no support for windows officially.
same issue as of 09/20/2023
This PR would fix it: https://github.com/FirebaseExtended/flutterfire_desktop/pull/131
I was reading about this pr, do u know when it will be merged?
I was reading about this pr, do u know when it will be merged?
Unfortunately I do not, I'm just the author of the PR.
As this issue hampered the development of my apps, I had to find a solution (although pretty stupid and temporary), I admit its not a replacement but It gets things to work.
I was stuck on this issue for 3 days straight, but I did eventually get it working, but I had to edit the libraries, so you're going to have to edit them anywhere you want to build (thus it being a temporary fix)
Here's the fix:
-first, I used this combination of dependencies:
-second, I added this dependency override:
-If you build now, you'll be greeted by a familiar error:
-This is where you have to edit the native libs, as suggested in here I had to edit FallThroughError()
with throw UnsupportedError('Unknown LoadBundleTaskState value: $state.');
(any valid statement should work, since FallThroughError simply doesnt exist and has to be changed)
-build again, and it should work :)
I repeat, PLEASE dont stop asking for a legitimate fix, this method is extremely stupid and should not be relied on, counting on this library to be fixed in the future.
This PR would fix it: #131
@Ehesp please prioritize merging this PR
I am on 3.13.6 and after 20+ hours had to do this to get things working - may help you: (My app builds for Web, IOS, Windows, Android, MacOS)
firebase_auth:
firebase_core:
firebase_core_web: 2.8.1
cloud_functions:
firebase_functions_desktop: ^0.2.0+2 firebase_core_desktop: firebase_crashlytics: firebase_database: firebase_messaging: firebase_performance:
dependency_overrides: intl: any << you may not need this win32: any << you may not need this http: any << you may not need this firebase_core_platform_interface: ^5.0.0 firebase_core: 2.18.0
also changed file firebase_functions_desktop.dart line 74: ) : super(functions, origin, name, options, null); << added null line 98: name ?? '', << added ?? ''
Bug report
Describe the bug Depedency Issues after upgrading Flutter Stable 3.10