Closed agordeev closed 4 years ago
Hi @agordeev for what I can see the issue is related to a FlutterFire plugin, please open the issue in the dedicated github. Closing, as this isn't an issue with Flutter itself, if you disagree please write in the comments and I will reopen it thank you
@iapicca I disagree. A plugin is not responsible for program flow and error handling/throwing.
Hi @agordeev
can you please provide youryour flutter run --verbose
and your pubspec.yaml
or if possible a reproducible minimal code sample.
Thank you
pubspec.yaml:
name: web_app
description: A new Flutter project.
version: 1.0.0+1
environment:
sdk: ">=2.6.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
# App
core:
path: ../core
shared:
path: ../shared
# data_access:
# path: ../data_access
# Widgets
badges:
google_maps_flutter:
# Misc
provider:
flutter_bloc:
equatable:
universal_html:
image:
intl:
url_launcher:
cloud_firestore:
dev_dependencies:
flutter_test:
sdk: flutter
# The following section is specific to Flutter.
flutter:
@agordeev can you modify this example in such way to reproduce your case? https://github.com/FirebaseExtended/flutterfire/blob/master/packages/cloud_firestore/cloud_firestore/example/lib/main.dart
I'm closing now as it appears working. Most likely it was something with imports.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Steps to Reproduce
I got this simple func:
The output is:
After accessing
Firestore.instance
the function doesn't execute anything else. No warning, no error thrown.That makes debugging hard.
flutter doctor
``` [✓] Flutter (Channel beta, v1.16.2-pre.26, on Mac OS X 10.15.3 19D76, locale en-RU) • Flutter version 1.16.2-pre.26 at /Users/andrey/flutter • Framework revision 3998549d52 (25 hours ago), 2020-03-20 06:07:25 -0700 • Engine revision fd60ddf751 • Dart version 2.8.0 (build 2.8.0-dev.16.0 5b21a43c55) [✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3) • Android SDK at /Users/andrey/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-29, build-tools 28.0.3 • ANDROID_HOME = /Users/andrey/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) • All Android licenses accepted. [✓] Xcode - develop for iOS and macOS (Xcode 11.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 11.3.1, Build version 11C504 • CocoaPods version 1.8.4 [✓] Chrome - develop for the web • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio (version 3.5) • Android Studio at /Applications/Android Studio.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405) [✓] VS Code (version 1.43.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 3.8.1 [✓] Connected device (5 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 8.1.0 (API 27) (emulator) • iPad • 8807f3e1632ff643cc3f92f0f207ae5a7d831121 • ios • iOS 13.3.1 • iPhone 11 Pro • E5040D43-B64A-41FD-B102-32C9A6EF43A8 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3 (simulator) • Chrome • chrome • web-javascript • Google Chrome 80.0.3987.149 • Web Server • web-server • web-javascript • Flutter Tools ! Doctor found issues in 1 category. ```My index.html looks this: