Giter Site home page Giter Site logo

Comments (7)

Shiru99 avatar Shiru99 commented on July 4, 2024 6

as @Vishal07gt told either use earlier versions of dependencies or update the terms like

'FirebaseUser' with 'User'
'_auth.onAuthStateChanged' with '_auth.authStateChanges()'
'Firestore' with 'FirebaseFirestore'
'document' with 'doc'
'setData' with 'set'

from flutter-firebase.

Vishal07gt avatar Vishal07gt commented on July 4, 2024 1

Screenshot 2021-01-17 105949

Use the same versions of this as mentioned in tutorials... in pubspec.yaml
firebase_auth: ^0.14.0+5
cloud_firestore: ^0.12.9+4

from flutter-firebase.

clusterDe avatar clusterDe commented on July 4, 2024 1

as @Vishal07gt told either use earlier versions of dependencies or update the terms like

'FirebaseUser' with 'User'
'_auth.onAuthStateChanged' with '_auth.authStateChanges()'
'Firestore' with 'FirebaseFirestore'
'document' with 'doc'
'setData' with 'set'

thanks a lot really helpfull

from flutter-firebase.

thomasjerryarackal avatar thomasjerryarackal commented on July 4, 2024

what to do with this error

from flutter-firebase.

Vishal07gt avatar Vishal07gt commented on July 4, 2024

I am also facing same error.
Any Solution ??

from flutter-firebase.

AFZAL-123 avatar AFZAL-123 commented on July 4, 2024

I tried all the suggested solution but then also getting error!
image

from flutter-firebase.

gofranshits avatar gofranshits commented on July 4, 2024

I tried all the suggested solution but then also getting error!
image

now you need to change the User class into another name as User now is used by firestore_auth,
in the model User change the class name from User to anything else and change the name wherever it's been used to the new name

from flutter-firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.