FirebaseUser's profile is not updated

前端 未结 1 942
误落风尘
误落风尘 2020-11-30 04:27

I use Firebase Auth on Android.

My signin flow works fine but I can\'t update username & profileUrl right after.

         


        
相关标签:
1条回答
  • 2020-11-30 05:08

    This is a known issue in the latest release of Firebase (9.8.0). It's a known issue according to here. The only temp fix right now is to rollback everything to version 9.6.1.

    Change your gradle dependencies for the app to this for Firebase components (this is just a temp fix, and it could break something else if using something in new version):

    compile 'com.google.android.gms:play-services-auth:9.6.1'
    compile 'com.google.firebase:firebase-core:9.6.1'
    compile 'com.google.firebase:firebase-messaging:9.6.1'
    compile 'com.google.firebase:firebase-auth:9.6.1'
    compile 'com.google.firebase:firebase-database:9.6.1'
    

    Change those matching ones in your grandle to the versions specified above.

    0 讨论(0)
提交回复
热议问题