小编Luc*_*_54的帖子

Flutter CocoaPods 找不到兼容版本:Cache 和 BetterPlayer

我尝试使用 CocoaPods 在 iOS 上安装 Flutter 的 pod,但开始时出现以下错误:

\n
[!] CocoaPods could not find compatible version for pod "Cache":\n  In Podfile:\n    better_player (from \xc2\xb4.symlinks/plugins/better_player/ios\xc2\xb4) was resolved to 0.0.1, which depends on\n      Cache (-> 6.0.0)\n\nSpecs satisfying the \xc2\xb4Cache (-> 6.0.0)\xc2\xb4 dependency were found, but they required a higher minimum deployment target.\n
Run Code Online (Sandbox Code Playgroud)\n

ios cocoapods flutter

4
推荐指数
1
解决办法
2641
查看次数

Firebase 检查 Flutter 中的项目是否不在数组中

我想检查我的 Flutter 应用程序是否有某个项目不在数组中。如果它在里面,我想把它整理出来,如果没有,我想把它拿走。

有一个arrayContains反向函数的函数,但是我找不到arrayContainsNot函数什么的。我该如何解决这个问题?

我想这样做:

await FirebaseFirestore.instance
    .collection("someCollection")
    .where("someArray", arrayContainsNot: "someItem")
    .get();
Run Code Online (Sandbox Code Playgroud)

firebase flutter google-cloud-firestore

2
推荐指数
1
解决办法
1169
查看次数