Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[firebase_auth_web] documentation has confusing instructions #1746

Closed
emailsubjekt opened this issue Jan 1, 2020 · 27 comments
Closed

[firebase_auth_web] documentation has confusing instructions #1746

emailsubjekt opened this issue Jan 1, 2020 · 27 comments
Assignees
Labels
type: documentation Improvements or additions to documentation

Comments

@emailsubjekt
Copy link

emailsubjekt commented Jan 1, 2020

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://github.com/FirebaseExtended/flutterfire/tree/master/packages/firebase_auth/firebase_auth_web and there you will see confusing instructions. Why should I put that into the official Auth Web example when it should have that there when I download it, although IT DOESN'T!!!!! and the pubspec if quite different from that advice, namely it's this
  firebase: ^7.0.0
  http_parser: ^3.1.3
  meta: ^1.1.7
  js: ^0.6.1
  firebase_auth_platform_interface: ^1.0.0
  firebase_core_platform_interface: ^1.0.0
  firebase_core_web:

So this is inside the pubspec.yaml of the official flutter auth web example and then on the official github page you say to just put in THIS

  firebase_auth: ^0.15.1
  firebase_auth_web: ^0.1.0

What? What about everything else? Why would you have that in the official pubspec and then advise this? Never mind I said, I'll just try adding it. So I did, I even copied the other thing

<html>
    ...
    <body>
        <script src="https://www.gstatic.com/firebasejs/7.5.0/firebase-app.js"></script>
        <script src="https://www.gstatic.com/firebasejs/7.5.0/firebase-auth.js"></script>
        <script src="main.dart.js"></script>
    </body>
</html>

Still it doesn't work.

So basically, the official example doesn't even have the libraries advised on that page. This is really confusing. Also, the official example has a class with methods for signin, you can't start that example because it doesn't have a main, so you have to make a new flutter project and then import that firebase auth web class. Now I want to call those methods, well NO you can't because the class isn't set up that way so that you can just call methods inside it, it's not a helper class, well then what do I call and how? Why isn't this a complete example like the flutter auth for android/ios that I got to work a couple of days ago?
So I tried making a main class that I get with a new flutter project and then in the under floatingActionButton I tried calling this class you provided with signin methods and I did this not
knowing what credential is and how I should provide it.

onPressed: FirebaseAuthWeb.signInWithCredential(context, credential),

What is credential and how do I provide it ?

This is the method in the class you provide for Flutter Auth Web, and inside it has this, meaning I can't really call any of the methods inside because first it will call this:

