Retrieve data from new Firebase

前端 未结 9 2854
醉梦人生
醉梦人生 2021-02-15 23:40

Please help. After migrating to new Firebase I can\'t retrieve data. Use this construction:

let ref = FIRDatabase.database().reference()

override func viewDidL         


        
9条回答
  •  时光说笑
    2021-02-16 00:38

    Had the same problem today, you need the "firebase_url": "https://xxxxxxxxxx.firebaseio.com" at google-services.json and for that do this steps https://support.google.com/firebase/answer/7015592#android If you had one file from google cloud platform before, maybe there are some differences and you have to check. For me this works.

提交回复
热议问题