[英]How to link firebase project with flutter
I recently created a todo app in flutter so I want to read and write from a firebase project??我最近在 flutter 中创建了一个待办事项应用程序,所以我想从 firebase 项目中读写? I have tried researching how to do that but I couldn't figure it out
我曾尝试研究如何做到这一点,但我无法弄清楚
You need to create a project in the firebase console, download the google-services.json
and add it under android/app/ directory and then you can add the firebase plugins to your pubspec.yaml
file. You need to create a project in the firebase console, download the
google-services.json
and add it under android/app/ directory and then you can add the firebase plugins to your pubspec.yaml
file.
https://medium.com/firebase-tips-tricks/how-to-use-firebase-realtime-database-with-flutter-ebd98aba2c91 https://medium.com/firebase-tips-tricks/how-to-use-firebase-realtime-database-with-flutter-ebd98aba2c91
https://stackoverflow.com/a/51783938/7015400 https://stackoverflow.com/a/51783938/7015400
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.