firebase / flutterfire

πŸ”₯ A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.72k stars 3.97k forks source link

πŸ› [cloud_firestore: ^4.11.0] Freezes inside transactions on iOS (Simulator and physical devices) #11763

Closed arnab closed 1 year ago

arnab commented 1 year ago

Bug report

Describe the bug

We have a Flutter app that's been in use for a few months. Upon upgrading to cloud_firestore: ^4.11.0 we are seeing a serious issue: inside a transaction (that has been unchanged for a few months now), the app freezes after a transaction#get call. There is no log output, no crash report (we have integrated with Crashlytics and know it works). Once the app freezes, the only recourse is to kill it manually (it doesn't crash, it just freezes and becomes unresponsive to any taps/gestures) and restart it.

This behavior is seen in both iOS Simulator and all iOS devices we have deployed the version to.

The Firestore transaction code in question (simplified):

    return await FirebaseFirestore.instance.runTransaction((tx) async {
      final docRef = FirebaseFirestore.instance.collection('items').doc(item.id);
      final doc = await tx.get(docRef);
      if (!doc.exists) {
        logger.i('Item doesn\'t exist. Creating it: ${item.toJson()}');
        final docData = item.toJson();
        tx.set(docRef, docData);
      }
    }).catchError((e) {
      logger.e('Could not find or creating item', error: e, stackTrace: StackTrace.current);
    }).then((value) async {
      ... 
    });

Debugging shows that the freeze happens when we call await tx.get(docRef);.

Steps to reproduce

  1. Downgrading and pinning the dependency to cloud_firestore: 4.9.3, and re-building (after flutter clean) the app fixes the issue.
  2. Upgrading again to 4.11.0 (or even ^4.9.3 as 4.11.0 declared to compatible to it) makes the issue resurface.

Sample project

The app is quite complex, not open-source and has been in-use for a few months now. Unfortunately I can't share the full code.

Please see the exact code (a Firestore transaction) that's causing the issue above.

Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` ➜ flutter doctor Doctor summary (to see all details, run flutter doctor -v): [βœ“] Flutter (Channel stable, 3.13.7, on macOS 14.0 23A344 darwin-arm64, locale en-CA) [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0) [βœ“] Xcode - develop for iOS and macOS (Xcode 15.0.1) [βœ“] Chrome - develop for the web [βœ“] Android Studio (version 2022.3) [βœ“] VS Code (version 1.83.1) [βœ“] Connected device (3 available) [βœ“] Network resources β€’ No issues found! ```

Flutter dependencies

Run flutter pub deps -- --style=compact and paste the output below:

