firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.73k stars 3.98k forks source link

firebase_auth_plugin.cpp: Bug in running Windows #13317

Open Paularezk3 opened 2 months ago

Paularezk3 commented 2 months ago

Is there an existing issue for this?

Which plugins are affected?

Auth, Storage

Which platforms are affected?

Web, Windows

Description

expected to run smoothly as always but after upgrading flutter this error lines appeared E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_auth\windows\firebase_auth_plugin.cpp(1110,39): error C2220: the following warning is treated as an error [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_auth\firebase_auth_plugin.vcxproj] E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_auth\windows\firebase_auth_plugin.cpp(1110,39): warning C4996: 'firebase::auth::User::UpdateEmail': was declared deprecated [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_auth\firebase_auth_plugin.vcxproj] E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_storage\windows\firebase_storage_plugin.cpp(4,1): error C2220: the following warning is treated as an error [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_storage\firebase_storage_plugin.vcxproj] E:\Business\3- Mine\3- Flutter App\import_website\windows\flutter\ephemeral.plugin_symlinks\firebase_storage\windows\firebase_storage_plugin.cpp(4,1): warning C4005: '_CRT_SECURE_NO_WARNINGS': macro redefinition [E:\Business\3- Mine\3- Flutter App\import_website\build\windows\x64\plugins\firebase_storage\firebase_storage_plugin.vcxproj] Building Windows application... 473.8s Build process failed.

Reproducing the issue

just run the windows platform on flutter with firebase storage plugin and auth plugin

Firebase Core version

2.32.0

Flutter Version

3.24.2

Relevant Log Output

No response

Flutter dependencies

Expand Flutter dependencies snippet
```yaml Replace this line with the contents of your `flutter pub deps -- --style=compact`. ```

Additional context and comments

No response

SelaseKay commented 1 month ago

cc @Lyokone