Where to put Firebase.setAndroidContext() function

后端 未结 6 1449
长发绾君心
长发绾君心 2020-12-20 15:57

I\'m trying to play a bit with Firebase and Android.
I have one RegisterActivity, and one MainActivity. My current flow is - start with M

6条回答
  •  隐瞒了意图╮
    2020-12-20 16:26

    In the new SDK, it's no longer necessary to call Firebase.setAndroidContext() so you can remove it from your code.

    You can read about updates and changes here: https://firebase.google.com/support/guides/firebase-android

提交回复
热议问题