mhmzdev / medkit-pharmacy-app

To cure symptoms of various disease using medicines at home this app will act as guideline. Few animations are used and Firebase is used as database.
129 stars 54 forks source link

firebase #6

Open ghost opened 3 years ago

mhmzdev commented 3 years ago

Project exists on Firebase and you cannot view it because it is private for other users. Plus, for you can't make access to Google account login show me the error please

mhmzdev commented 3 years ago

Show me the error

mhmzdev commented 3 years ago

Brother Firebase has been updated. You have to check their new docs. As this app was developed 1.5 years ago. That's why everything here is old

On Sat, Aug 28, 2021 at 9:57 PM Ghadeer-srouji @.***> wrote:

sir i take this error at patientlogin.dart can you help me

lib/patient/patientLogin.dart:34:19: Error: The getter 'providerId' isn't defined for the class 'UserCredential'.

  • 'UserCredential' is from 'package:firebase_auth/firebase_auth.dart' ('/C:/src/flutter/flutter/.pub-cache/hosted/ pub.dartlang.org/firebase_auth-1.4.1/lib/firebase_auth.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'providerId'. userDetails.providerId, ^^^^^^^^^^ lib/patient/patientLogin.dart:35:19: Error: The getter 'displayName' isn't defined for the class 'UserCredential'.
  • 'UserCredential' is from 'package:firebase_auth/firebase_auth.dart' ('/C:/src/flutter/flutter/.pub-cache/hosted/ pub.dartlang.org/firebase_auth-1.4.1/lib/firebase_auth.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'displayName'. userDetails.displayName, ^^^^^^^^^^^ lib/patient/patientLogin.dart:36:19: Error: The getter 'photoUrl' isn't defined for the class 'UserCredential'.
  • 'UserCredential' is from 'package:firebase_auth/firebase_auth.dart' ('/C:/src/flutter/flutter/.pub-cache/hosted/ pub.dartlang.org/firebase_auth-1.4.1/lib/firebase_auth.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'photoUrl'. userDetails.photoUrl, ^^^^^^^^ lib/patient/patientLogin.dart:37:19: Error: The getter 'email' isn't defined for the class 'UserCredential'.
  • 'UserCredential' is from 'package:firebase_auth/firebase_auth.dart' ('/C:/src/flutter/flutter/.pub-cache/hosted/ pub.dartlang.org/firebase_auth-1.4.1/lib/firebase_auth.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'email'. userDetails.email, ^^^^^

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mhmzdev/MedKit-Pharmacy-App-Using-Flutter/issues/6#issuecomment-907654021, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKOC6SERWF3AVQUKER53QYDT7EIO3ANCNFSM5CGPODXA .