🌟
geoflutterfireでversion solving failedが出たので、geofence_serviceに移行した
pubspec.yaml
の内容
cupertino_icons: ^1.0.5
firebase_core: ^2.7.1
cloud_functions: ^4.0.12
logger: ^1.3.0
cloud_firestore: ^4.4.4
firebase_core_platform_interface: ^4.5.3
geofence_service: ^3.5.0
実行内容
flutter pub add geoflutterfire
実行結果
Because geoflutterfire >=3.0.0-nullsafety.1 <3.0.0-nullsafety.3 depends on cloud_firestore ^1.0.0 and geoflutterfire >=3.0.0-nullsafety.3 <3.0.1 depends on cloud_firestore ^2.0.0, geoflutterfire >=3.0.0-nullsafety.1 <3.0.1 requires cloud_firestore ^1.0.0 or ^2.0.0.
And because geoflutterfire <2.0.0 depends on cloud_firestore ^0.8.2+3 and geoflutterfire >=2.0.0 <2.0.3 depends on cloud_firestore ^0.9.0+1, geoflutterfire <2.0.3-∞ or >=3.0.0-nullsafety.1 <3.0.1-∞ requires cloud_firestore ^0.8.2+3 or ^0.9.0+1 or ^1.0.0 or ^2.0.0.
And because geoflutterfire >=2.0.3 <2.0.3+3 depends on cloud_firestore ^0.9.5+2 and geoflutterfire >=2.0.3+3 <2.0.3+4 depends on cloud_firestore ^0.10.1, geoflutterfire <2.0.3+4 or >=3.0.0-nullsafety.1 <3.0.1-∞ requires cloud_firestore ^0.8.2+3 or >=0.9.0+1 <0.10.0 or ^0.10.1 or ^1.0.0 or ^2.0.0.
And because geoflutterfire >=2.0.3+4 <2.0.3+5 depends on cloud_firestore ^0.11.0+1 and geoflutterfire >=2.0.3+5 <2.0.3+6 depends on cloud_firestore ^0.12.5, geoflutterfire <2.0.3+6 or >=3.0.0-nullsafety.1 <3.0.1-∞ requires cloud_firestore ^0.8.2+3 or >=0.9.0+1 <0.10.0 or ^0.10.1 or ^0.11.0+1 or ^0.12.5 or ^1.0.0 or ^2.0.0.
And because geoflutterfire >=2.0.3+6 <2.2.1 depends on cloud_firestore ^0.13.0+1 and geoflutterfire >=2.2.1 <2.2.2 depends on cloud_firestore ^0.14.0+2, geoflutterfire <2.2.2-∞ or >=3.0.0-nullsafety.1 <3.0.1-∞ requires cloud_firestore ^0.8.2+3 or >=0.9.0+1 <0.10.0 or ^0.10.1 or ^0.11.0+1 or ^0.12.5 or ^0.13.0+1 or ^0.14.0+2 or ^1.0.0 or ^2.0.0.
And because geoflutterfire >=2.2.2 <2.2.3 depends on cloud_firestore ^0.16.0 and geoflutterfire >=2.2.3 <3.0.0-nullsafety.1 depends on cloud_firestore ^3.1.6, geoflutterfire <3.0.1 requires cloud_firestore ^0.8.2+3 or >=0.9.0+1 <0.10.0 or ^0.10.1 or ^0.11.0+1 or ^0.12.5 or ^0.13.0+1 or ^0.14.0+2 or ^0.16.0 or ^1.0.0 or ^2.0.0 or ^3.1.6.
And because geoflutterfire >=3.0.1 <3.0.2 depends on cloud_firestore ^2.3.0 and geoflutterfire >=3.0.2 depends on cloud_firestore ^3.1.6, every version of geoflutterfire requires cloud_firestore ^0.8.2+3 or >=0.9.0+1 <0.10.0 or ^0.10.1 or ^0.11.0+1 or ^0.12.5 or ^0.13.0+1 or ^0.14.0+2 or ^0.16.0 or ^1.0.0 or >=2.0.0 <3.0.0 or >=3.1.6 <4.0.0.
So, because civicship_app depends on both cloud_firestore ^4.4.4 and geoflutterfire any, version solving failed.
geoflutterfire
の対応バージョン
対応策
cloud_firestore
の最新版に対応していないことが原因かな?となり、似たような機能を持つgeofence_service
に移行しました。
Discussion