【发布时间】:2021-06-02 18:27:45
【问题描述】:
根据 FlutterFire 文档,我已将我的 Flutter 项目更新为 Flutter 2。
我已将我的项目转换为 flutter channel beta 并且依赖项更新如下:
很遗憾,我收到以下错误:
因为 firebase_remote_config 0.6.0 依赖于 firebase_core ^0.7.0 并且没有任何版本的 firebase_remote_config 匹配 >0.6.0
注意:我也尝试过使用 flutter channel dev,但我遇到了同样的错误。
另一个错误[更新]:
因为 flutter_local_notifications_platform_interface 2.0.0+1 依赖 在 plugin_platform_interface ^1.0.2 上并且没有 flutter_local_notifications_platform_interface 匹配 >2.0.0+1
我的 pubspec.yaml 是:
# For Location Information (Getting Location Details on Login or Register)
geolocator: ^7.0.1
geolocator_platform_interface: ^2.0.0
flutter_local_notifications: ^4.0.1+1
flutter_local_notifications_platform_interface: ^2.0.0+1
plugin_platform_interface: ^2.0.0
以上所有依赖都相互冲突。
【问题讨论】:
标签: firebase flutter flutter-dependencies