class FirebaseAuthWeb extends FirebaseAuthPlatform {
  static void registerWith(Registrar registrar) {
    FirebaseAuthPlatform.instance = FirebaseAuthWeb();
  }
@emailsubjekt emailsubjekt added the type: bug Something isn't working label Jan 1, 2020
@iapicca iapicca added type: documentation Improvements or additions to documentation and removed type: bug Something isn't working labels Jan 2, 2020
@iapicca iapicca changed the title Firebase Auth Web NOT WORKING [firebase_auth_web] documentation has confusing instructions Jan 2, 2020
@iapicca
Copy link

iapicca commented Jan 2, 2020

Hi @emailsubjekt
your issue seems to address an unclear documentation
rather than a bug in firebase_auth_web plugin,

if this is not the case please provide your flutter doctor -v
and your flutter run --verbose
Thank you

@iapicca iapicca added the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Jan 2, 2020
@emailsubjekt
Copy link
Author

emailsubjekt commented Jan 2, 2020

Unclear documentation? Possibly. If you could provide me with an example for the web that works or explain what I'm doing wrong and how to solve it and that differed from your documentation I could say that yes because I was able to understand the android/ios documentation enough to make a working project on cellphones. On the web here, not so much.

This is my flutter doctor -v

flutter doctor -v
[√] Flutter (Channel beta, v1.12.13+hotfix.6, on Microsoft Windows [Version 10.0.18362.535], locale en-US)
• Flutter version 1.12.13+hotfix.6 at C:\flutter
• Framework revision 18cd7a3601 (3 weeks ago), 2019-12-11 06:35:39 -0800
• Engine revision 2994f7e1e6
• Dart version 2.7.0

[√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at C:\Users\siris\AppData\Local\Android\sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
• All Android licenses accepted.

[√] Chrome - develop for the web
• Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Android Studio (version 3.5)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin version 42.1.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

[√] VS Code (version 1.41.1)
• VS Code at C:\Users\siris\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.3.0

[√] Connected device (3 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Chrome • chrome • web-javascript • Google Chrome 79.0.3945.88
• Web Server • web-server • web-javascript • Flutter Tools

• No issues found!


flutter run --verbose is so long the scroll bars don't encompass the written command in the terminal after it finishes, but I've put everything that came out inside that scrollbar area that wasn't deleted as the data came out

[ +11 ms] SLVR: fact: async 2.4.0 depends on collection ^1.5.0
[ +1 ms] SLVR: selecting async 2.4.0
[ +6 ms] SLVR: selecting args 1.5.2
[ +10 ms] SLVR: fact: archive 2.0.11 depends on crypto ^2.0.0
[ +1 ms] SLVR: fact: archive 2.0.11 depends on args ^1.4.0
[ +1 ms] SLVR: fact: archive 2.0.11 depends on path ^1.5.1
[ +1 ms] SLVR: selecting archive 2.0.11
[ +8 ms] SLVR: selecting vector_math 2.0.8
[ +8 ms] SLVR: fact: stack_trace 1.9.3 depends on path ^1.2.0
[ ] SLVR: selecting stack_trace 1.9.3
[ +11 ms] SLVR: fact: quiver 2.0.5 depends on matcher >=0.10.0 <0.13.0
[ +1 ms] SLVR: fact: quiver 2.0.5 depends on meta ^1.0.0
[ ] SLVR: selecting quiver 2.0.5
[ +12 ms] SLVR: fact: image 2.1.4 depends on archive >=1.0.16 <3.0.0
[ +1 ms] SLVR: fact: image 2.1.4 depends on xml ^3.2.5
[ ] SLVR: selecting image 2.1.4
[ +7 ms] SLVR: selecting path 1.6.4
[ +10 ms] SLVR: fact: test_api 0.2.11 depends on async ^2.0.0
[ +2 ms] SLVR: fact: test_api 0.2.11 depends on boolean_selector ^1.0.0
[ +1 ms] SLVR: fact: test_api 0.2.11 depends on collection ^1.8.0
[ +1 ms] SLVR: fact: test_api 0.2.11 depends on meta ^1.1.5
[ +1 ms] SLVR: fact: test_api 0.2.11 depends on path ^1.2.0
[ ] SLVR: fact: test_api 0.2.11 depends on pedantic ^1.0.0
[ ] SLVR: fact: test_api 0.2.11 depends on source_span ^1.4.0
[ +1 ms] SLVR: fact: test_api 0.2.11 depends on stack_trace ^1.9.0
[ ] SLVR: fact: test_api 0.2.11 depends on stream_channel >=1.7.0 <3.0.0
[ +1 ms] SLVR: fact: test_api 0.2.11 depends on string_scanner ^1.0.0
[ ] SLVR: fact: test_api 0.2.11 depends on term_glyph ^1.0.0
[ ] SLVR: fact: test_api 0.2.11 depends on matcher >=0.12.6 <0.12.7
[ ] SLVR: selecting test_api 0.2.11
[ +4 ms] SLVR: fact: http 0.12.0+3 depends on async >=1.10.0 <3.0.0
[ +2 ms] SLVR: fact: http 0.12.0+3 depends on http_parser >=0.0.1 <4.0.0
[ +1 ms] SLVR: fact: http 0.12.0+3 depends on path >=0.9.0 <2.0.0
[ ] SLVR: fact: http 0.12.0+3 depends on pedantic ^1.0.0
[ ] SLVR: selecting http 0.12.0+3
[ +9 ms] SLVR: selecting sky_engine 0.0.99 from sdk
[ +6 ms] SLVR: Version solving took 0:00:00.583736 seconds.
[ ] | Tried 1 solutions.
[ +1 ms] FINE: Resolving dependencies finished (0.592s).
[ +70 ms] IO : Writing 5707 characters to text file .\pubspec.lock.
[ +1 ms] FINE: Contents:
[ ] | # Generated by pub
[ ] | # See https://dart.dev/tools/pub/glossary#lockfile
[ ] | packages:
[ ] | archive:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: archive
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "2.0.11"
[ ] | args:
[ +1 ms] | dependency: transitive
[ ] | description:
[ ] | name: args
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.5.2"
[ ] | async:
[ +1 ms] | dependency: transitive
[ ] | description:
[ +1 ms] | name: async
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "2.4.0"
[ ] | boolean_selector:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: boolean_selector
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.0.5"
[ ] | charcode:
[ ] | dependency: transitive
[ +1 ms] | description:
[ ] | name: charcode
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.1.2"
[ ] | collection:
[ +3 ms] | dependency: transitive
[ ] | description:
[ ] | name: collection
[ +1 ms] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.14.11"
[ ] | convert:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: convert
[ +1 ms] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "2.1.1"
[ ] | crypto:
[ +2 ms] | dependency: transitive
[ ] | description:
[ ] | name: crypto
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "2.1.3"
[ ] | cupertino_icons:
[ ] | dependency: "direct main"
[ +1 ms] | description:
[ ] | name: cupertino_icons
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "0.1.3"
[ ] | firebase:
[ +1 ms] | dependency: "direct main"
[ ] | description:
[ ] | name: firebase
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ +1 ms] | version: "7.1.0"
[ ] | firebase_auth_platform_interface:
[ ] | dependency: "direct main"
[ ] | description:
[ ] | name: firebase_auth_platform_interface
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.1.2"
[ ] | firebase_core_platform_interface:
[ ] | dependency: "direct main"
[ ] | description:
[ +1 ms] | name: firebase_core_platform_interface
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.0.2"
[ ] | firebase_core_web:
[ ] | dependency: "direct main"
[ ] | description:
[ +1 ms] | name: firebase_core_web
[ +1 ms] | url: "https://pub.dartlang.org"
[ +1 ms] | source: hosted
[ ] | version: "0.1.1+1"
[ ] | flutter:
[ ] | dependency: "direct main"
[ ] | description: flutter
[ ] | source: sdk
[ ] | version: "0.0.0"
[ ] | flutter_test:
[ ] | dependency: "direct dev"
[ ] | description: flutter
[ ] | source: sdk
[ +1 ms] | version: "0.0.0"
[ ] | flutter_web_plugins:
[ ] | dependency: "direct main"
[ ] | description: flutter
[ ] | source: sdk
[ ] | version: "0.0.0"
[ +2 ms] | http:
[ +3 ms] | dependency: transitive
[ ] | description:
[ ] | name: http
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ +1 ms] | version: "0.12.0+3"
[ +1 ms] | http_parser:
[ ] | dependency: "direct main"
[ ] | description:
[ +1 ms] | name: http_parser
[ +1 ms] | url: "https://pub.dartlang.org"
[ +1 ms] | source: hosted
[ ] | version: "3.1.3"
[ ] | image:
[ ] | dependency: transitive
[ ] | description:
[ +1 ms] | name: image
[ ] | url: "https://pub.dartlang.org"
[ +1 ms] | source: hosted
[ ] | version: "2.1.4"
[ ] | js:
[ ] | dependency: "direct main"
[ ] | description:
[ ] | name: js
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "0.6.1+1"
[ +1 ms] | matcher:
[ +1 ms] | dependency: transitive
[ +1 ms] | description:
[ +1 ms] | name: matcher
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "0.12.6"
[ ] | meta:
[ ] | dependency: "direct main"
[ +1 ms] | description:
[ +3 ms] | name: meta
[ +1 ms] | url: "https://pub.dartlang.org"
[ +1 ms] | source: hosted
[ ] | version: "1.1.8"
[ ] | path:
[ ] | dependency: transitive
[ ] | description:
[ +2 ms] | name: path
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.6.4"
[ ] | pedantic:
[ ] | dependency: transitive
[ ] | description:
[ +3 ms] | name: pedantic
[ +1 ms] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.8.0+1"
[ ] | petitparser:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: petitparser
[ ] | url: "https://pub.dartlang.org"
[ +1 ms] | source: hosted
[ +2 ms] | version: "2.4.0"
[ +10 ms] | quiver:
[ +2 ms] | dependency: transitive
[ +1 ms] | description:
[ ] | name: quiver
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ +1 ms] | version: "2.0.5"
[ ] | sky_engine:
[ ] | dependency: transitive
[ ] | description: flutter
[ ] | source: sdk
[ ] | version: "0.0.99"
[ ] | source_span:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: source_span
[ +3 ms] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.5.5"
[ +1 ms] | stack_trace:
[ +1 ms] | dependency: transitive
[ ] | description:
[ ] | name: stack_trace
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ +1 ms] | version: "1.9.3"
[ ] | stream_channel:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: stream_channel
[ +1 ms] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "2.0.0"
[ ] | string_scanner:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: string_scanner
[ +1 ms] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.0.5"
[ ] | term_glyph:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: term_glyph
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.1.0"
[ +1 ms] | test_api:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: test_api
[ ] | url: "https://pub.dartlang.org"
[ +1 ms] | source: hosted
[ ] | version: "0.2.11"
[ ] | typed_data:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: typed_data
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "1.1.6"
[ ] | vector_math:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: vector_math
[ ] | url: "https://pub.dartlang.org"
[ +1 ms] | source: hosted
[ +1 ms] | version: "2.0.8"
[ ] | xml:
[ ] | dependency: transitive
[ ] | description:
[ ] | name: xml
[ ] | url: "https://pub.dartlang.org"
[ ] | source: hosted
[ ] | version: "3.5.0"
[ ] | sdks:
[ ] | dart: ">=2.4.0 <3.0.0"
[ +1 ms] | flutter: ">=1.12.13+hotfix.4 <2.0.0"
[ ] IO : Writing 3114 characters to text file ..packages.
[ +1 ms] FINE: Contents:
[ +2 ms] | # Generated by pub on 2020-01-02 16:13:28.473351.
[ ] | archive:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11/lib/
[ ] | args:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2/lib/
[ ] | async:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0/lib/
[ ] | boolean_selector:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.5/lib/
[ ] | charcode:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2/lib/
[ ] | collection:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11/lib/
[ +1 ms] MSG : Got dependencies!
[ +1 ms] | convert:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1/lib/
[ ] | crypto:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.3/lib/
[ ] | cupertino_icons:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3/lib/
[ ] | firebase:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/
[ +2 ms] | firebase_auth_platform_interface:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-1.1.2/lib/
[ +6 ms] | firebase_core_platform_interface:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-1.0.2/lib/
[ ] | firebase_core_web:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/lib/
[ ] | flutter:file:///C:/flutter/packages/flutter/lib/
[ ] | flutter_test:file:///C:/flutter/packages/flutter_test/lib/
[ ] | flutter_web_plugins:file:///C:/flutter/packages/flutter_web_plugins/lib/
[ +1 ms] | http:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+3/lib/
[ +18 ms] | http_parser:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.3/lib/
[ +2 ms] | image:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.4/lib/
[ +4 ms] | js:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/
[ +1 ms] | matcher:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6/lib/
[ +1 ms] | meta:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8/lib/
[ ] | path:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.4/lib/
[ ] | pedantic:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.8.0+1/lib/
[ ] | petitparser:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0/lib/
[ ] | quiver:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.5/lib/
[ ] | sky_engine:file:///C:/flutter/bin/cache/pkg/sky_engine/lib/
[ +1 ms] | source_span:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5/lib/
[ ] | stack_trace:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3/lib/
[ +1 ms] | stream_channel:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0/lib/
[ ] | string_scanner:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5/lib/
[ ] | term_glyph:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0/lib/
[ +7 ms] | test_api:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.11/lib/
[ +2 ms] | typed_data:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6/lib/
[ +1 ms] | vector_math:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8/lib/
[ +13 ms] | xml:file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.5.0/lib/
[ +3 ms] | firebase_auth_web:lib/
[ +3 ms] IO : Writing 7065 characters to text file ..dart_tool\package_config.json.
[ ] FINE: Contents:
[ ] | {
[ +2 ms] | "configVersion": 2,
[ +2 ms] | "packages": [
[ +1 ms] | {
[ +1 ms] | "name": "archive",
[ +10 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/archive-2.0.11",
[ +1 ms] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ +3 ms] | "name": "args",
[ +2 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/args-1.5.2",
[ +2 ms] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "2.0"
[ +4 ms] | },
[ ] | {
[ +1 ms] | "name": "async",
[ +6 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/async-2.4.0",
[ +2 ms] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ ] | "name": "boolean_selector",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/boolean_selector-1.0.5",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ +1 ms] | },
[ ] | {
[ +1 ms] | "name": "charcode",
[ +3 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/charcode-1.1.2",
[ ] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "1.0"
[ ] | },
[ +1 ms] | {
[ ] | "name": "collection",
[ +3 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/collection-1.14.11",
[ +1 ms] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "2.0"
[ +3 ms] | },
[ ] | {
[ +1 ms] | "name": "convert",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/convert-2.1.1",
[ +1 ms] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "1.17"
[ ] | },
[ ] | {
[ ] | "name": "crypto",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/crypto-2.1.3",
[ ] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "2.1"
[ +1 ms] | },
[ +1 ms] | {
[ +1 ms] | "name": "cupertino_icons",
[ +1 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/cupertino_icons-0.1.3",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ ] | "name": "firebase",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0",
[ +2 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.1"
[ ] | },
[ ] | {
[ ] | "name": "firebase_auth_platform_interface",
[ +1 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_auth_platform_interface-1.1.2",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ +2 ms] | "name": "firebase_core_platform_interface",
[ +1 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_platform_interface-1.0.2",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ ] | "name": "firebase_core_web",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ +1 ms] | },
[ ] | {
[ ] | "name": "flutter",
[ ] | "rootUri": "file:///C:/flutter/packages/flutter",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.2"
[ ] | },
[ ] | {
[ +1 ms] | "name": "flutter_test",
[ ] | "rootUri": "file:///C:/flutter/packages/flutter_test",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.2"
[ +1 ms] | },
[ ] | {
[ ] | "name": "flutter_web_plugins",
[ +1 ms] | "rootUri": "file:///C:/flutter/packages/flutter_web_plugins",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ +1 ms] | {
[ ] | "name": "http",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/http-0.12.0+3",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.4"
[ ] | },
[ ] | {
[ ] | "name": "http_parser",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/http_parser-3.1.3",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ +1 ms] | {
[ ] | "name": "image",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/image-2.1.4",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ +2 ms] | },
[ ] | {
[ +1 ms] | "name": "js",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "1.19"
[ +1 ms] | },
[ ] | {
[ ] | "name": "matcher",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.6",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.2"
[ +1 ms] | },
[ +2 ms] | {
[ ] | "name": "meta",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/meta-1.1.8",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "1.12"
[ ] | },
[ +2 ms] | {
[ ] | "name": "path",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/path-1.6.4",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ +1 ms] | "name": "pedantic",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/pedantic-1.8.0+1",
[ +2 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.1"
[ ] | },
[ ] | {
[ ] | "name": "petitparser",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/petitparser-2.4.0",
[ ] | "packageUri": "lib/",
[ +1 ms] | "languageVersion": "2.4"
[ ] | },
[ ] | {
[ +1 ms] | "name": "quiver",
[ +2 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/quiver-2.0.5",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ +9 ms] | },
[ ] | {
[ +1 ms] | "name": "sky_engine",
[ +1 ms] | "rootUri": "file:///C:/flutter/bin/cache/pkg/sky_engine",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "1.11"
[ +3 ms] | },
[ +6 ms] | {
[ ] | "name": "source_span",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/source_span-1.5.5",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "1.8"
[ ] | },
[ +1 ms] | {
[ +1 ms] | "name": "stack_trace",
[ +1 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.9.3",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "1.23"
[ +1 ms] | },
[ ] | {
[ ] | "name": "stream_channel",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.0.0",
[ ] | "packageUri": "lib/",
[ +2 ms] | "languageVersion": "2.0"
[ ] | },
[ +1 ms] | {
[ ] | "name": "string_scanner",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.0.5",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ +2 ms] | "name": "term_glyph",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.1.0",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "1.8"
[ ] | },
[ ] | {
[ ] | "name": "test_api",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/test_api-0.2.11",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.2"
[ ] | },
[ +1 ms] | {
[ ] | "name": "typed_data",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/typed_data-1.1.6",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ +1 ms] | {
[ +2 ms] | "name": "vector_math",
[ +1 ms] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/vector_math-2.0.8",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.0"
[ ] | },
[ ] | {
[ +1 ms] | "name": "xml",
[ ] | "rootUri": "file:///C:/flutter/.pub-cache/hosted/pub.dartlang.org/xml-3.5.0",
[ ] | "packageUri": "lib/",
[ ] | "languageVersion": "2.3"
[ ] | },
[ ] | {
[ ] | "name": "firebase_auth_web",
[ +1 ms] | "rootUri": "../",
[ +1 ms] | "packageUri": "lib/",
[ ] | "languageVersion": "2.1"
[ +2 ms] | }
[ +2 ms] | ],
[ +1 ms] | "generated": "2020-01-02T15:13:28.584054Z",
[ +1 ms] | "generator": "pub",
[ +1 ms] | "generatorVersion": "2.7.0"
[ ] | }
[ +30 ms] Running "flutter pub get" in firebase_auth_web... (completed in 1.6s)
[ +41 ms] Found plugin firebase_core_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+1
[ +189 ms] Found plugin firebase_core_web at C:\flutter.pub-cache\hosted\pub.dartlang.org\firebase_core_web-0.1.1+1
[ +105 ms] Generating D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web\android\app\src\main\java\io\flutter\plugins\GeneratedPluginRegistrant.java
[ +68 ms] ro.hardware = ranchu
[ +40 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering".
[ +18 ms] Launching lib\main.dart on Android SDK built for x86 in debug mode...
[ +22 ms] executing: C:\Users\siris\AppData\Local\Android\sdk\platform-tools\adb.exe -s emulator-5554 shell -x logcat -v time -s flutter
[ +13 ms] executing: C:\Users\siris\AppData\Local\Android\sdk\platform-tools\adb.exe version
[ +52 ms] Android Debug Bridge version 1.0.41
Version 29.0.5-5949299
Installed as C:\Users\siris\AppData\Local\Android\sdk\platform-tools\adb.exe
[ +14 ms] executing: C:\Users\siris\AppData\Local\Android\sdk\platform-tools\adb.exe start-server
[ +14 ms] E/flutter ( 7673): [ERROR:flutter/lib/ui/ui_dart_state.cc(157)] Unhandled Exception: PlatformException(error, java.lang.Integer cannot be cast to java.lang.Long, null)
[ +1 ms] E/flutter ( 7673): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:569:7)
[ +22 ms] E/flutter ( 7673): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:321:33)
[ +8 ms] E/flutter ( 7673):
[ +8 ms] E/flutter ( 7673): #2 FirebaseDatabase.setPersistenceCacheSizeBytes (package:firebase_database/src/firebase_database.dart:120:40)
[ +1 ms] E/flutter ( 7673): #3 FirebaseDatabaseUtil.initState (package:flutter_realtime_firebase_test/firebase_database_util.dart:34:14)
[ +5 ms] E/flutter ( 7673): #4 _MyHomePageState.initState (package:flutter_realtime_firebase_test/user_dashboard.dart:22:18)
[ +1 ms] E/flutter ( 7673): #5 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4355:58)
[ ] E/flutter ( 7673): #6 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[ ] E/flutter ( 7673): #7 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ ] E/flutter ( 7673): #8 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #9 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[ ] E/flutter ( 7673): #10 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ ] E/flutter ( 7673): #11 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #12 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[ ] E/flutter ( 7673): #13 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[ +2 ms] E/flutter ( 7673): #14 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[ ] E/flutter ( 7673): #15 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[ +1 ms] E/flutter ( 7673): #16 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ +2 ms] Building APK
[ +23 ms] Running Gradle task 'assembleDebug'...
[ +5 ms] gradle.properties already sets android.enableR8
[ +13 ms] Using gradle from D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web\android\gradlew.bat.
[ +22 ms] executing: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ +199 ms] Exit code 0 from: C:\Program Files\Android\Android Studio\jre\bin\java -version
[ ] openjdk version "1.8.0_202-release"
OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
OpenJDK 64-Bit Server VM (build 25.202-b03, mixed mode)
[ +4 ms] executing: [D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web\android] D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web\android\gradlew.bat -Pverbose=true
-Ptarget=D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web\lib\main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root -Ptarget-platform=android-x86 assembleDebug
[ +30 ms] E/flutter ( 7673): #17 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #18 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[ ] E/flutter ( 7673): #19 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ ] E/flutter ( 7673): #20 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #21 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[ ] E/flutter ( 7673): #22 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ ] E/flutter ( 7673): #23 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #24 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[ +24 ms] E/flutter ( 7673): #25 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[ +1 ms] E/flutter ( 7673): #26 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[ +1 ms] E/flutter ( 7673): #27 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
[ +1 ms] E/flutter ( 7673): #28 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[ ] E/flutter ( 7673): #29 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ ] E/flutter ( 7673): #30 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #31 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[ ] E/flutter ( 7673): #32 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ +1 ms] E/flutter ( 7673): #33 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ +1 ms] E/flutter ( 7673): #34 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5445:14)
[ +1 ms] E/flutter ( 7673): #35 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ ] E/flutter ( 7673): #36 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #37 ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4243:16)
[ ] E/flutter ( 7673): #38 Element.rebuild (package:flutter/src/widgets/framework.dart:3947:5)
[ ] E/flutter ( 7673): #39 ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4206:5)
[ ] E/flutter ( 7673): #40 StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4381:11)
[ +1 ms] E/flutter ( 7673): #41 ComponentElement.mount (package:flutter/src/widgets/framework.dart:4201:5)
[ ] E/flutter ( 7673): #42 Element.inflateWidget (package:flutter/src/widgets/framework.dart:3194:14)
[ ] E/flutter ( 7673): #43 Element.updateChild (package:flutter/src/widgets/framework.dart:2988:12)
[ ] E/flutter ( 7673): #44 Component
[ +2 ms] I/flutter ( 7673): Connected to second database and read 2
[ +1 ms] I/flutter ( 7673): Transaction committed.
[+7865 ms] > Task :app:compileFlutterBuildDebug
[ +1 ms] [ +27 ms] executing: [C:\flutter] git -c log.showSignature=false log -n 1 --pretty=format:%H
[ +1 ms] [ +63 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[ ] [ ] 18cd7a3601bcffb36fdf2f679f763b5e827c2e8e
[ ] [ ] executing: [C:\flutter] git describe --match v*.. --first-parent --long --tags
[ +1 ms] [ +56 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[ ] [ ] v1.12.13+hotfix.6-0-g18cd7a360
[ ] [ +7 ms] executing: [C:\flutter] git rev-parse --abbrev-ref --symbolic @{u}
[ ] [ +37 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[ +3 ms] [ ] origin/beta
[ +4 ms] [ ] executing: [C:\flutter] git ls-remote --get-url origin
[ +1 ms] [ +37 ms] Exit code 0 from: git ls-remote --get-url origin
[ +1 ms] [ ] https://github.com/flutter/flutter.git
[ +1 ms] [ +84 ms] executing: [C:\flutter] git rev-parse --abbrev-ref HEAD
[ ] [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[ +1 ms] [ ] beta
[ +2 ms] [ +24 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[ +2 ms] [ ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[ +4 ms] [ ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[ +2 ms] [ +6 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[ +13 ms] [ ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[ +4 ms] [ ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[ +1 ms] [ ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +7 ms] [ ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[ +1 ms] [ +16 ms] Invalid depfile: D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web.dart_tool\flutter_build\ff96e763102fe88efb0b766424eec406\kernel_snapshot.d
[ +1 ms] [ +2 ms] Invalid depfile: D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web.dart_tool\flutter_build\ff96e763102fe88efb0b766424eec406\kernel_snapshot.d
[ +2 ms] [ +115 ms] Initializing file store
[ ] [ +10 ms] Done initializing file store
[ ] [ +806 ms] kernel_snapshot: Starting due to {InvalidatedReason.inputChanged}
[ +1 ms] [ +15 ms] C:\flutter\bin\cache\dart-sdk\bin\dart.exe C:\flutter\bin\cache\artifacts\engine\windows-x64\frontend_server.dart.snapshot --sdk-root C:\flutter\bin\cache\artifacts\engine\common\flutter_patched_sdk/ --target=flutter
-Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false --bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instructions --enable-asserts
--track-widget-creation --no-link-platform --packages D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web.packages --output-dill
D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web.dart_tool\flutter_build\ff96e763102fe88efb0b766424eec406\app.dill --depfile
D:\FlutterDell\Test126-2-FlutterAuthExamples\FirebaseAuthWebTest\firebase_auth_web.dart_tool\flutter_build\ff96e763102fe88efb0b766424eec406\kernel_snapshot.d package:firebase_auth_web/main.dart
[ +824 ms] [ +853 ms]
[ +26 ms] Compiler message:
[ +8 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html'
[ ] [ ] import 'dart:html';
[ ] [ ] ^
[ ] [ +6 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:2:8: Error: Not found: 'dart:html'
[ ] [ ] import 'dart:html' show promiseToFuture;
[ ] [ ] ^
[ ] [ +28 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js.dart:8:1: Error: Not found: 'dart:js'
[ ] [ ] export 'dart:js' show allowInterop, allowInteropCaptureThis;
[ ] [ ] ^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
[ +3 ms] [ ] export 'dart:js_util';
[ ] [ ] ^
[+2767 ms] [+2745 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:306:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
[ +5 ms] [ ] - 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
[ +1 ms] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
[ +12 ms] [ ] - 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] var errorWrapper = allowInterop((e) => _changeController.addError(e));
[ ] [ ] ^^^^^^^^^^^^
[ +1 ms] [ +14 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:340:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
[ +9 ms] [ ] - 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +2 ms] [ ] var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
[ ] [ ] ^^^^^^^^^^^^
[ +1 ms] [ +1 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:345:11: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
[ +1 ms] [ ] - 'Auth' is from 'package:firebase/src/auth.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] allowInterop((e) => idTokenChangedController.addError(e));
[ +1 ms] [ +1 ms] ^^^^^^^^^^^^
[ +1 ms] [ +18 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:164:9: Error: The method 'allowInterop' isn't defined for the class 'DatabaseReference'.
[ +5 ms] [ ] - 'DatabaseReference' is from 'package:firebase/src/database.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +1 ms] [ ] allowInterop((update) => jsify(transactionUpdate(dartify(update))));
[ ] [ ] ^^^^^^^^^^^^
[ ] [ +1 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:166:26: Error: The method 'allowInterop' isn't defined for the class 'DatabaseReference'.
[ +1 ms] [ ] - 'DatabaseReference' is from 'package:firebase/src/database.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[ +2 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +10 ms] [ ] var onCompleteWrap = allowInterop(
[ +1 ms] [ ] ^^^^^^^^^^^^
[ ] [ +4 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:301:24: Error: The method 'allowInterop' isn't defined for the class 'Query'.
[ +1 ms] [ ] - 'Query' is from 'package:firebase/src/database.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ +3 ms] var callbackWrap = allowInterop((database_interop.DataSnapshotJsImpl data,
[ +1 ms] [ +1 ms] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:325:30: Error: The method 'allowInterop' isn't defined for the class 'Query'.
[ +1 ms] [ ] - 'Query' is from 'package:firebase/src/database.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[ +4 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +1 ms] [ ] jsObject.once(eventType, allowInterop(
[ ] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:402:22: Error: The method 'allowInterop' isn't defined for the class 'DataSnapshot'.
[ +1 ms] [ ] - 'DataSnapshot' is from 'package:firebase/src/database.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +1 ms] [ ] var actionWrap = allowInterop((d) => action(DataSnapshot.getInstance(d)));
[ +2 ms] [ ] ^^^^^^^^^^^^
[ +4 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:72:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
[ +1 ms] [ ] - 'Messaging' is from 'package:firebase/src/messaging.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +2 ms] [ ] final nextWrapper = allowInterop((payload) {
[ ] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:75:28: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
[ +1 ms] [ ] - 'Messaging' is from 'package:firebase/src/messaging.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] final errorWrapper = allowInterop((e) {
[ +1 ms] [ ] ^^^^^^^^^^^^
[ +1 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:87:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
[ +1 ms] [ ] - 'Messaging' is from 'package:firebase/src/messaging.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[ +2 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] final nextWrapper = allowInterop((payload) {
[ +1 ms] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:97:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
[ +1 ms] [ ] - 'Messaging' is from 'package:firebase/src/messaging.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ +1 ms] final nextWrapper = allowInterop((
) => null);
[ +1 ms] [ ] ^^^^^^^^^^^^
[ +1 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:98:28: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
[ +11 ms] [ ] - 'Messaging' is from 'package:firebase/src/messaging.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] final errorWrapper = allowInterop((e) {
[ ] [ ] ^^^^^^^^^^^^
[ ] [ +8 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:317:11: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
[ ] [ ] - 'UploadTask' is from 'package:firebase/src/storage.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +1 ms] [ +1 ms] allowInterop((storage_interop.UploadTaskSnapshotJsImpl data) {
[ +2 ms] [ ] ^^^^^^^^^^^^
[ +2 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:321:26: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
[ +1 ms] [ ] - 'UploadTask' is from 'package:firebase/src/storage.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
[ +2 ms] [ +3 ms] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] var errorWrapper = allowInterop((e) => _changeController.addError(e));
[ +1 ms] [ ] ^^^^^^^^^^^^
[ +12 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:322:26: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
[ +2 ms] [ ] - 'UploadTask' is from 'package:firebase/src/storage.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ +5 ms] var onCompletion = allowInterop(() => _changeController.close());
[ +1 ms] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:173:7: Error: Method not found: 'hasProperty'.
[ +1 ms] [ +1 ms] if (js.hasProperty(error, 'message')) {
[ ] [ +2 ms] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:174:19: Error: Method not found: 'getProperty'.
[ ] [ ] var message = js.getProperty(error, 'message');
[ ] [ ] ^^^^^^^^^^^
[ ] [ +151 ms] /C:/flutter/packages/flutter_web_plugins/lib/src/plugin_registry.dart:29:5: Error: Method not found: 'webOnlySetPluginHandler'.
[ +1 ms] [ ] ui.webOnlySetPluginHandler(_binaryMessenger.handlePlatformMessage);
[ +1 ms] [ +10 ms] ^^^^^^^^^^^^^^^^^^^^^^^
[ +989 ms] [ +936 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:30:7: Error: Method not found: 'hasProperty'.
[ +2 ms] [ ] if (util.hasProperty(jsObject, 'firestore') &&
[ +1 ms] [ ] ^^^^^^^^^^^
[ +2 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:31:7: Error: Method not found: 'hasProperty'.
[ +1 ms] [ ] util.hasProperty(jsObject, 'id') &&
[ +1 ms] [ ] ^^^^^^^^^^^
[ +2 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:32:7: Error: Method not found: 'hasProperty'.
[ ] [ ] util.hasProperty(jsObject, 'parent')) {
[ ] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:38:7: Error: Method not found: 'hasProperty'.
[ +2 ms] [ ] if (util.hasProperty(jsObject, 'latitude') &&
[ ] [ ] ^^^^^^^^^^^
[ +1 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:39:7: Error: Method not found: 'hasProperty'.
[ +1 ms] [ ] util.hasProperty(jsObject, 'longitude') &&
[ +1 ms] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:45:15: Error: Method not found: 'getProperty'.
[ ] [ ] var proto = util.getProperty(jsObject, 'proto');
[ ] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:47:7: Error: Method not found: 'hasProperty'.
[ ] [ +1 ms] if (util.hasProperty(proto, 'toDate') &&
[ ] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:48:7: Error: Method not found: 'hasProperty'.
[ +1 ms] [ ] util.hasProperty(proto, 'toMillis')) {
[ ] [ ] ^^^^^^^^^^^
[ +1 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:53:7: Error: Method not found: 'hasProperty'.
[ +1 ms] [ ] if (util.hasProperty(proto, 'isEqual') &&
[ +5 ms] [ ] ^^^^^^^^^^^
[ +2 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:54:7: Error: Method not found: 'hasProperty'.
[ +1 ms] [ ] util.hasProperty(proto, 'toBase64')) {
[ ] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:68:24: Error: Method not found: 'getProperty'.
[ ] [ ] map[key] = dartify(util.getProperty(jsObject, key));
[ +1 ms] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:92:17: Error: Method not found: 'newObject'.
[ ] [ ] var jsMap = util.newObject();
[ +1 ms] [ ] ^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:94:7: Error: Method not found: 'setProperty'.
[ ] [ ] util.setProperty(jsMap, key, jsify(value));
[ ] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:117:12: Error: Method not found: 'allowInterop'.
[ ] [ ] return allowInterop(dartObject);
[ ] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:125:5: Error: Method not found: 'callMethod'.
[ ] [ ] util.callMethod(jsObject, method, args);
[ ] [ ] ^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:140:19: Error: Method not found: 'promiseToFuture'.
[ +1 ms] [ ] value = await promiseToFuture(thenable);
[ ] [ ] ^^^^^^^^^^^^^^^
[ +1 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:142:9: Error: Method not found: 'hasProperty'.
[ +1 ms] [ ] if (util.hasProperty(e, 'code')) {
[ +1 ms] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:153:27: Error: Method not found: 'allowInterop'.
[ ] [ ] return PromiseJsImpl(allowInterop((
[ ] [ ] ^^^^^^^^^^^^
[ +1 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:166:5: Error: Method not found: 'allowInterop'.
[ ] [ ] allowInterop(c.completeError);
[ ] [ ] ^^^^^^^^^^^^
[ +2 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:174:22: Error: Method not found: 'getProperty'.
[ +2 ms] [ ] String get code => util.getProperty(_source, 'code');
[ +3 ms] [ ] ^^^^^^^^^^^
[ +2 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:177:25: Error: Method not found: 'getProperty'.
[ +1 ms] [ ] String get message => util.getProperty(_source, 'message');
[ +1 ms] [ ] ^^^^^^^^^^^
[ +1 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:180:22: Error: Method not found: 'getProperty'.
[ +2 ms] [ ] String get name => util.getProperty(_source, 'name');
[ +1 ms] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:183:32: Error: Method not found: 'getProperty'.
[ ] [ ] Object get serverResponse => util.getProperty(_source, 'serverResponse');
[ ] [ ] ^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:186:23: Error: Method not found: 'getProperty'.
[ ] [ ] String get stack => util.getProperty(_source, 'stack');
[ +1 ms] [ ] ^^^^^^^^^^^
[ +3 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:105:30: Error: The method 'allowInterop' isn't defined for the class 'Firestore'.
[ ] [ ] - 'Firestore' is from 'package:firebase/src/firestore.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] var updateFunctionWrap = allowInterop((transaction) =>
[ +18 ms] [ ] ^^^^^^^^^^^^
[ +3 ms] [ +1 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:306:11: Error: The method 'allowInterop' isn't defined for the class 'DocumentReference'.
[ +15 ms] [ ] - 'DocumentReference' is from 'package:firebase/src/firestore.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[ +2 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +23 ms] [ ] allowInterop((firestore_interop.DocumentSnapshotJsImpl snapshot) {
[ +4 ms] [ ] ^^^^^^^^^^^^
[ +2 ms] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'DocumentReference'.
[ +1 ms] [ ] - 'DocumentReference' is from 'package:firebase/src/firestore.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[ ] [ +1 ms] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] var errorWrapper = allowInterop((e) => controller.addError(e));
[ ] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:445:9: Error: The method 'allowInterop' isn't defined for the class 'Query'.
[ +1 ms] [ ] - 'Query' is from 'package:firebase/src/firestore.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[ +1 ms] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] allowInterop((firestore_interop.QuerySnapshotJsImpl snapshot) {
[ +2 ms] [ ] ^^^^^^^^^^^^
[ ] [ ] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:449:24: Error: The method 'allowInterop' isn't defined for the class 'Query'.
[ ] [ ] - 'Query' is from 'package:firebase/src/firestore.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ ] [ ] var errorWrapper = allowInterop((e) => controller.addError(e));
[ +1 ms] [ ] ^^^^^^^^^^^^
[ ] [ +4 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:775:9: Error: The method 'allowInterop' isn't defined for the class 'QuerySnapshot'.
[ ] [ ] - 'QuerySnapshot' is from 'package:firebase/src/firestore.dart' ('/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[ ] [ ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[ +2 ms] [ ] allowInterop((s) => callback(DocumentSnapshot.getInstance(s)));
[ +5 ms] [ ] ^^^^^^^^^^^^
[ +4 ms] [ +14 ms] /C:/flutter/packages/flutter/lib/src/painting/_network_image_web.dart:64:12: Error: Method not found: 'webOnlyInstantiateImageCodecFromUrl'.
[ +1 ms] [ ] return ui.webOnlyInstantiateImageCodecFromUrl(resolved); // ignore: undefined_function
[ ] [ ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ ] [ +59 ms] /C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/interop/js_interop.dart:17:7: Error: Method not found: 'hasProperty'.
[ +2 ms] [ ] if (util.hasProperty(jsObject, "toDateString")) {
[ ] [ ] ^^^^^^^^^^^
[+2094 ms] [+2248 ms] U
[ ] [ ] nhandled exception:
[ ] FileSystemException(uri=org-dartlang-untra
[ ] [ ] nslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:* and data:* URIs)
[ ] #0 StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:33:7)
[ ] #1 asFileUri (package:vm/kernel_front_end.dart:604:37)
[ +1 ms] #2
[ +1 ms] [ ] writeDepfile (package:vm/kernel_front_end.dart:799:21)
[ ]
[ ] #3 FrontendCompiler.compile (package:frontend_server/frontend_server.dart:472:15)
[ +1 ms] <asynchronous s
[ +1 ms] [ ] uspension>
[ +1 ms] #4 _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:38:22)
[ +1 ms] #5 starter (package:flutter_frontend_server/server.dart:149:27)
[ ] #6 main (fil
[ ] [ ] e:///C:/b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:8:30)
[ ] #7 _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:32)
[ ] #8 _RawReceivePo
[ +1 ms] [ +2 ms] rtImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
[ +80 ms] [ +86 ms] Persisting file store
[ ] [ +10 ms] Done persisting file store
[ ] [ +10 ms] "flutter assemble" took 8,335ms.
[ ] [ +1 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
[ ] build failed.
[ ] #0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
[ +1 ms] #1 AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:183:7)
[ ]
[ +1 ms] #2 FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:615:18)
[ +1 ms]
[ +1 ms] #3 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:515:33)
[ +1 ms]
[ +1 ms] #4 AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
[ ] #5 _rootRun (dart:async/zone.dart:1126:13)
[ ] #6 _CustomZone.run (dart:async/zone.dart:1023:19)
[ ] #7 _runZoned (dart:async/zone.dart:1518:10)
[ ] #8 runZoned (dart:async/zone.dart:1465:12)
[ ] #9 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
[ ] #10 FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:505:20)
[ +1 ms] #11 CommandRunner.runCommand (package:args/command_runner.dart:197:27)
[ +2 ms] #12 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:413:21)
[ +1 ms]
[ ] #13 AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
[ ] #14 _rootRun (dart:async/zone.dart:1126:13)
[ ] #15 _CustomZone.run (dart:async/zone.dart:1023:19)
[ ] #16 _runZoned (dart:async/zone.dart:1518:10)
[ +1 ms] #17 runZoned (dart:async/zone.dart:1465:12)
[ +1 ms] #18 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
[ +1 ms] #19 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:364:19)
[ +3 ms] #20 CommandRunner.run. (package:args/command_runner.dart:112:25)
[ ] #21 new Future.sync (dart:async/future.dart:224:31)
[ +1 ms] #22 CommandRunner.run (package:args/command_runner.dart:112:14)
[ +10 ms] #23 FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:250:18)
[ +1 ms] #24 run.. (package:flutter_tools/runner.dart:63:22)
[ ] #25 _rootRun (dart:async/zone.dart:1126:13)
[ +1 ms] #26 _CustomZone.run (dart:async/zone.dart:1023:19)
[ +1 ms] #27 _runZoned (dart:async/zone.dart:1518:10)
[ ] #28 runZoned (dart:async/zone.dart:1502:12)
[ +1 ms] #29 run. (package:flutter_tools/runner.dart:61:18)
[ ]
[ ] #30 AppContext.run. (package:flutter_tools/src/base/context.dart:146:29)
[ ] #31 _rootRun (dart:async/zone.dart:1126:13)
[ ] #32 _CustomZone.run (dart:async/zone.dart:1023:19)
[ +1 ms] #33 _runZoned (dart:async/zone.dart:1518:10)
[ ] #34 runZoned (dart:async/zone.dart:1465:12)
[ +4 ms] #35 AppContext.run (package:flutter_tools/src/base/context.dart:145:18)
[ +22 ms] #36 runInContext (package:flutter_tools/src/context_runner.dart:64:24)
[ ] #37 run (package:flutter_tools/runner.dart:50:10)
[ ] #38 main (package:flutter_tools/executable.dart:65:9)
[ ] #39 main (file:///C:/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
[ ] #40 _startIsolate. (dart:isolate-patch/isolate_patch.dart:305:32)
[ +2 ms] #41 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
[ +15 ms] > Task :app:compileFlutterBuildDebug FAILED
[ +1 ms] 1 actionable task: 1 executed
[ ] FAILURE: Build failed with an exception.
[ ] * Where:
[ +1 ms] Script 'C:\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 780
[ +1 ms] * What went wrong:
[ ] Execution failed for task ':app:compileFlutterBuildDebug'.
[ ] > Process 'command 'C:\flutter\bin\flutter.bat'' finished with non-zero exit value 1
[ +1 ms] * Try:
[ +3 ms] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[ +5 ms] * Get more help at https://help.gradle.org
[ +1 ms] BUILD FAILED in 15s
[ +528 ms] Running Gradle task 'assembleDebug'... (completed in 16.1s)
[ +7 ms] "flutter run" took 18,719ms.
Gradle task assembleDebug failed with exit code 1

#0 throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1 buildGradleApp (package:flutter_tools/src/android/gradle.dart:387:7)
#2 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:73:64)
#3 _rootRunUnary (dart:async/zone.dart:1134:38)
#4 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#5 _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#6 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#7 Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#8 Future._completeWithValue (dart:async/future_impl.dart:524:5)
#9 _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:32:15)
#10 _completeOnAsyncReturn (dart:async-patch/async_patch.dart:290:13)
#11 _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
#12 _asyncThenWrapperHelper. (dart:async-patch/async_patch.dart:73:64)
#13 _rootRunUnary (dart:async/zone.dart:1134:38)
#14 _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#15 _FutureListener.handleValue (dart:async/future_impl.dart:139:18)
#16 Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:680:45)
#17 Future._propagateToListeners (dart:async/future_impl.dart:709:32)
#18 Future._completeWithValue (dart:async/future_impl.dart:524:5)
#19 Future._asyncComplete. (dart:async/future_impl.dart:554:7)
#20 _rootRun (dart:async/zone.dart:1126:13)
#21 _CustomZone.run (dart:async/zone.dart:1023:19)
#22 _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#23 _CustomZone.bindCallbackGuarded. (dart:async/zone.dart:965:23)
#24 _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#25 _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#26 _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#27 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)

@emailsubjekt
Copy link
Author

How am I the only one that's getting this error. I just opened another project from someone else and got the same error that led me to here, to my own comment/issue, lol. What the hell.

@chertov
Copy link

chertov commented Jan 5, 2020

i have the same errors
My project is for web, but when i try to build android version i have this errors

MacBook-Pro:app user$ flutter doctor -v
[✓] Flutter (Channel master, v1.13.7-pre.20, on Mac OS X 10.14.6 18G103, locale en-RU)
    • Flutter version 1.13.7-pre.20 at /Users/user/development/flutter
    • Framework revision 7511d8c06a (32 hours ago), 2020-01-03 11:05:50 -0800
    • Engine revision 5858519139
    • Dart version 2.8.0 (build 2.8.0-dev.0.0 2f57602411)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/user/Library/Android/sdk/
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/user/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.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.1, Build version 11A1027
    • CocoaPods version 1.8.0

[✓] 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 version 41.1.2
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.41.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.7.1

[✓] Connected device (3 available)
    • Mi 9 Lite  • 192.168.0.11:5555 • android-arm64  • Android 9 (API 28)
    • Chrome     • chrome            • web-javascript • Google Chrome 79.0.3945.88
    • Web Server • web-server        • web-javascript • Flutter Tools

• No issues found!
MacBook-Pro:app user$ 
MacBook-Pro:app user$ flutter clean
Cleaning Xcode workspace...                                         2.6s
Deleting build...                                                    3ms
Deleting .dart_tool...                                               4ms
MacBook-Pro:app user$ flutter build appbundle
                                                                        
Compiler message:                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html'
import 'dart:html';                                                     
       ^                                                                
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:2:8: Error: Not found: 'dart:html'
import 'dart:html' show promiseToFuture;                                
       ^                                                                
../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js.dart:8:1: Error: Not found: 'dart:js'
export 'dart:js' show allowInterop, allowInteropCaptureThis;            
^                                                                       
../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
export 'dart:js_util';                                                  
^                                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:306:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
                        ^^^^^^^^^^^^                                    
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var errorWrapper = allowInterop((e) => _changeController.addError(e));
                         ^^^^^^^^^^^^                                   
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:340:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
                        ^^^^^^^^^^^^                                    
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:345:11: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
          allowInterop((e) => _idTokenChangedController.addError(e));   
          ^^^^^^^^^^^^                                                  
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:164:9: Error: The method 'allowInterop' isn't defined for the class 'DatabaseReference<T>'.
 - 'DatabaseReference' is from 'package:firebase/src/database.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
        allowInterop((update) => jsify(transactionUpdate(dartify(update))));
        ^^^^^^^^^^^^                                                    
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:166:26: Error: The method 'allowInterop' isn't defined for the class 'DatabaseReference<T>'.
 - 'DatabaseReference' is from 'package:firebase/src/database.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var onCompleteWrap = allowInterop(                                  
                         ^^^^^^^^^^^^                                   
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:301:24: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/database.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var callbackWrap = allowInterop((database_interop.DataSnapshotJsImpl data,
                       ^^^^^^^^^^^^                                     
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:325:30: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/database.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    jsObject.once(eventType, allowInterop(                              
                             ^^^^^^^^^^^^                               
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:402:22: Error: The method 'allowInterop' isn't defined for the class 'DataSnapshot'.
 - 'DataSnapshot' is from 'package:firebase/src/database.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var actionWrap = allowInterop((d) => action(DataSnapshot.getInstance(d)));
                     ^^^^^^^^^^^^                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:72:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final nextWrapper = allowInterop((payload) {                      
                          ^^^^^^^^^^^^                                  
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:75:28: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final errorWrapper = allowInterop((e) {                           
                           ^^^^^^^^^^^^                                 
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:87:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final nextWrapper = allowInterop((payload) {                      
                          ^^^^^^^^^^^^                                  
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:97:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final nextWrapper = allowInterop((_) => null);                    
                          ^^^^^^^^^^^^                                  
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:98:28: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final errorWrapper = allowInterop((e) {                           
                           ^^^^^^^^^^^^                                 
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:317:11: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
 - 'UploadTask' is from 'package:firebase/src/storage.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
          allowInterop((storage_interop.UploadTaskSnapshotJsImpl data) {
          ^^^^^^^^^^^^                                                  
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:321:26: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
 - 'UploadTask' is from 'package:firebase/src/storage.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var errorWrapper = allowInterop((e) => _changeController.addError(e));
                         ^^^^^^^^^^^^                                   
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:322:26: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
 - 'UploadTask' is from 'package:firebase/src/storage.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var onCompletion = allowInterop(() => _changeController.close()); 
                         ^^^^^^^^^^^^                                   
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:173:7: Error: Method not found: 'hasProperty'.
  if (js.hasProperty(error, 'message')) {                               
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:174:19: Error: Method not found: 'getProperty'.
    var message = js.getProperty(error, 'message');                     
                  ^^^^^^^^^^^                                           
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:105:30: Error: The method 'allowInterop' isn't defined for the class 'Firestore'.
 - 'Firestore' is from 'package:firebase/src/firestore.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var updateFunctionWrap = allowInterop((transaction) =>              
                             ^^^^^^^^^^^^                               
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:306:11: Error: The method 'allowInterop' isn't defined for the class 'DocumentReference'.
 - 'DocumentReference' is from 'package:firebase/src/firestore.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
          allowInterop((firestore_interop.DocumentSnapshotJsImpl snapshot) {
          ^^^^^^^^^^^^                                                  
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'DocumentReference'.
 - 'DocumentReference' is from 'package:firebase/src/firestore.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var errorWrapper = allowInterop((e) => controller.addError(e));   
                         ^^^^^^^^^^^^                                   
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:445:9: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/firestore.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
        allowInterop((firestore_interop.QuerySnapshotJsImpl snapshot) { 
        ^^^^^^^^^^^^                                                    
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:449:24: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/firestore.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var errorWrapper = allowInterop((e) => controller.addError(e));     
                       ^^^^^^^^^^^^                                     
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:775:9: Error: The method 'allowInterop' isn't defined for the class 'QuerySnapshot'.
 - 'QuerySnapshot' is from 'package:firebase/src/firestore.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
        allowInterop((s) => callback(DocumentSnapshot.getInstance(s))); 
        ^^^^^^^^^^^^                                                    
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:30:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(jsObject, 'firestore') &&                        
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:31:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(jsObject, 'id') &&                               
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:32:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(jsObject, 'parent')) {                           
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:38:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(jsObject, 'latitude') &&                         
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:39:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(jsObject, 'longitude') &&                        
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:45:15: Error: Method not found: 'getProperty'.
  var proto = util.getProperty(jsObject, '__proto__');                  
              ^^^^^^^^^^^                                               
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:47:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(proto, 'toDate') &&                              
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:48:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(proto, 'toMillis')) {                            
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:53:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(proto, 'isEqual') &&                             
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:54:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(proto, 'toBase64')) {                            
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:68:24: Error: Method not found: 'getProperty'.
    map[key] = dartify(util.getProperty(jsObject, key));                
                       ^^^^^^^^^^^                                      
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:92:17: Error: Method not found: 'newObject'.
    var jsMap = util.newObject();                                       
                ^^^^^^^^^                                               
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:94:7: Error: Method not found: 'setProperty'.
      util.setProperty(jsMap, key, jsify(value));                       
      ^^^^^^^^^^^                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:117:12: Error: Method not found: 'allowInterop'.
    return allowInterop(dartObject);                                    
           ^^^^^^^^^^^^                                                 
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:125:5: Error: Method not found: 'callMethod'.
    util.callMethod(jsObject, method, args);                            
    ^^^^^^^^^^                                                          
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:140:19: Error: Method not found: 'promiseToFuture'.
    value = await promiseToFuture(thenable);                            
                  ^^^^^^^^^^^^^^^                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:142:9: Error: Method not found: 'hasProperty'.
    if (util.hasProperty(e, 'code')) {                                  
        ^^^^^^^^^^^                                                     
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:153:27: Error: Method not found: 'allowInterop'.
  return PromiseJsImpl<S>(allowInterop((                                
                          ^^^^^^^^^^^^                                  
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:166:5: Error: Method not found: 'allowInterop'.
    allowInterop(c.completeError);                                      
    ^^^^^^^^^^^^                                                        
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:174:22: Error: Method not found: 'getProperty'.
  String get code => util.getProperty(_source, 'code');                 
                     ^^^^^^^^^^^                                        
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:177:25: Error: Method not found: 'getProperty'.
  String get message => util.getProperty(_source, 'message');           
                        ^^^^^^^^^^^                                     
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:180:22: Error: Method not found: 'getProperty'.
  String get name => util.getProperty(_source, 'name');                 
                     ^^^^^^^^^^^                                        
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:183:32: Error: Method not found: 'getProperty'.
  Object get serverResponse => util.getProperty(_source, 'serverResponse');
                               ^^^^^^^^^^^                              
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:186:23: Error: Method not found: 'getProperty'.
  String get stack => util.getProperty(_source, 'stack');               
                      ^^^^^^^^^^^                                       
../../../development/flutter/packages/flutter/lib/src/painting/_network_image_web.dart:64:12: Error: Method not found: 'webOnlyInstantiateImageCodecFromUrl'.
    return ui.webOnlyInstantiateImageCodecFromUrl(resolved) as Future<ui.Codec>; // ignore: undefined_function
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                          
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/interop/js_interop.dart:17:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(jsObject, "toDateString")) {                     
      ^^^^^^^^^^^                                                       
Unhandled exception:                                                    
FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:* and data:* URIs)
#0      StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:33:7)
#1      asFileUri (package:vm/kernel_front_end.dart:604:37)             
#2      writeDepfile (package:vm/kernel_front_end.dart:799:21)          
<asynchronous suspension>                                               
#3      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:472:15)
<asynchronous suspension>                                               
#4      _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:38:22)
#5      starter (package:flutter_frontend_server/server.dart:149:27)    
#6      main (file:///b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:8:30)
#7      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#8      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
                                                                        
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.                                                           
                                                                        
FAILURE: Build failed with an exception.                                
                                                                        
* Where:                                                                
Script '/Users/user/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 801
                                                                        
* What went wrong:                                                      
Execution failed for task ':app:compileFlutterBuildRelease'.            
> Process 'command '/Users/user/development/flutter/bin/flutter'' finished with non-zero exit value 1
                                                                        
* Try:                                                                  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
                                                                        
* Get more help at https://help.gradle.org                              
                                                                        
BUILD FAILED in 8s                                                      
Running Gradle task 'bundleRelease'...                                  
Running Gradle task 'bundleRelease'... Done                         8.9s
Gradle task bundleRelease failed with exit code 1
MacBook-Pro:app user$ 
MacBook-Pro:app user$ flutter run -d 192.168.0.11:5555 --verbose
[  +26 ms] executing: [/Users/user/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +34 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 7511d8c06a0371e6665da1f6b66409167d6c788a
[        ] executing: [/Users/user/development/flutter/] git describe --match v*.*.* --first-parent --long --tags
[  +21 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] v1.13.6-20-g7511d8c06
[  +10 ms] executing: [/Users/user/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/Users/user/development/flutter/] git ls-remote --get-url origin
[   +8 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +63 ms] executing: [/Users/user/development/flutter/] git rev-parse --abbrev-ref HEAD
[   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[   +7 ms] executing: sw_vers -productName
[  +19 ms] Exit code 0 from: sw_vers -productName
[        ] Mac OS X
[        ] executing: sw_vers -productVersion
[  +19 ms] Exit code 0 from: sw_vers -productVersion
[        ] 10.14.6
[        ] executing: sw_vers -buildVersion
[  +19 ms] Exit code 0 from: sw_vers -buildVersion
[        ] 18G103
[  +29 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +42 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb devices -l
[  +13 ms] Exit code 0 from: /Users/user/Library/Android/sdk/platform-tools/adb devices -l
[        ] List of devices attached
           192.168.0.11:5555      device product:pyxis model:Mi_9_Lite device:pyxis transport_id:3
[  +25 ms] executing: /Users/user/development/flutter/bin/cache/artifacts/libimobiledevice/idevice_id -h
[  +50 ms] executing: /usr/bin/xcode-select --print-path
[  +16 ms] Exit code 0 from: /usr/bin/xcode-select --print-path
[        ] /Applications/Xcode.app/Contents/Developer
[   +1 ms] executing: /usr/bin/xcodebuild -version
[ +119 ms] Exit code 0 from: /usr/bin/xcodebuild -version
[   +3 ms] Xcode 11.1
           Build version 11A1027
[   +3 ms] /usr/bin/xcrun simctl list --json devices
[ +152 ms] /Users/user/Library/Android/sdk/platform-tools/adb -s 192.168.0.11:5555 shell getprop
[ +175 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[   +4 ms] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +92 ms] Found plugin firebase_auth at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.3/
[   +9 ms] Found plugin firebase_auth_web at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.1+1/
[   +2 ms] Found plugin firebase_core at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+1/
[   +3 ms] Found plugin firebase_core_web at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[  +11 ms] Found plugin flutter_webrtc at /Users/user/.pub-cache/git/flutter-webrtc-f95c99134886d0f55ff8c00df6c5254294811218/
[  +57 ms] Found plugin firebase_auth at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth-0.15.3/
[   +2 ms] Found plugin firebase_auth_web at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_auth_web-0.1.1+1/
[   +2 ms] Found plugin firebase_core at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core-0.4.3+1/
[   +2 ms] Found plugin firebase_core_web at /Users/user/.pub-cache/hosted/pub.dartlang.org/firebase_core_web-0.1.1+1/
[   +6 ms] Found plugin flutter_webrtc at /Users/user/.pub-cache/git/flutter-webrtc-f95c99134886d0f55ff8c00df6c5254294811218/
[  +64 ms] Generating /Users/user/dev/bb_client/app/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[  +50 ms] ro.hardware = qcom
[  +46 ms] Launching lib/main.dart on Mi 9 Lite in debug mode...
[  +14 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s 192.168.0.11:5555 shell -x logcat -v time -t 1
[ +367 ms] Exit code 0 from: /Users/user/Library/Android/sdk/platform-tools/adb -s 192.168.0.11:5555 shell -x logcat -v time -t 1
[        ] --------- beginning of main
           01-05 06:06:31.686 E/tftp_server(  749): pid=749 tid=13927 tftp-server : ERR :[tftp_protocol.c, 1229] sending error-pkt. Code = 1,
           Msg = Err=2 String=No such file or directory
[   +5 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb -s 192.168.0.11:5555 logcat -v time -T 01-05 06:06:31.686
[   +7 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb version
[  +22 ms] Android Debug Bridge version 1.0.41
           Version 29.0.5-5949299
           Installed as /Users/user/Library/Android/sdk/platform-tools/adb
[   +3 ms] executing: /Users/user/Library/Android/sdk/platform-tools/adb start-server
[  +22 ms] Building APK
[  +26 ms] Running Gradle task 'assembleDebug'...
[   +2 ms] gradle.properties already sets `android.enableR8`
[   +3 ms] Using gradle from /Users/user/dev/bb_client/app/android/gradlew.
[   +1 ms] /Users/user/dev/bb_client/app/android/gradlew mode: 33261 rwxr-xr-x.
[  +73 ms] executing: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[  +17 ms] Exit code 0 from: /usr/bin/plutil -convert json -o - /Applications/Android Studio.app/Contents/Info.plist
[        ] {"CFBundleName":"Android
Studio","JVMOptions":{"MainClass":"com.intellij.idea.Main","ClassPath":"$APP_PACKAGE\/Contents\/lib\/bootstrap.jar:$APP_PACKAGE\/Contents\/li
b\/extensions.jar:$APP_PACKAGE\/Contents\/lib\/util.jar:$APP_PACKAGE\/Contents\/lib\/jdom.jar:$APP_PACKAGE\/Contents\/lib\/log4j.jar:$APP_PAC
KAGE\/Contents\/lib\/trove4j.jar:$APP_PACKAGE\/Contents\/lib\/jna.jar","JVMVersion":"1.8*,1.8+","Properties":{"idea.home.path":"$APP_PACKAGE\
/Contents","idea.executable":"studio","idea.platform.prefix":"AndroidStudio","idea.paths.selector":"AndroidStudio3.5"},"WorkingDirectory":"$A
PP_PACKAGE\/Contents\/bin"},"LSArchitecturePriority":["x86_64"],"CFBundleVersion":"AI-191.8026.42.35.5977832","CFBundleDevelopmentRegion":"En
glish","CFBundleDocumentTypes":[{"CFBundleTypeExtensions":["ipr"],"CFBundleTypeName":"Android Studio Project
File","CFBundleTypeIconFile":"studio.icns","CFBundleTypeRole":"Editor"},{"CFBundleTypeExtensions":["*"],"CFBundleTypeOSTypes":["****"],"LSTyp
eIsPackage":false,"CFBundleTypeName":"All
documents","CFBundleTypeRole":"Editor"}],"NSSupportsAutomaticGraphicsSwitching":true,"CFBundlePackageType":"APPL","CFBundleIconFile":"studio.
icns","NSHighResolutionCapable":true,"CFBundleShortVersionString":"3.5","CFBundleInfoDictionaryVersion":"6.0","CFBundleExecutable":"studio","
LSRequiresNativeExecution":"YES","CFBundleURLTypes":[{"CFBundleURLName":"Stacktrace","CFBundleURLSchemes":["idea"],"CFBundleTypeRole":"Editor
"}],"CFBundleIdentifier":"com.google.android.studio","LSApplicationCategoryType":"public.app-category.developer-tools","CFBundleSignature":"?
???","LSMinimumSystemVersion":"10.8","CFBundleGetInfoString":"Android Studio 3.5, build AI-191.8026.42.35.5977832. Copyright JetBrains
s.r.o., (c) 2000-2019"}
[   +9 ms] executing: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[  +84 ms] Exit code 0 from: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java -version
[        ] openjdk version "1.8.0_202-release"
           OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
           OpenJDK 64-Bit Server VM (build 25.202-b49-5587405, mixed mode)
[   +2 ms] executing: [/Users/user/dev/bb_client/app/android/] /Users/user/dev/bb_client/app/android/gradlew -Pverbose=true
-Ptarget=/Users/user/dev/bb_client/app/lib/main.dart -Ptrack-widget-creation=true -Pfilesystem-scheme=org-dartlang-root
-Ptarget-platform=android-arm64 assembleDebug
[ +720 ms] > Configure project :app
[        ] WARNING: API 'variant.getMergeResources()' is obsolete and has been replaced with 'variant.getMergeResourcesProvider()'.
[        ] It will be removed at the end of 2019.
[        ] For more information, see https://d.android.com/r/tools/task-configuration-avoidance.
[        ] To determine what is calling variant.getMergeResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display more
information.
[+2286 ms] > Task :app:compileFlutterBuildDebug
[        ] [  +28 ms] executing: [/Users/user/development/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [  +37 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] [        ] 7511d8c06a0371e6665da1f6b66409167d6c788a
[        ] [        ] executing: [/Users/user/development/flutter/] git describe --match v*.*.* --first-parent --long --tags
[        ] [  +20 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags
[        ] [        ] v1.13.6-20-g7511d8c06
[        ] [   +9 ms] executing: [/Users/user/development/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[        ] [   +7 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] [        ] origin/master
[        ] [        ] executing: [/Users/user/development/flutter/] git ls-remote --get-url origin
[        ] [   +7 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] [        ] https://github.com/flutter/flutter.git
[        ] [  +59 ms] executing: [/Users/user/development/flutter/] git rev-parse --abbrev-ref HEAD
[        ] [   +9 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] [        ] master
[        ] [  +22 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [   +6 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] [        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] [ +100 ms] Initializing file store
[        ] [  +22 ms] kernel_snapshot: Starting due to {}
[        ] [  +13 ms] /Users/user/development/flutter/bin/cache/dart-sdk/bin/dart
/Users/user/development/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root
/Users/user/development/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --target=flutter
-Ddart.developer.causal_async_stacks=true -Ddart.vm.profile=false -Ddart.vm.product=false
--bytecode-options=source-positions,local-var-info,debugger-stops,instance-field-initializers,keep-unreachable-code,avoid-closure-call-instru
ctions --enable-asserts --track-widget-creation --no-link-platform --packages /Users/user/dev/bb_client/app/.packages --output-dill
/Users/user/dev/bb_client/app/.dart_tool/flutter_build/11c8aa48b9d037109322cc1d3d25ba4d/app.dill --depfile
/Users/user/dev/bb_client/app/.dart_tool/flutter_build/11c8aa48b9d037109322cc1d3d25ba4d/kernel_snapshot.d package:app/main.dart
[   +2 ms] [ +730 ms] 
[   +1 ms]            Compiler message:
[        ] [   +2 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html'
[        ] [        ] import 'dart:html';
[        ] [        ]        ^
[        ] [   +1 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:2:8: Error: Not found: 'dart:html'
[        ] [        ] import 'dart:html' show promiseToFuture;
[        ] [        ]        ^
[        ] [  +21 ms] ../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js.dart:8:1: Error: Not found: 'dart:js'
[        ] [        ] export 'dart:js' show allowInterop, allowInteropCaptureThis;
[        ] [        ] ^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
[        ] [        ] export 'dart:js_util';
[        ] [        ] ^
[+2181 ms] [+2649 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:306:25: Error: The method 'allowInterop'
isn't defined for the class 'Auth'.
[        ] [        ]  - 'Auth' is from 'package:firebase/src/auth.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
[        ] [        ]                         ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:310:26: Error: The method 'allowInterop'
isn't defined for the class 'Auth'.
[        ] [        ]  - 'Auth' is from 'package:firebase/src/auth.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       var errorWrapper = allowInterop((e) => _changeController.addError(e));
[        ] [        ]                          ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:340:25: Error: The method 'allowInterop'
isn't defined for the class 'Auth'.
[        ] [        ]  - 'Auth' is from 'package:firebase/src/auth.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
[        ] [        ]                         ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:345:11: Error: The method 'allowInterop'
isn't defined for the class 'Auth'.
[        ] [        ]  - 'Auth' is from 'package:firebase/src/auth.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]           allowInterop((e) => _idTokenChangedController.addError(e));
[        ] [        ]           ^^^^^^^^^^^^
[        ] [   +7 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:164:9: Error: The method
'allowInterop' isn't defined for the class 'DatabaseReference<T>'.
[        ] [        ]  - 'DatabaseReference' is from 'package:firebase/src/database.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]         allowInterop((update) => jsify(transactionUpdate(dartify(update))));
[        ] [        ]         ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:166:26: Error: The method
'allowInterop' isn't defined for the class 'DatabaseReference<T>'.
[        ] [        ]  - 'DatabaseReference' is from 'package:firebase/src/database.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]     var onCompleteWrap = allowInterop(
[        ] [        ]                          ^^^^^^^^^^^^
[        ] [   +1 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:301:24: Error: The method
'allowInterop' isn't defined for the class 'Query<T>'.
[        ] [        ]  - 'Query' is from 'package:firebase/src/database.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]     var callbackWrap = allowInterop((database_interop.DataSnapshotJsImpl data,
[        ] [        ]                        ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:325:30: Error: The method
'allowInterop' isn't defined for the class 'Query<T>'.
[        ] [        ]  - 'Query' is from 'package:firebase/src/database.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]     jsObject.once(eventType, allowInterop(
[        ] [        ]                              ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:402:22: Error: The method
'allowInterop' isn't defined for the class 'DataSnapshot'.
[        ] [        ]  - 'DataSnapshot' is from 'package:firebase/src/database.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]     var actionWrap = allowInterop((d) => action(DataSnapshot.getInstance(d)));
[        ] [        ]                      ^^^^^^^^^^^^
[        ] [   +3 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:72:27: Error: The method
'allowInterop' isn't defined for the class 'Messaging'.
[        ] [        ]  - 'Messaging' is from 'package:firebase/src/messaging.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       final nextWrapper = allowInterop((payload) {
[        ] [        ]                           ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:75:28: Error: The method
'allowInterop' isn't defined for the class 'Messaging'.
[        ] [        ]  - 'Messaging' is from 'package:firebase/src/messaging.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       final errorWrapper = allowInterop((e) {
[        ] [        ]                            ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:87:27: Error: The method
'allowInterop' isn't defined for the class 'Messaging'.
[        ] [        ]  - 'Messaging' is from 'package:firebase/src/messaging.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       final nextWrapper = allowInterop((payload) {
[        ] [        ]                           ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:97:27: Error: The method
'allowInterop' isn't defined for the class 'Messaging'.
[        ] [        ]  - 'Messaging' is from 'package:firebase/src/messaging.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       final nextWrapper = allowInterop((_) => null);
[        ] [        ]                           ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:98:28: Error: The method
'allowInterop' isn't defined for the class 'Messaging'.
[        ] [        ]  - 'Messaging' is from 'package:firebase/src/messaging.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       final errorWrapper = allowInterop((e) {
[        ] [        ]                            ^^^^^^^^^^^^
[        ] [   +4 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:317:11: Error: The method
'allowInterop' isn't defined for the class 'UploadTask'.
[        ] [        ]  - 'UploadTask' is from 'package:firebase/src/storage.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]           allowInterop((storage_interop.UploadTaskSnapshotJsImpl data) {
[        ] [        ]           ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:321:26: Error: The method
'allowInterop' isn't defined for the class 'UploadTask'.
[   +1 ms] [        ]  - 'UploadTask' is from 'package:firebase/src/storage.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       var errorWrapper = allowInterop((e) => _changeController.addError(e));
[        ] [        ]                          ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:322:26: Error: The method
'allowInterop' isn't defined for the class 'UploadTask'.
[        ] [        ]  - 'UploadTask' is from 'package:firebase/src/storage.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       var onCompletion = allowInterop(() => _changeController.close());
[        ] [        ]                          ^^^^^^^^^^^^
[        ] [   +5 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:173:7: Error: Method not found:
'hasProperty'.
[        ] [        ]   if (js.hasProperty(error, 'message')) {
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:174:19: Error: Method not found:
'getProperty'.
[        ] [        ]     var message = js.getProperty(error, 'message');
[        ] [        ]                   ^^^^^^^^^^^
[        ] [   +2 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:105:30: Error: The method
'allowInterop' isn't defined for the class 'Firestore'.
[        ] [        ]  - 'Firestore' is from 'package:firebase/src/firestore.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]     var updateFunctionWrap = allowInterop((transaction) =>
[        ] [        ]                              ^^^^^^^^^^^^
[        ] [  +10 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:306:11: Error: The method
'allowInterop' isn't defined for the class 'DocumentReference'.
[        ] [        ]  - 'DocumentReference' is from 'package:firebase/src/firestore.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]           allowInterop((firestore_interop.DocumentSnapshotJsImpl snapshot) {
[        ] [        ]           ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:310:26: Error: The method
'allowInterop' isn't defined for the class 'DocumentReference'.
[        ] [        ]  - 'DocumentReference' is from 'package:firebase/src/firestore.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]       var errorWrapper = allowInterop((e) => controller.addError(e));
[        ] [        ]                          ^^^^^^^^^^^^
[        ] [   +1 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:445:9: Error: The method
'allowInterop' isn't defined for the class 'Query<T>'.
[        ] [        ]  - 'Query' is from 'package:firebase/src/firestore.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]         allowInterop((firestore_interop.QuerySnapshotJsImpl snapshot) {
[        ] [        ]         ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:449:24: Error: The method
'allowInterop' isn't defined for the class 'Query<T>'.
[        ] [        ]  - 'Query' is from 'package:firebase/src/firestore.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]     var errorWrapper = allowInterop((e) => controller.addError(e));
[        ] [        ]                        ^^^^^^^^^^^^
[        ] [   +2 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:775:9: Error: The method
'allowInterop' isn't defined for the class 'QuerySnapshot'.
[        ] [        ]  - 'QuerySnapshot' is from 'package:firebase/src/firestore.dart'
('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
[        ] [        ]         allowInterop((s) => callback(DocumentSnapshot.getInstance(s)));
[        ] [        ]         ^^^^^^^^^^^^
[ +663 ms] [ +706 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:30:7: Error: Method not found:
'hasProperty'.
[        ] [        ]   if (util.hasProperty(jsObject, 'firestore') &&
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:31:7: Error: Method not found:
'hasProperty'.
[        ] [        ]       util.hasProperty(jsObject, 'id') &&
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:32:7: Error: Method not found:
'hasProperty'.
[        ] [        ]       util.hasProperty(jsObject, 'parent')) {
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:38:7: Error: Method not found:
'hasProperty'.
[        ] [        ]   if (util.hasProperty(jsObject, 'latitude') &&
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:39:7: Error: Method not found:
'hasProperty'.
[        ] [        ]       util.hasProperty(jsObject, 'longitude') &&
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:45:15: Error: Method not found:
'getProperty'.
[        ] [        ]   var proto = util.getProperty(jsObject, '__proto__');
[        ] [        ]               ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:47:7: Error: Method not found:
'hasProperty'.
[        ] [        ]   if (util.hasProperty(proto, 'toDate') &&
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:48:7: Error: Method not found:
'hasProperty'.
[        ] [        ]       util.hasProperty(proto, 'toMillis')) {
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:53:7: Error: Method not found:
'hasProperty'.
[        ] [        ]   if (util.hasProperty(proto, 'isEqual') &&
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:54:7: Error: Method not found:
'hasProperty'.
[        ] [        ]       util.hasProperty(proto, 'toBase64')) {
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:68:24: Error: Method not found:
'getProperty'.
[        ] [        ]     map[key] = dartify(util.getProperty(jsObject, key));
[        ] [        ]                        ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:92:17: Error: Method not found:
'newObject'.
[        ] [        ]     var jsMap = util.newObject();
[        ] [        ]                 ^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:94:7: Error: Method not found:
'setProperty'.
[        ] [        ]       util.setProperty(jsMap, key, jsify(value));
[        ] [        ]       ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:117:12: Error: Method not found:
'allowInterop'.
[        ] [        ]     return allowInterop(dartObject);
[        ] [        ]            ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:125:5: Error: Method not found:
'callMethod'.
[        ] [        ]     util.callMethod(jsObject, method, args);
[        ] [        ]     ^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:140:19: Error: Method not found:
'promiseToFuture'.
[        ] [        ]     value = await promiseToFuture(thenable);
[        ] [        ]                   ^^^^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:142:9: Error: Method not found:
'hasProperty'.
[        ] [        ]     if (util.hasProperty(e, 'code')) {
[        ] [        ]         ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:153:27: Error: Method not found:
'allowInterop'.
[        ] [        ]   return PromiseJsImpl<S>(allowInterop((
[        ] [        ]                           ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:166:5: Error: Method not found:
'allowInterop'.
[        ] [        ]     allowInterop(c.completeError);
[        ] [        ]     ^^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:174:22: Error: Method not found:
'getProperty'.
[        ] [        ]   String get code => util.getProperty(_source, 'code');
[        ] [        ]                      ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:177:25: Error: Method not found:
'getProperty'.
[        ] [        ]   String get message => util.getProperty(_source, 'message');
[        ] [        ]                         ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:180:22: Error: Method not found:
'getProperty'.
[        ] [        ]   String get name => util.getProperty(_source, 'name');
[        ] [        ]                      ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:183:32: Error: Method not found:
'getProperty'.
[        ] [        ]   Object get serverResponse => util.getProperty(_source, 'serverResponse');
[        ] [        ]                                ^^^^^^^^^^^
[        ] [        ] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:186:23: Error: Method not found:
'getProperty'.
[        ] [        ]   String get stack => util.getProperty(_source, 'stack');
[        ] [        ]                       ^^^^^^^^^^^
[  +88 ms] [  +46 ms] ../../../development/flutter/packages/flutter/lib/src/painting/_network_image_web.dart:64:12: Error: Method not found:
'webOnlyInstantiateImageCodecFromUrl'.
[        ] [        ]     return ui.webOnlyInstantiateImageCodecFromUrl(resolved) as Future<ui.Codec>; // ignore: undefined_function
[        ] [        ]            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [  +40 ms] ../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/interop/js_interop.dart:17:7: Error: Method not
found: 'hasProperty'.
[        ] [        ]   if (util.hasProperty(jsObject, "toDateString")) {
[        ] [        ]       ^^^^^^^^^^^
[+2098 ms] [+2062 ms] Unhandled exception:
[        ]            FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:*
and data:* URIs)
[        ]            #0      StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:33:7)
[        ]            #1      asFileUri (package:vm/kernel_front_end.dart:604:37)
[        ]            #2      writeDepfile (package:vm/kernel_front_end.dart:799:21)
[        ]            <asynchronous suspension>
[        ]            #3      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:472:15)
[        ]            <asynchronous suspension>
[        ]            #4      _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:38:22)
[        ]            #5      starter (package:flutter_frontend_server/server.dart:149:27)
[        ]            #6      main (file:///b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:8:30)
[        ]            #7      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
[        ]            #8      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
[  +88 ms] [  +75 ms] Persisting file store
[        ] [   +6 ms] Done persisting file store
[        ] [  +11 ms] "flutter assemble" took 6,598ms.
[        ] [   +1 ms] Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
[        ] build failed.
[        ] #0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
[        ] #1      AssembleCommand.runCommand (package:flutter_tools/src/commands/assemble.dart:189:7)
[        ] <asynchronous suspension>
[        ] #2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:626:18)
[        ] <asynchronous suspension>
[        ] #3      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:522:33)
[        ] <asynchronous suspension>
[        ] #4      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
[        ] #5      _rootRun (dart:async/zone.dart:1126:13)
[        ] #6      _CustomZone.run (dart:async/zone.dart:1023:19)
[        ] #7      _runZoned (dart:async/zone.dart:1518:10)
[        ] #8      runZoned (dart:async/zone.dart:1465:12)
[        ] #9      AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
[        ] #10     FlutterCommand.run (package:flutter_tools/src/runner/flutter_command.dart:512:20)
[        ] #11     CommandRunner.runCommand (package:args/command_runner.dart:197:27)
[        ] #12     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:333:21)
[        ] <asynchronous suspension>
[        ] #13     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
[        ] #14     _rootRun (dart:async/zone.dart:1126:13)
[        ] #15     _CustomZone.run (dart:async/zone.dart:1023:19)
[        ] #16     _runZoned (dart:async/zone.dart:1518:10)
[        ] #17     runZoned (dart:async/zone.dart:1465:12)
[        ] #18     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
[        ] #19     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:284:19)
[        ] #20     CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
[        ] #21     new Future.sync (dart:async/future.dart:224:31)
[        ] #22     CommandRunner.run (package:args/command_runner.dart:112:14)
[        ] #23     FlutterCommandRunner.run (package:flutter_tools/src/runner/flutter_command_runner.dart:227:18)
[        ] #24     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:22)
[        ] #25     _rootRun (dart:async/zone.dart:1126:13)
[        ] #26     _CustomZone.run (dart:async/zone.dart:1023:19)
[        ] #27     _runZoned (dart:async/zone.dart:1518:10)
[        ] #28     runZoned (dart:async/zone.dart:1502:12)
[        ] #29     run.<anonymous closure> (package:flutter_tools/runner.dart:62:18)
[        ] <asynchronous suspension>
[        ] #30     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:29)
[        ] #31     _rootRun (dart:async/zone.dart:1126:13)
[        ] > Task :app:compileFlutterBuildDebug FAILED
[        ] 1 actionable task: 1 executed
[        ] #32     _CustomZone.run (dart:async/zone.dart:1023:19)
[        ] #33     _runZoned (dart:async/zone.dart:1518:10)
[        ] #34     runZoned (dart:async/zone.dart:1465:12)
[        ] #35     AppContext.run (package:flutter_tools/src/base/context.dart:149:18)
[        ] #36     runInContext (package:flutter_tools/src/context_runner.dart:64:24)
[        ] #37     run (package:flutter_tools/runner.dart:51:10)
[        ] #38     main (package:flutter_tools/executable.dart:65:9)
[        ] #39     main (file:///Users/user/development/flutter/packages/flutter_tools/bin/flutter_tools.dart:8:3)
[        ] #40     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
[        ] #41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
[        ] FAILURE: Build failed with an exception.
[        ] * Where:
[        ] Script '/Users/user/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 801
[        ] * What went wrong:
[        ] Execution failed for task ':app:compileFlutterBuildDebug'.
[        ] > Process 'command '/Users/user/development/flutter/bin/flutter'' finished with non-zero exit value 1
[        ] * Try:
[        ] Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to
get full insights.
[        ] * Get more help at https://help.gradle.org
[        ] BUILD FAILED in 8s
[ +381 ms] Running Gradle task 'assembleDebug'... (completed in 8.8s)
[  +17 ms] "flutter run" took 10,351ms.
Gradle task assembleDebug failed with exit code 1

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      buildGradleApp (package:flutter_tools/src/android/gradle.dart:394:7)
#2      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:75:64)
#3      _rootRunUnary (dart:async/zone.dart:1134:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:140:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:34:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:293:13)
#11     _DefaultProcessUtils.stream (package:flutter_tools/src/base/process.dart)
#12     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:75:64)
#13     _rootRunUnary (dart:async/zone.dart:1134:38)
#14     _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#15     _FutureListener.handleValue (dart:async/future_impl.dart:140:18)
#16     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#17     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#18     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#19     Future._asyncComplete.<anonymous closure> (dart:async/future_impl.dart:556:7)
#20     _rootRun (dart:async/zone.dart:1126:13)
#21     _CustomZone.run (dart:async/zone.dart:1023:19)
#22     _CustomZone.runGuarded (dart:async/zone.dart:925:7)
#23     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:965:23)
#24     _microtaskLoop (dart:async/schedule_microtask.dart:43:21)
#25     _startMicrotaskLoop (dart:async/schedule_microtask.dart:52:5)
#26     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:118:13)
#27     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:175:5)



MacBook-Pro:app user$ 

@radvansky-tomas
Copy link

Yeah, after following documentation, I cannot run project on iOS
Compiler message: ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html' import 'dart:html'; ^ ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:2:8: Error: Not found: 'dart:html' import 'dart:html' show promiseToFuture; ^ ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js.dart:8:1: Error: Not found: 'dart:js' export 'dart:js' show allowInterop, allowInteropCaptureThis; ^ ../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'

Same as @chertov
And plenty more...

@rdev-software

This comment has been minimized.

@chertov

This comment has been minimized.

@harryterkelsen
Copy link

Can you please elaborate on what you are trying to do? Can you try flutter clean to make sure there are no outdated build artifacts? Please make sure that your pubspec.yaml does not contain a dependency on firebase_auth_web.

@chertov
Copy link

chertov commented Jan 8, 2020

@hterkelsen Yes, i make flutter clean and flutter pub get every time
my dev_dependencies is:

dev_dependencies:
  flutter_test:
    sdk: flutter

  firebase_auth: ^0.15.2
  flutter_redux: ^0.6.0
  redux_thunk: ^0.3.0
  flutter_webrtc:
    git:
      url: https://github.com/cloudwebrtc/flutter-webrtc.git
  mqtt_client: ^5.6.3
  js: ^0.6.0

js i'm using only for flutter web code implementation

MacBook-Pro:app user$ flutter clean
Cleaning Xcode workspace...                                         2.8s
Deleting build...                                                    2ms
Deleting .dart_tool...                                               1ms
MacBook-Pro:app user$ flutter pub get
Running "flutter pub get" in app...                                 0.6s
MacBook-Pro:app user$ flutter build appbundle
                                                                        
Compiler message:                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html'
import 'dart:html';                                                     
       ^                                                                
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:2:8: Error: Not found: 'dart:html'
import 'dart:html' show promiseToFuture;                                
       ^                                                                
../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js.dart:8:1: Error: Not found: 'dart:js'
export 'dart:js' show allowInterop, allowInteropCaptureThis;            
^                                                                       
../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
export 'dart:js_util';                                                  
^                                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:306:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
                        ^^^^^^^^^^^^                                    
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var errorWrapper = allowInterop((e) => _changeController.addError(e));
                         ^^^^^^^^^^^^                                   
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:340:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
                        ^^^^^^^^^^^^                                    
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:345:11: Error: The method 'allowInterop' isn't defined for the class 'Auth'.

....

@chertov
Copy link

chertov commented Jan 8, 2020

i will try to create a new empty project with firebase_auth

@harryterkelsen
Copy link

As an experiment can you delete lib/generated_plugin_registrant.dart after doing flutter pub get and before doing flutter build appbundle and tell me if that works?

@rdev-software
Copy link

rdev-software commented Jan 9, 2020

@hterkelsen I always do flutter clean and rebuild if I see that kind of issue.
And I tried to delete lib/generated_plugin_registrant.dart even before, as it seems bit odd to have such file in root anyway. But error was still present.

And I've done what you asked for, with same errors:

flutter build appbundle
                                                                        
Compiler message:                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html'
import 'dart:html';                                                     
       ^                                                                
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:2:8: Error: Not found: 'dart:html'
import 'dart:html' show promiseToFuture;                                
       ^                                                                
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js.dart:8:1: Error: Not found: 'dart:js'
export 'dart:js' show allowInterop, allowInteropCaptureThis;            
^                                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js_util.dart:8:1: Error: Not found: 'dart:js_util'
export 'dart:js_util';                                                  
^                                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/localstorage-3.0.1+4/lib/src/directory/web.dart:3:8: Error: Not found: 'dart:html'
import 'dart:html' as html;                                             
       ^                                                                
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/localstorage-3.0.1+4/lib/src/directory/web.dart:11:3: Error: Type 'html.Storage' not found.
  html.Storage get localStorage => html.window.localStorage;            
  ^^^^^^^^^^^^                                                          
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:306:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
                        ^^^^^^^^^^^^                                    
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var errorWrapper = allowInterop((e) => _changeController.addError(e));
                         ^^^^^^^^^^^^                                   
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:340:25: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var nextWrapper = allowInterop((firebase_interop.UserJsImpl user) {
                        ^^^^^^^^^^^^                                    
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart:345:11: Error: The method 'allowInterop' isn't defined for the class 'Auth'.
 - 'Auth' is from 'package:firebase/src/auth.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/auth.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
          allowInterop((e) => _idTokenChangedController.addError(e));   
          ^^^^^^^^^^^^                                                  
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:164:9: Error: The method 'allowInterop' isn't defined for the class 'DatabaseReference<T>'.
 - 'DatabaseReference' is from 'package:firebase/src/database.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
        allowInterop((update) => jsify(transactionUpdate(dartify(update))));
        ^^^^^^^^^^^^                                                    
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:166:26: Error: The method 'allowInterop' isn't defined for the class 'DatabaseReference<T>'.
 - 'DatabaseReference' is from 'package:firebase/src/database.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var onCompleteWrap = allowInterop(                                  
                         ^^^^^^^^^^^^                                   
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:301:24: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/database.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var callbackWrap = allowInterop((database_interop.DataSnapshotJsImpl data,
                       ^^^^^^^^^^^^                                     
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:325:30: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/database.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    jsObject.once(eventType, allowInterop(                              
                             ^^^^^^^^^^^^                               
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart:402:22: Error: The method 'allowInterop' isn't defined for the class 'DataSnapshot'.
 - 'DataSnapshot' is from 'package:firebase/src/database.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/database.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var actionWrap = allowInterop((d) => action(DataSnapshot.getInstance(d)));
                     ^^^^^^^^^^^^                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:72:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final nextWrapper = allowInterop((payload) {                      
                          ^^^^^^^^^^^^                                  
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:75:28: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final errorWrapper = allowInterop((e) {                           
                           ^^^^^^^^^^^^                                 
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:87:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final nextWrapper = allowInterop((payload) {                      
                          ^^^^^^^^^^^^                                  
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:97:27: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final nextWrapper = allowInterop((_) => null);                    
                          ^^^^^^^^^^^^                                  
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart:98:28: Error: The method 'allowInterop' isn't defined for the class 'Messaging'.
 - 'Messaging' is from 'package:firebase/src/messaging.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/messaging.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      final errorWrapper = allowInterop((e) {                           
                           ^^^^^^^^^^^^                                 
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:317:11: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
 - 'UploadTask' is from 'package:firebase/src/storage.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
          allowInterop((storage_interop.UploadTaskSnapshotJsImpl data) {
          ^^^^^^^^^^^^                                                  
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:321:26: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
 - 'UploadTask' is from 'package:firebase/src/storage.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var errorWrapper = allowInterop((e) => _changeController.addError(e));
                         ^^^^^^^^^^^^                                   
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart:322:26: Error: The method 'allowInterop' isn't defined for the class 'UploadTask'.
 - 'UploadTask' is from 'package:firebase/src/storage.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/storage.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var onCompletion = allowInterop(() => _changeController.close()); 
                         ^^^^^^^^^^^^                                   
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:173:7: Error: Method not found: 'hasProperty'.
  if (js.hasProperty(error, 'message')) {                               
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:174:19: Error: Method not found: 'getProperty'.
    var message = js.getProperty(error, 'message');                     
                  ^^^^^^^^^^^                                           
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:30:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(jsObject, 'firestore') &&                        
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:31:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(jsObject, 'id') &&                               
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:32:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(jsObject, 'parent')) {                           
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:38:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(jsObject, 'latitude') &&                         
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:39:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(jsObject, 'longitude') &&                        
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:45:15: Error: Method not found: 'getProperty'.
  var proto = util.getProperty(jsObject, '__proto__');                  
              ^^^^^^^^^^^                                               
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:47:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(proto, 'toDate') &&                              
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:48:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(proto, 'toMillis')) {                            
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:53:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(proto, 'isEqual') &&                             
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:54:7: Error: Method not found: 'hasProperty'.
      util.hasProperty(proto, 'toBase64')) {                            
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:68:24: Error: Method not found: 'getProperty'.
    map[key] = dartify(util.getProperty(jsObject, key));                
                       ^^^^^^^^^^^                                      
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:92:17: Error: Method not found: 'newObject'.
    var jsMap = util.newObject();                                       
                ^^^^^^^^^                                               
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:94:7: Error: Method not found: 'setProperty'.
      util.setProperty(jsMap, key, jsify(value));                       
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:117:12: Error: Method not found: 'allowInterop'.
    return allowInterop(dartObject);                                    
           ^^^^^^^^^^^^                                                 
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:125:5: Error: Method not found: 'callMethod'.
    util.callMethod(jsObject, method, args);                            
    ^^^^^^^^^^                                                          
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:140:19: Error: Method not found: 'promiseToFuture'.
    value = await promiseToFuture(thenable);                            
                  ^^^^^^^^^^^^^^^                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:142:9: Error: Method not found: 'hasProperty'.
    if (util.hasProperty(e, 'code')) {                                  
        ^^^^^^^^^^^                                                     
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:153:27: Error: Method not found: 'allowInterop'.
  return PromiseJsImpl<S>(allowInterop((                                
                          ^^^^^^^^^^^^                                  
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:166:5: Error: Method not found: 'allowInterop'.
    allowInterop(c.completeError);                                      
    ^^^^^^^^^^^^                                                        
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:174:22: Error: Method not found: 'getProperty'.
  String get code => util.getProperty(_source, 'code');                 
                     ^^^^^^^^^^^                                        
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:177:25: Error: Method not found: 'getProperty'.
  String get message => util.getProperty(_source, 'message');           
                        ^^^^^^^^^^^                                     
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:180:22: Error: Method not found: 'getProperty'.
  String get name => util.getProperty(_source, 'name');                 
                     ^^^^^^^^^^^                                        
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:183:32: Error: Method not found: 'getProperty'.
  Object get serverResponse => util.getProperty(_source, 'serverResponse');
                               ^^^^^^^^^^^                              
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:186:23: Error: Method not found: 'getProperty'.
  String get stack => util.getProperty(_source, 'stack');               
                      ^^^^^^^^^^^                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:105:30: Error: The method 'allowInterop' isn't defined for the class 'Firestore'.
 - 'Firestore' is from 'package:firebase/src/firestore.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var updateFunctionWrap = allowInterop((transaction) =>              
                             ^^^^^^^^^^^^                               
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:306:11: Error: The method 'allowInterop' isn't defined for the class 'DocumentReference'.
 - 'DocumentReference' is from 'package:firebase/src/firestore.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
          allowInterop((firestore_interop.DocumentSnapshotJsImpl snapshot) {
          ^^^^^^^^^^^^                                                  
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:310:26: Error: The method 'allowInterop' isn't defined for the class 'DocumentReference'.
 - 'DocumentReference' is from 'package:firebase/src/firestore.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
      var errorWrapper = allowInterop((e) => controller.addError(e));   
                         ^^^^^^^^^^^^                                   
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:445:9: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/firestore.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
        allowInterop((firestore_interop.QuerySnapshotJsImpl snapshot) { 
        ^^^^^^^^^^^^                                                    
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:449:24: Error: The method 'allowInterop' isn't defined for the class 'Query<T>'.
 - 'Query' is from 'package:firebase/src/firestore.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
    var errorWrapper = allowInterop((e) => controller.addError(e));     
                       ^^^^^^^^^^^^                                     
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart:775:9: Error: The method 'allowInterop' isn't defined for the class 'QuerySnapshot'.
 - 'QuerySnapshot' is from 'package:firebase/src/firestore.dart' ('../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/firestore.dart').
Try correcting the name to the name of an existing method, or defining a method named 'allowInterop'.
        allowInterop((s) => callback(DocumentSnapshot.getInstance(s))); 
        ^^^^^^^^^^^^                                                    
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/interop/js_interop.dart:17:7: Error: Method not found: 'hasProperty'.
  if (util.hasProperty(jsObject, "toDateString")) {                     
      ^^^^^^^^^^^                                                       
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/localstorage-3.0.1+4/lib/src/directory/web.dart:11:41: Error: Getter not found: 'window'.
  html.Storage get localStorage => html.window.localStorage;            
                                        ^^^^^^                          
../../../development/flutter/packages/flutter/lib/src/painting/_network_image_web.dart:64:12: Error: Method not found: 'webOnlyInstantiateImageCodecFromUrl'.
    return ui.webOnlyInstantiateImageCodecFromUrl(resolved); // ignore: undefined_function
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                          
Unhandled exception:                                                    
FileSystemException(uri=org-dartlang-untranslatable-uri:dart%3Ahtml; message=StandardFileSystem only supports file:* and data:* URIs)
#0      StandardFileSystem.entityForUri (package:front_end/src/api_prototype/standard_file_system.dart:33:7)
#1      asFileUri (package:vm/kernel_front_end.dart:604:37)             
#2      writeDepfile (package:vm/kernel_front_end.dart:799:21)          
<asynchronous suspension>                                               
#3      FrontendCompiler.compile (package:frontend_server/frontend_server.dart:472:15)
<asynchronous suspension>                                               
#4      _FlutterFrontendCompiler.compile (package:flutter_frontend_server/server.dart:38:22)
#5      starter (package:flutter_frontend_server/server.dart:149:27)    
#6      main (file:///b/s/w/ir/cache/builder/src/flutter/flutter_frontend_server/bin/starter.dart:8:30)
#7      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:305:32)
#8      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:174:12)
                                                                        
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
build failed.                                                           
                                                                        
FAILURE: Build failed with an exception.                                
                                                                        
* Where:                                                                
Script '/Users/radvansky/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 780
                                                                        
* What went wrong:                                                      
Execution failed for task ':app:compileFlutterBuildRelease'.            
> Process 'command '/Users/radvansky/development/flutter/bin/flutter'' finished with non-zero exit value 1
                                                                        
* Try:                                                                  
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
                                                                        
* Get more help at https://help.gradle.org                              
                                                                        
BUILD FAILED in 1m 36s                                                  
Running Gradle task 'bundleRelease'...                                  
Running Gradle task 'bundleRelease'... Done                        97.3s
Gradle task bundleRelease failed with exit code 1

@harryterkelsen
Copy link

Are you importing package:firebase_auth_web or package:firebase anywhere in your app? I can't reproduce the problem on other apps that use package:firebase_auth

@chertov
Copy link

chertov commented Jan 9, 2020

As an experiment can you delete lib/generated_plugin_registrant.dart after doing flutter pub get and before doing flutter build appbundle and tell me if that works?

yes, i tried to do this.. it is appears when i run flutter build appbundle and i get the same errors

@chertov
Copy link

chertov commented Jan 9, 2020

package:firebase

package:firebase i'm importing many times
but package:firebase_auth_web only in lib/generated_plugin_registrant.dart

@harryterkelsen
Copy link

harryterkelsen commented Jan 9, 2020

OK. package:firebase won't work with flutter build appbundle because package:firebase is only supported on Dart for web (unless you are importing package:firebase/firebase_io.dart). If you want Firebase support in your Flutter app, you should use the Firebase Flutter plugins (full list here https://github.com/FirebaseExtended/flutterfire)

@ditman
Copy link
Contributor

ditman commented Jan 9, 2020

I wonder @chertov why are you making it a dev_dependency?

That's the only odd thing I see about your yaml: firebase_auth: ^0.15.2 (and possibly others) should be a dependency, not dev_dependency.

Can you post your complete pubspec.yaml?

See What's the difference between dependency and dev_dependency?.

@rdev-software
Copy link

@hterkelsen
Iam using only

dependencies:
  flutter:
    sdk: flutter
  firebase_core:
  firebase_auth:
  fluro:
  validate:
  font_awesome_flutter:
  localstorage:

And I am importing:

import 'package:firebase/firebase.dart' as fb;
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase/firestore.dart' as fs;

And thats is using firebase core plugin, it has nothing to do with firebase "for dart".
There is no other way to get reference to firestore at the moment anyway

@chertov
Copy link

chertov commented Jan 9, 2020

@ditman Thanks, it's my mistake that i'm using dev_dependency
but i have the same errors in a new empty project with

pubspec.yaml

name: auth_test_app
description: A new Flutter project.
version: 1.0.0+1
environment:
  sdk: ">=2.1.0 <3.0.0"
dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^0.1.2
  firebase_auth: ^0.15.2
dev_dependencies:
  flutter_test:
    sdk: flutter
flutter:
  uses-material-design: true

lib/main.dart

import 'package:firebase/firebase.dart' as fb;
void main() { 
    fb.App app = fb.app();
    app.auth().onAuthStateChanged.listen(
        (state) {
            print('checkAuth state: $state');
        }
    );
    // runApp(MyApp());
}

still the same errors

MacBook-Pro:auth_test_app user$ flutter build appbundle
                                                                        
Compiler message:                                                       
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/top_level.dart:1:8: Error: Not found: 'dart:html'
import 'dart:html';                                                     
       ^                                                                
../../../.pub-cache/hosted/pub.dartlang.org/firebase-7.1.0/lib/src/utils.dart:2:8: Error: Not found: 'dart:html'
import 'dart:html' show promiseToFuture;                                
       ^                                                                
../../../.pub-cache/hosted/pub.dartlang.org/js-0.6.1+1/lib/js.dart:8:1: Error: Not found: 'dart:js'
export 'dart:js' show allowInterop, allowInteropCaptureThis;            
^                       

Ok, Thanks! I will try to use firebase_core instead package:firebase/firebase.dart

@harryterkelsen
Copy link

Even though you aren't depending on package:firebase in your pubspec you are unfortunately able to access it via a transitive dependency from firebase_auth -> firebase_auth_web -> firebase. Once you have import "package:firebase/firebase.dart"; in your app you can no longer build for Android (i.e flutter build appbundle will fail) because package:firebase/firebase.dart uses dart:html and dart:js which is not supported on Android.

The only supported way to add cross-platform Firebase support to your app is via the plugins which I linked above. We are currently working on adding web support for package:cloud_firestore.

@ditman
Copy link
Contributor

ditman commented Jan 9, 2020

And I am importing:

import 'package:firebase/firebase.dart' as fb;
...
import 'package:firebase/firestore.dart' as fs;

And thats is using firebase core plugin, it has nothing to do with firebase "for dart".

@rdev-software package:firebase is "firebase for dart web". As you can see in its pub page. You're getting this as a transitive dependency through firebase_auth_web. As a rule of thumb, you shouldn't import from packages that you don't depend on explicitly (imagine that the underlying implementation of firebase_auth_web changes tomorrow to something different, your code would break).

There is no other way to get reference to firestore at the moment anyway

It's in progress, here: #1670.

@chertov
Copy link

chertov commented Jan 9, 2020

Ok, i have successfully compiled this minimal example:

import 'package:firebase_auth/firebase_auth.dart';
void main() { 
    final FirebaseAuth _auth = FirebaseAuth.instance;
    _auth.onAuthStateChanged.listen(
        (state) {
            print('checkAuth state: $state');
        }
    );
    // runApp(MyApp());
}

Thanks, will to check my code!

@rdev-software
Copy link

@hterkelsen I am not sure what you said. But I am trying to build it on iOS not android. (even though thats important too).

But what I am getting is..."we have released auth plugin" but for other than auth you cant use firebase for web project, because you will break everything :D

I will have to wait a few weeks i guess then

@ditman
Copy link
Contributor

ditman commented Jan 9, 2020

@rdev-software package:firebase has nothing to do with the Flutter plugin ecosystem (other than being the base of the implementation of the web versions of the plugins, as they become available).

@chertov
Copy link

chertov commented Jan 9, 2020

i'm using only to check user auth
because flutter/flutter#46021 doesn't closed yet
i need to show login.html for phone auth with js code, and then redirect to flutter index.html
if user is not login i'm redirect back to login.html)

@ditman
Copy link
Contributor

ditman commented Jan 9, 2020

@chertov you may be able to achieve what you need with Dart Conditional Imports; you can have some code that runs only for web (and you can import package:firebase inside there), and a Noop or a different code path for mobile devices.

It is tricky because you need to be very careful of separating your code so you don't mix web-only with mobile-only implementations (hence why we're putting a lot of effort in the plugins).

See it in action here (example from package:http):

https://github.com/dart-lang/http/blob/master/lib/src/client.dart#L12-L16

This is the trick:

import 'client_stub.dart'
    // only works on web:
    if (dart.library.html) 'browser_client.dart'
    // only works on mobile:
    if (dart.library.io) 'io_client.dart';

(Look at the package linked above for actual contents of those files)

@chertov
Copy link

chertov commented Jan 9, 2020

@ditman Thank you! Similarly, I separated webrtc and mqtt implementation, but didn’t do it right. VScode shows many errors, but flutter build can build it)
Now with you help, and example, I fixed it!

@iapicca iapicca removed the blocked: customer-response Waiting for customer response, e.g. more information was requested. label Feb 7, 2020
@firebase firebase locked and limited conversation to collaborators Aug 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

7 participants