danielalakin
danielalakin

Reputation: 281

FirebaseAuth: The method 'getCredential' isn't defined for the type 'EmailAuthProvider'

i have the following Problem:

enter image description here

enter image description here

I'm new in Firebase and i don't know, how can i fix it.

Thanks!

Upvotes: 0

Views: 901

Answers (2)

srzh
srzh

Reputation: 55

API changed, so you could try with:

credential = EmailAuthProvider.credential(email, password);

Upvotes: 1

Mykhailo Krentsin
Mykhailo Krentsin

Reputation: 47

They have changed a bit methods` names. You should write EmailAuthProvider.credentials now

Upvotes: 0

Related Questions