Click To Expand ``` Dart SDK 3.1.3 Flutter SDK 3.13.7 0.14.0+118 dependencies: - archive 3.4.6 [crypto path pointycastle] - audio_service 0.18.12 [audio_service_platform_interface audio_service_web audio_session rxdart flutter_cache_manager clock js flutter flutter_web_plugins] - audio_video_progress_bar 2.0.1 [flutter] - battery_plus 4.1.0 [flutter flutter_web_plugins battery_plus_platform_interface meta upower] - cached_annotation 1.6.0 [meta] - cached_network_image 3.3.0 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image] - cloud_firestore 4.9.3 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - collection 1.17.2 - connectivity_plus 5.0.1 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm] - cupertino_icons 1.0.6 - device_info_plus 9.1.0 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry] - faker 2.1.0 [crypto] - firebase_analytics 10.5.1 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_auth 4.10.1 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_core 2.17.0 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.3.7 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_performance 0.9.2+7 [firebase_core firebase_core_platform_interface firebase_performance_platform_interface firebase_performance_web flutter] - firebase_storage 11.2.8 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter] - flex_color_scheme 7.3.1 [flex_seed_scheme flutter meta] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine] - flutter_email_sender 6.0.2 [flutter] - flutter_hooks 0.18.6 [flutter] - flutter_riverpod 2.4.3 [collection flutter meta riverpod state_notifier] - flutter_widget_from_html_core 0.14.3 [csslib flutter html logging] - font_awesome_flutter 10.6.0 [flutter] - freezed_annotation 2.4.1 [collection json_annotation meta] - fwfh_url_launcher 0.9.0+4 [flutter flutter_widget_from_html_core url_launcher] - go_router 11.1.4 [collection flutter flutter_web_plugins logging meta] - google_fonts 6.1.0 [flutter http path_provider crypto] - google_sign_in 6.1.5 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web] - hookified_infinite_scroll_pagination 0.1.0 [flutter flutter_hooks infinite_scroll_pagination] - hooks_riverpod 2.4.3 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier] - infinite_scroll_pagination 3.2.0 [flutter sliver_tools] - intl 0.18.1 [clock meta path] - isar 3.1.0+1 [ffi js meta] - isar_flutter_libs 3.1.0+1 [flutter isar] - json_annotation 4.8.1 [meta] - just_audio 0.9.35 [just_audio_platform_interface just_audio_web audio_session rxdart path path_provider async uuid crypto meta flutter] - just_audio_background 0.0.1-beta.10 [just_audio_platform_interface audio_service audio_session flutter flutter_web_plugins meta rxdart] - keyboard_attachable 2.1.0 [flutter flutter_keyboard_visibility] - like_button 2.0.5 [flutter] - logger 2.0.2+1 - package_info_plus 4.2.0 [ffi flutter flutter_web_plugins http meta path package_info_plus_platform_interface win32] - path_provider 2.1.1 [flutter path_provider_android path_provider_foundation path_provider_linux path_provider_platform_interface path_provider_windows] - percent_indicator 4.2.3 [flutter] - readmore 2.2.0 [flutter] - riverpod_annotation 2.2.0 [meta riverpod] - rxdart 0.27.7 - scroll_to_index 3.0.1 [flutter] - scrolls_to_top 2.1.1 [flutter] - share_plus 7.2.0 [cross_file meta mime flutter flutter_web_plugins share_plus_platform_interface file url_launcher_web url_launcher_windows url_launcher_linux url_launcher_platform_interface ffi win32] - skeletonizer 0.8.0 [collection flutter] - sliding_up_panel 2.0.0+1 [flutter] - sliver_tools 0.2.12 [flutter] dev dependencies: - build_runner 2.4.6 [analyzer args async build build_config build_daemon build_resolvers build_runner_core code_builder collection crypto dart_style frontend_server_client glob graphs http_multi_server io js logging meta mime package_config path pool pub_semver pubspec_parse shelf shelf_web_socket stack_trace stream_transform timing watcher web_socket_channel yaml] - cached 1.6.1 [analyzer build cached_annotation collection meta source_gen source_helper] - change_app_package_name 1.1.0 - flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml] - flutter_lints 2.0.3 [lints] - flutter_native_splash 2.3.3 [args flutter flutter_web_plugins js html image meta path universal_io xml yaml] - flutter_test 0.0.0 [flutter test_api matcher path fake_async clock stack_trace vector_math async boolean_selector characters collection material_color_utilities meta source_span stream_channel string_scanner term_glyph web] - freezed 2.4.5 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation] - isar_generator 3.1.0+1 [analyzer build dart_style dartx glob isar path source_gen xxh3] - json_serializable 6.7.1 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] - riverpod_generator 2.3.3 [analyzer build build_config collection crypto meta path riverpod_analyzer_utils riverpod_annotation source_gen] transitive dependencies: - _fe_analyzer_shared 61.0.0 [meta] - _flutterfire_internals 1.3.7 [collection firebase_core firebase_core_platform_interface flutter meta] - analyzer 5.13.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - analyzer_plugin 0.11.2 [analyzer collection dart_style pub_semver yaml] - args 2.4.2 - async 2.11.0 [collection meta] - audio_service_platform_interface 0.1.1 [flutter plugin_platform_interface meta] - audio_service_web 0.1.1 [audio_service_platform_interface rxdart js flutter flutter_web_plugins] - audio_session 0.1.16 [flutter flutter_web_plugins rxdart meta] - battery_plus_platform_interface 1.2.2 [flutter meta plugin_platform_interface] - boolean_selector 2.1.1 [source_span string_scanner] - build 2.4.1 [analyzer async convert crypto glob logging meta package_config path] - build_config 1.1.1 [checked_yaml json_annotation path pubspec_parse yaml] - build_daemon 4.0.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.2.1 [analyzer async build collection crypto graphs logging package_config path pool pub_semver stream_transform yaml] - build_runner_core 7.2.10 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta package_config path pool timing watcher yaml] - built_collection 5.1.1 - built_value 8.6.1 [built_collection collection fixnum meta] - cached_network_image_platform_interface 3.0.0 [flutter flutter_cache_manager] - cached_network_image_web 1.1.0 [cached_network_image_platform_interface flutter flutter_cache_manager] - characters 1.3.0 - checked_yaml 2.0.3 [json_annotation source_span yaml] - ci 0.1.0 - cli_util 0.4.0 [meta path] - clock 1.1.1 - cloud_firestore_platform_interface 5.16.2 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.7.2 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.5.0 [built_collection built_value collection matcher meta] - connectivity_plus_platform_interface 1.2.4 [flutter meta plugin_platform_interface] - convert 3.1.1 [typed_data] - cross_file 0.3.3+4 [js meta] - crypto 3.0.3 [typed_data] - csslib 1.0.0 [source_span] - custom_lint 0.5.2 [analyzer analyzer_plugin args async ci cli_util collection freezed_annotation json_annotation meta package_config path pub_semver pubspec_parse rxdart uuid yaml] - custom_lint_core 0.5.2 [analyzer analyzer_plugin collection custom_lint matcher meta path pubspec_parse source_span yaml] - dart_style 2.3.2 [analyzer args path pub_semver source_span] - dartx 1.2.0 [characters collection crypto meta path time] - dbus 0.7.8 [args ffi meta xml] - device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface] - dio 5.3.2 [async http_parser meta path] - fake_async 1.3.1 [clock collection] - ffi 2.1.0 - file 6.1.4 [meta path] - firebase_analytics_platform_interface 3.7.1 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.5+1 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_auth_platform_interface 6.19.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 5.8.2 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta] - firebase_core_platform_interface 4.8.0 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.8.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.6.7 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_performance_platform_interface 0.1.4+7 [_flutterfire_internals firebase_core flutter plugin_platform_interface] - firebase_performance_web 0.1.4+7 [_flutterfire_internals firebase_core firebase_core_web firebase_performance_platform_interface flutter flutter_web_plugins js] - firebase_storage_platform_interface 4.4.7 [collection firebase_core flutter meta plugin_platform_interface] - firebase_storage_web 3.6.8 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta] - fixnum 1.1.0 - flex_seed_scheme 1.4.0 [collection flutter meta] - flutter_cache_manager 3.3.1 [clock collection file flutter http path path_provider rxdart sqflite uuid] - flutter_keyboard_visibility 5.4.1 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_linux flutter_keyboard_visibility_macos flutter_keyboard_visibility_web flutter_keyboard_visibility_windows flutter] - flutter_keyboard_visibility_linux 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_macos 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_keyboard_visibility_platform_interface 2.0.0 [flutter meta plugin_platform_interface] - flutter_keyboard_visibility_web 2.0.0 [flutter_keyboard_visibility_platform_interface flutter_web_plugins flutter] - flutter_keyboard_visibility_windows 1.0.0 [flutter_keyboard_visibility_platform_interface flutter] - flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web] - flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web] - frontend_server_client 3.2.0 [async path] - glob 2.1.2 [async collection file path string_scanner] - google_identity_services_web 0.2.1 [js meta] - google_sign_in_android 6.1.18 [flutter google_sign_in_platform_interface] - google_sign_in_ios 5.6.2 [flutter google_sign_in_platform_interface] - google_sign_in_platform_interface 2.4.1 [flutter plugin_platform_interface quiver] - google_sign_in_web 0.12.0+3 [flutter flutter_web_plugins google_identity_services_web google_sign_in_platform_interface http js] - graphs 2.3.1 [collection] - html 0.15.4 [csslib source_span] - http 1.1.0 [async http_parser meta] - http_multi_server 3.2.1 [async] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - image 4.1.3 [archive meta xml] - io 1.0.4 [meta path string_scanner] - js 0.6.7 [meta] - just_audio_platform_interface 4.2.1 [flutter plugin_platform_interface] - just_audio_web 0.4.8 [just_audio_platform_interface flutter flutter_web_plugins] - lints 2.1.1 - logging 1.2.0 - matcher 0.12.16 [async meta stack_trace term_glyph test_api] - material_color_utilities 0.5.0 [collection] - meta 1.9.1 - mime 1.0.4 - nm 0.5.0 [dbus] - octo_image 2.0.0 [flutter] - package_config 2.1.0 [path] - package_info_plus_platform_interface 2.0.1 [flutter meta plugin_platform_interface] - path 1.8.3 - path_provider_android 2.1.0 [flutter path_provider_platform_interface] - path_provider_foundation 2.3.0 [flutter path_provider_platform_interface] - path_provider_linux 2.2.0 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_platform_interface 2.1.0 [flutter platform plugin_platform_interface] - path_provider_windows 2.2.0 [ffi flutter path path_provider_platform_interface win32] - petitparser 5.4.0 [meta] - platform 3.1.1 - plugin_platform_interface 2.1.5 [meta] - pointycastle 3.7.3 [collection convert js] - pool 1.5.1 [async stack_trace] - pub_semver 2.1.4 [collection meta] - pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml] - quiver 3.2.1 [matcher] - riverpod 2.4.3 [meta stack_trace state_notifier] - riverpod_analyzer_utils 0.3.4 [analyzer collection crypto custom_lint_core freezed_annotation meta path source_span] - rss_dart 1.0.4 [xml http intl] - share_plus_platform_interface 3.3.0 [cross_file flutter meta mime plugin_platform_interface path_provider uuid] - shelf 1.4.1 [async collection http_parser path stack_trace stream_channel] - shelf_web_socket 1.0.4 [shelf stream_channel web_socket_channel] - sky_engine 0.0.99 - source_gen 1.4.0 [analyzer async build dart_style glob path source_span yaml] - source_helper 1.3.4 [analyzer collection source_gen] - source_span 1.10.0 [collection path term_glyph] - sqflite 2.3.0 [flutter sqflite_common path] - sqflite_common 2.5.0 [synchronized path meta] - stack_trace 1.11.0 [path] - state_notifier 1.0.0 [meta] - stream_channel 2.1.1 [async] - stream_transform 2.1.0 - string_scanner 1.2.0 [source_span] - synchronized 3.1.0 - term_glyph 1.2.1 - test_api 0.6.0 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph] - time 2.1.3 [clock] - timing 1.0.1 [json_annotation] - typed_data 1.3.2 [collection] - universal_io 2.2.2 [collection meta typed_data] - upower 0.7.0 [dbus] - url_launcher 6.1.14 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - url_launcher_android 6.1.0 [flutter url_launcher_platform_interface] - url_launcher_ios 6.1.5 [flutter url_launcher_platform_interface] - url_launcher_linux 3.0.5 [flutter url_launcher_platform_interface] - url_launcher_macos 3.0.7 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.1.3 [flutter plugin_platform_interface] - url_launcher_web 2.0.18 [flutter flutter_web_plugins url_launcher_platform_interface] - url_launcher_windows 3.0.7 [flutter url_launcher_platform_interface] - uuid 3.0.7 [crypto] - vector_math 2.1.4 - watcher 1.1.0 [async path] - web 0.1.4-beta - web_socket_channel 2.4.0 [async crypto stream_channel] - win32 5.0.6 [ffi] - win32_registry 1.1.1 [ffi win32] - xdg_directories 1.0.2 [meta path] - xml 6.3.0 [collection meta petitparser] - xxh3 1.0.1 - yaml 3.1.2 [collection source_span string_scanner] ```

