LoginSignup
0
0

More than 5 years have passed since last update.

The method 'updateProfile' isn't defined for the class '#lib1::FirebaseAuth'.

Last updated at Posted at 2018-11-23

解決策

FirebaseUserクラスのupdateProfileメソッドを利用する

背景

本日、firebase_authを0.6.6にしたら、以下のようなエラーメッセージが出ました。

Error: The method 'updateProfile' isn't defined for the class '#lib1::FirebaseAuth'.
Try correcting the name to the name of an existing method, or defining a method named 'updateProfile'.
      await FirebaseAuth.instance.updateProfile(userUpdateInfo);

エラーメッセージで調べても、それっぽい記事が見つからなかったので、
投稿しました。
(少しでもエラー解決するの面倒くさい勢のお役に立てれば幸いです。)

所感?

いつから変わったんだろう...

ちょっと調べてみましたが、わかりませんでした。

by 高木徹

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0