medkit-pharmacy-app icon indicating copy to clipboard operation
medkit-pharmacy-app copied to clipboard

firebase

Open ghost opened this issue 2 years ago • 3 comments

ghost avatar Aug 15 '21 19:08 ghost

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 avatar Aug 16 '21 05:08 mhmzdev

Show me the error

mhmzdev avatar Aug 16 '21 15:08 mhmzdev

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 .

mhmzdev avatar Aug 29 '21 06:08 mhmzdev