arnab commented 1 year ago

Following commit (essentially pinning cloud_firestore: 4.9.3, flutter clean, flutter pub get and building the app) fixes the issue. Adding the generated files as a diff here, in case that is helpful in seeing associated/transient dependency changes:

Details

``` commit 8d109c4429f50ee0939eef97056d17c4ad56647b Author: β›… Arnab Deka 🍭 Date: Mon Oct 23 21:02:42 2023 -0700 rollback & pin Firestore dependency to 4.9.3 to prevent app freezing! See https://github.com/firebase/flutterfire/issues/11763 diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 811b5c2..dfa9d14 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -11,7 +11,7 @@ PODS: - Flutter - battery_plus (1.0.0): - Flutter - - cloud_firestore (4.11.0): + - cloud_firestore (4.9.3): - Firebase/Firestore (= 10.15.0) - firebase_core - Flutter @@ -43,26 +43,26 @@ PODS: - Firebase/Storage (10.15.0): - Firebase/CoreOnly - FirebaseStorage (~> 10.15.0) - - firebase_analytics (10.6.1): + - firebase_analytics (10.5.1): - Firebase/Analytics (= 10.15.0) - firebase_core - Flutter - - firebase_auth (4.11.1): + - firebase_auth (4.10.1): - Firebase/Auth (= 10.15.0) - firebase_core - Flutter - - firebase_core (2.19.0): + - firebase_core (2.17.0): - Firebase/CoreOnly (= 10.15.0) - Flutter - - firebase_crashlytics (3.4.1): + - firebase_crashlytics (3.3.7): - Firebase/Crashlytics (= 10.15.0) - firebase_core - Flutter - - firebase_performance (0.9.3-1): + - firebase_performance (0.9.2-7): - Firebase/Performance (= 10.15.0) - firebase_core - Flutter - - firebase_storage (11.3.1): + - firebase_storage (11.2.8): - Firebase/Storage (= 10.15.0) - firebase_core - Flutter @@ -367,16 +367,16 @@ SPEC CHECKSUMS: audio_service: f509d65da41b9521a61f1c404dd58651f265a567 audio_session: 4f3e461722055d21515cf3261b64c973c062f345 battery_plus: 091633b7f01cb33dfc4aeedb450816f4d33818fa - cloud_firestore: 0b05c34e8b36cde7026bed89616962c4e03aa307 + cloud_firestore: 9c9fb3500360c9b338e9eb2fec40b38e7a004cac connectivity_plus: bf0076dd84a130856aa636df1c71ccaff908fa1d device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6 Firebase: 66043bd4579e5b73811f96829c694c7af8d67435 - firebase_analytics: 8b63b894ac3be5ced6a9a4614174754b03377c2f - firebase_auth: a2eb49575626e0c8ee369d5983e67d793e272515 - firebase_core: fd674fcc642742ef7289acea60bd21a1a021bd98 - firebase_crashlytics: 22dcddd1039445d697779785abe25dfcdd3bca02 - firebase_performance: 896d84634598955e0dc2fdc0083144e9d415ec05 - firebase_storage: d3dc64db1b536de4c1fe422bb5351e45e86187c3 + firebase_analytics: f153c564d6a7675e56e4f171454b9f1b3e7b6601 + firebase_auth: b62e99e6ece589afe88ebe8919eb9563b52c384c + firebase_core: 28e84c2a4fcf6a50ef83f47b145ded8c1fa331e4 + firebase_crashlytics: 36b8a72e23437dbb69bd97102661ce31b6721be5 + firebase_performance: 0cd853c1ae53c1f576dcaf3b4d0e31c4ea799792 + firebase_storage: 5aa5cd1cfc03814e3417b6718d805e5d1804f990 FirebaseABTesting: 03f0a8b88cf618350527f2c6a2234e29b9c65064 FirebaseAnalytics: 47cef43728f81a839cf1306576bdd77ffa2eac7e FirebaseAppCheckInterop: 82358cff9f33452dd44259e88eea5e562500b1cb diff --git a/pubspec.lock b/pubspec.lock index 6a352be..e9b5bf2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -13,10 +13,10 @@ packages: dependency: transitive description: name: _flutterfire_internals - sha256: "76c15c4167f820b74abcd8c6fc5e393e1ed5e1207a34e9b22953603e03b3ba6a" + sha256: d84d98f1992976775f83083523a34c5d22fea191eec3abb2bd09537fb623c2e0 url: "https://pub.dev" source: hosted - version: "1.3.9" + version: "1.3.7" analyzer: dependency: transitive description: @@ -277,26 +277,26 @@ packages: dependency: "direct main" description: name: cloud_firestore - sha256: "019da47850fe2c86266a4b86e82e0d00dcb5bf0718f26fc70bf9df275ee16537" + sha256: "1179ae4c69e2ea18179d844d70fc6ed2f082a2bbeb7fa62d35a2a24e2992bd4d" url: "https://pub.dev" source: hosted - version: "4.11.0" + version: "4.9.3" cloud_firestore_platform_interface: dependency: transitive description: name: cloud_firestore_platform_interface - sha256: "7e08cd322ff98ddfdb6ab8a89b24f895c473992d674bfd3b36865037879baa3f" + sha256: acdcf0743bbdd0e6b342f3d2033e15d260a2c6f9434dd34b008b8f1c35e62b23 url: "https://pub.dev" source: hosted - version: "6.0.1" + version: "5.16.2" cloud_firestore_web: dependency: transitive description: name: cloud_firestore_web - sha256: bd2183128b67d66a6e672c50e47bc70393418f3bd669aad8ac321e88f027b2b5 + sha256: "321bb0732c8d782a49aede96805e59609e05cf98b6c34370faa04103f46a4a3a" url: "https://pub.dev" source: hosted - version: "3.8.1" + version: "3.7.2" code_builder: dependency: transitive description: @@ -477,138 +477,138 @@ packages: dependency: "direct main" description: name: firebase_analytics - sha256: be3edadbd6e3a7840d9eae38ec3dfc6d83efab5c6e0d5cee5f758341d0643c30 + sha256: "6a8b509b81760dca2abe70c46811f3824c150e9a3f85982f062624a7bae31857" url: "https://pub.dev" source: hosted - version: "10.6.1" + version: "10.5.1" firebase_analytics_platform_interface: dependency: transitive description: name: firebase_analytics_platform_interface - sha256: fc7c032f769e2c37bc7aa84eb44b02d17d53de8c256882072dbedbf1def158b8 + sha256: acb9cb733fff14041c030ec9c71fc9be6c9d60dbe8932b2a38bc1428d638a915 url: "https://pub.dev" source: hosted - version: "3.7.3" + version: "3.7.1" firebase_analytics_web: dependency: transitive description: name: firebase_analytics_web - sha256: "219e5995e79aff8deb3d633041dbdb8f704c1f5a044e970eed141ad851caf9d1" + sha256: "56ee5baf213cae47eab0ec926261dfecb9d7089ee28edf38dca3ad0ca01601c7" url: "https://pub.dev" source: hosted - version: "0.5.5+3" + version: "0.5.5+1" firebase_auth: dependency: "direct main" description: name: firebase_auth - sha256: "46129e2733336ac77377174c3ca33a68cca2cd5848504aad63028aeb92afb7b2" + sha256: "95c74884ff25eafcbbbcd5506b738e68ee98ff54d09522a6092a2fb95d02ee7a" url: "https://pub.dev" source: hosted - version: "4.11.1" + version: "4.10.1" firebase_auth_platform_interface: dependency: transitive description: name: firebase_auth_platform_interface - sha256: b89936896b2cc02496b97e486793fd4bcf8c51beb99d6a7223c0eea2352d404e + sha256: "05d2636673e145d2b5eccc452c009808af4c15e8b402f34bb8fec63f2c76e86b" url: "https://pub.dev" source: hosted - version: "7.0.1" + version: "6.19.1" firebase_auth_web: dependency: transitive description: name: firebase_auth_web - sha256: "88b7655c9394d723e121fd53f115d876c32260b8c8b499bdc3108341044a8306" + sha256: "4b8374da5d8969f99453ebd65074c1d379fe781bb3680fa7f65a4d3ac4ec87b3" url: "https://pub.dev" source: hosted - version: "5.8.4" + version: "5.8.2" firebase_core: dependency: "direct main" description: name: firebase_core - sha256: "57bba167105d2315d243a4524939406df688f38a5b6d7a4159382bbbe43cdd00" + sha256: "95580fa07c8ca3072a2bb1fecd792616a33f8683477d25b7d29d3a6a399e6ece" url: "https://pub.dev" source: hosted - version: "2.19.0" + version: "2.17.0" firebase_core_platform_interface: dependency: transitive description: name: firebase_core_platform_interface - sha256: c437ae5d17e6b5cc7981cf6fd458a5db4d12979905f9aafd1fea930428a9fe63 + sha256: b63e3be6c96ef5c33bdec1aab23c91eb00696f6452f0519401d640938c94cba2 url: "https://pub.dev" source: hosted - version: "5.0.0" + version: "4.8.0" firebase_core_web: dependency: transitive description: name: firebase_core_web - sha256: "0631a2ec971dbc540275e2fa00c3a8a2676f0a7adbc3c197d6fba569db689d97" + sha256: e8c408923cd3a25bd342c576a114f2126769cd1a57106a4edeaa67ea4a84e962 url: "https://pub.dev" source: hosted - version: "2.8.1" + version: "2.8.0" firebase_crashlytics: dependency: "direct main" description: name: firebase_crashlytics - sha256: c58902959e7a73aadcf82c87e8d64f6eb10b5287fd7aaadfab5c2ef34ec11ff5 + sha256: "833cf891d10e5e819a2034048ff7e8882bcc0b51055c0e17f5fe3f3c3c177a9d" url: "https://pub.dev" source: hosted - version: "3.4.1" + version: "3.3.7" firebase_crashlytics_platform_interface: dependency: transitive description: name: firebase_crashlytics_platform_interface - sha256: "9d2f76bda1542615f75fb501a8c7afc6288d69c3728fdc762bf3d51f0ee0f4cb" + sha256: dfdf1172f35fc0b0132bc5ec815aed52c07643ee56732e6807ca7dc12f7fce86 url: "https://pub.dev" source: hosted - version: "3.6.9" + version: "3.6.7" firebase_performance: dependency: "direct main" description: name: firebase_performance - sha256: e35bccd4902813240c03c8084f1d0630563976fcfb1740286c0e1e5bf7d0440e + sha256: "604d6d32473b99d8cb2c26d8c25429bcf7d6d5d5e78e2317fa6ea0e086eb41c2" url: "https://pub.dev" source: hosted - version: "0.9.3+1" + version: "0.9.2+7" firebase_performance_platform_interface: dependency: transitive description: name: firebase_performance_platform_interface - sha256: a32fa7d2a12ed3ca898a8fcc8b388b9f1e3b5ae09d37998633a0e0e8ab574b85 + sha256: "0e9f2957a719f7988fa338ee9e09dc082aebabe12e35ff8fe5cdee0a51453c3e" url: "https://pub.dev" source: hosted - version: "0.1.4+9" + version: "0.1.4+7" firebase_performance_web: dependency: transitive description: name: firebase_performance_web - sha256: "129c63aebdf4c47aa36d542ed611478c5e0cd57fda019b6910296e20ca462947" + sha256: c8e5acf0331011ca7031c8120a980a3a736b3f87445def5a052b612556ea4701 url: "https://pub.dev" source: hosted - version: "0.1.4+9" + version: "0.1.4+7" firebase_storage: dependency: "direct main" description: name: firebase_storage - sha256: c23dfab4fbdafd014b579e2bcc5b23ca69457d9b8625a64dffb669d098cff6fe + sha256: "4ceb092cd14c3bce0dc8cd4046754cd1e5e5c1977155e286b512b3f84fe1c03e" url: "https://pub.dev" source: hosted - version: "11.3.1" + version: "11.2.8" firebase_storage_platform_interface: dependency: transitive description: name: firebase_storage_platform_interface - sha256: "8650ba68840122f0c7e8a1a529d16580a5d00a614653d7167d7cd044c67fa245" + sha256: "88f8b8bb7181eef125536297f11b28171f59d2f53a59610e3966c2e38be3de4c" url: "https://pub.dev" source: hosted - version: "4.4.9" + version: "4.4.7" firebase_storage_web: dependency: transitive description: name: firebase_storage_web - sha256: "93ac56b2a9722a94e0d752a4aa2dd5ec8c4ceeb8ff07121bb6580198dbede199" + sha256: bd05589cf17a8d5e2a90bdffcdab434c97e27bc37ca0056bfa90accf0366a7b0 url: "https://pub.dev" source: hosted - version: "3.6.10" + version: "3.6.8" fixnum: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index a509fd7..6e84900 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -46,7 +46,7 @@ dependencies: json_annotation: ^4.8.1 firebase_core: ^2.17.0 firebase_analytics: ^10.5.1 - cloud_firestore: ^4.11.0 + cloud_firestore: 4.9.3 firebase_auth: ^4.10.1 google_sign_in: ^6.1.5 firebase_storage: ^11.2.8 diff --git a/windows/flutter/generated_plugin_registrant.cc b/windows/flutter/generated_plugin_registrant.cc index c9300fb..284233e 100644 --- a/windows/flutter/generated_plugin_registrant.cc +++ b/windows/flutter/generated_plugin_registrant.cc @@ -7,7 +7,6 @@ #include "generated_plugin_registrant.h" #include -#include #include #include #include @@ -18,8 +17,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) { BatteryPlusWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("BatteryPlusWindowsPlugin")); - CloudFirestorePluginCApiRegisterWithRegistrar( - registry->GetRegistrarForPlugin("CloudFirestorePluginCApi")); ConnectivityPlusWindowsPluginRegisterWithRegistrar( registry->GetRegistrarForPlugin("ConnectivityPlusWindowsPlugin")); FirebaseAuthPluginCApiRegisterWithRegistrar( diff --git a/windows/flutter/generated_plugins.cmake b/windows/flutter/generated_plugins.cmake index 983fc56..e96cc37 100644 --- a/windows/flutter/generated_plugins.cmake +++ b/windows/flutter/generated_plugins.cmake @@ -4,7 +4,6 @@ list(APPEND FLUTTER_PLUGIN_LIST battery_plus - cloud_firestore connectivity_plus firebase_auth firebase_core ```

darshankawar commented 1 year ago

Thanks for the report @arnab I think you are hitting https://github.com/firebase/flutterfire/issues/11755 so please follow-up in it for further updates. Closing this as a duplicate. If you disagree, write in comments and I'll reopen it.