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
Describe the bug
I want to build my app for Windows and tried this package but I had to overwrite dependencies, downgrade firebase packages and its still not working...
The build should work and the app starts and runs properly
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[√] Flutter (Channel stable, 3.16.7, on Microsoft Windows [Version 10.0.19045.3930], locale de-DE)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[!] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
X Could not determine java version
X Android license status unknown.
Run `flutter doctor --android-licenses` to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.2.2)
[√] Android Studio (version 4.0)
[√] VS Code (version 1.85.1)
[√] Connected device (3 available)
[√] Network resources
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Bug report
Describe the bug
I want to build my app for Windows and tried this package but I had to overwrite dependencies, downgrade firebase packages and its still not working...
Steps to reproduce
Steps to reproduce the behavior:
dependencies:
flutter:
sdk: flutter
flutter_localizations:
sdk: flutter
intl: ^0.17.0
collection: ^1.18.0
path_provider: ^2.1.1
url_launcher: ^6.2.1
google_fonts: ^6.1.0
universal_io: ^2.2.2
shared_preferences: ^2.0.13
flutter_bloc: ^8.1.3
equatable: ^2.0.5
sembast: ^3.5.0+1
sembast_web: ^2.2.0
flutter_quill: ^9.1.0
flutter_staggered_grid_view: ^0.7.0
local_auth: ^2.1.1
flutter_colorpicker: ^1.0.3
share_plus: ^7.2.1
package_info_plus: ^5.0.1
cupertino_icons: ^1.0.2
google_sign_in: ^6.2.1
firebase_core: ^1.9.0
firebase_core_desktop: ^1.0.2
firebase_auth: ^3.11.2
firebase_auth_desktop: ^1.0.2
flutter_secure_storage: ^9.0.0
googleapis: ^12.0.0
googleapis_auth: ^1.4.1
http: ^0.13.4
purchases_flutter: ^6.0.0
workmanager: ^0.5.2
dynamic_color: ^1.6.8
scribble: ^0.9.1
dependency_overrides:
http: ^1.1.2
intl: ^0.18.0
Build for windows:
launch:json
{
"name": "Desktop",
"type": "dart",
"request": "launch",
"flutterMode": "debug",
"program": "lib/main_desktop.dart",
"args": [
"--dart-define=env_name=dev",
"--dart-define=revenuecat_app_id=...",
]
},
main_desktop.dart:
const firebaseOptions = FirebaseOptions(
appId: '...',
apiKey: '...',
projectId: '...',
messagingSenderId: '...',
authDomain: '...',
);
await Firebase.initializeApp(options: firebaseOptions);
Expected behavior
The build should work and the app starts and runs properly
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: