The default app has not been configured yet

后端 未结 9 1626
予麋鹿
予麋鹿 2020-12-02 19:59

I\'m trying to upgrade my app to the new version of Firebase. I went through the setup guide and edited all of my code to match the new syntax. However, when I run the app,

9条回答
  •  囚心锁ツ
    2020-12-02 20:55

    In AppDelegate.m, outside of didFinishLaunchingWithOptions,

    override init() {
       FIRApp.configure()
       FIRDatabase.database().persistenceEnabled = true
    }
    

提交回复
热议问题