1
0

More than 3 years have passed since last update.

エラー Couldn't inline method call 'userProfileChangeRequest' into

Last updated at Posted at 2021-03-26

FirebaseのAuthenticationでユーザープロフィール更新時に謎のバグ

Kotlinでfirebaseのプロフィール更新時に

Couldn't inline method call 'userProfileChangeRequest' into

っ出てビルドが通らない。
理由は不明だけど、下記でビルドが通ったので、もしものときに誰かの役に立てばと思って書き残します。

バグの出たコード

val profileUpdates = userProfileChangeRequest {
    displayName = "ユーザー名"
}

バグが回避できたコード


val profileUpdates = UserProfileChangeRequest.Builder()
        .setDisplayName("ユーザー名")
        .build()
1
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
1
0