gpt4 book ai didi

firebase - Flutter Desktop 中是否可以使用任何类型的数据库

转载 作者:行者123 更新时间:2023-12-02 08:01:27 25 4
gpt4 key购买 nike

在为我的桌面应用程序编写 UI 代码 2 周后,我发现 Firebase 不支持 Flutter 桌面,Sqflite 也不支持。那么我如何访问flutter桌面的任何类型的数据库呢?我已经尝试过 Sqflite 和 Firebase,而 Rest API 还不够。

最佳答案

根据这个page :

The Flutter desktop APIs are still in early stages of development, and are subject to change without warning. No backwards compatibility, either API or ABI, will be provided. Expect any code using these libraries to need to be updated and recompiled after any Flutter update

Writing plugins is supported on all platforms, however there are currently very few plugins that actually have desktop support.

您可以在以下链接找到一些可在桌面上使用的插件:

https://github.com/google/flutter-desktop-embedding/tree/master/plugins

目前 flutter 桌面或任何其他数据库上没有适用于 firebase 的插件。

Flutter 桌面仍处于早期阶段,因此最好不要将其用于生产。

关于firebase - Flutter Desktop 中是否可以使用任何类型的数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56551932/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com