Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cloud-Firestore] iOS loadBundle error #10232

Closed
matthewtsmith opened this issue Jan 6, 2023 · 3 comments
Closed

[Cloud-Firestore] iOS loadBundle error #10232

matthewtsmith opened this issue Jan 6, 2023 · 3 comments
Labels
closed-by-bot resolution: no-response Customer did not respond after some time. Stale Issue with no recent activity type: bug Something isn't working

Comments

@matthewtsmith
Copy link
Contributor

Bug report

Describe the bug

NOTE: This is a duplicate of #8415 but I'm re-creating it because the google-bot keeps closing it.

When trying to load the bundle into Cloud Firestore cache, I get an error.
This only happens on iOS simulator and real device. Android works very well.

Steps to reproduce

Steps to reproduce the behavior:

Following the documentation from flutter-fire website for cloud-firestore data bundles.

https://firebase.flutter.dev/docs/firestore/usage/#data-bundles
See code snippet in sample section

Expected behavior

I expected to load the bundle into the local Cloud Firestore cache with no issues into iOS simulator and real iOS device.

Sample project

I used the same exact code given by documentation.

import 'package:http/http.dart' as http;

final url = "https://firebasestorage.googleapis.com/v0/b/healadvisor-analyse-staging.appspot.com/o/node_34.bundle?alt=media&token=05ca4de0-b05c-4f53-bfe3-0053aa511601";

final response = await http.get(Uri.parse(url));

// Convert the 'node_34.bundle' string in the response to an Uint8List instance.
Uint8List buffer = Uint8List.fromList(response.body.codeUnits);

// Load bundle into cache.
LoadBundleTask task = FirebaseFirestore.instance.loadBundle(buffer);

// Use .stream API to expose a stream which listens for LoadBundleTaskSnapshot events.
task.stream.listen((taskStateProgress) {
  if(taskStateProgress.taskState == LoadBundleTaskState.success){
    //bundle is loaded into app cache!
  }
});

// If you do not wish to .listen() to the stream, but simply want to know when the bundle has been loaded. Use .last API:
await task.stream.last;

Sample


Additional context

Here is a sample data bundle that fails:

https://github.com/firebase/flutterfire/files/8988540/iOSTest1.zip


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.6 21G115 darwin-arm, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 32.0.0-rc1)
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.3)
[✓] Android Studio (version 2021.1)
[☠] IntelliJ IDEA Ultimate Edition (the doctor check crashed)
    ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
    ✗ FormatException: Missing extension byte (at offset 3)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.3.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2022.3)
[✓] VS Code (version 1.74.1)
[✓] Connected device (4 available)
    ! Error: iPhone Matt is busy: Fetching debug symbols for iPhone Matt. Xcode will continue when iPhone Matt is finished. (code -10)
    ! Error: (null) needs to connect to determine its availability. Check the connection between the device and its companion iPhone, and the connection between the iPhone and Xcode. Both devices may also need to be restarted and unlocked. (code 1)
[✓] HTTP Host Availability

! Doctor found issues in 2 categories.


Flutter dependencies

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

Click To Expand
Dart SDK 2.18.5
Flutter SDK 3.3.9
apptree_client 7.0.0+1

dependencies:
- adaptive_dialog 1.8.0+1 [animations collection dynamic_color flutter intersperse macos_ui meta]
- async 2.9.0 [collection meta]
- cached_network_image 3.2.2 [flutter flutter_cache_manager octo_image cached_network_image_platform_interface cached_network_image_web]
- clock 1.1.1
- cloud_firestore 4.2.0 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- cloud_functions 4.0.6 [cloud_functions_platform_interface cloud_functions_web firebase_core firebase_core_platform_interface flutter]
- collection 1.16.0
- confirm_dialog 1.0.1 [flutter]
- cool_alert 1.1.0 [flutter flare_flutter lottie vector_math]
- copy_with_extension 4.0.3
- crypto 3.0.2 [typed_data]
- cupertino_icons 1.0.5
- dart_date 1.1.1 [intl timeago]
- device_info_plus 8.0.0 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32]
- devicelocale 0.5.5 [flutter flutter_web_plugins]
- dio 4.0.6 [http_parser path]
- dynamic_widget 4.0.5 [flutter logging http font_awesome_flutter_named material_icons_named]
- equatable 2.0.5 [collection meta]
- expressions 0.2.4 [quiver petitparser rxdart fake_async meta]
- file_picker 5.1.0 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32]
- firebase_auth 4.2.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta]
- firebase_core 2.4.0 [firebase_core_platform_interface firebase_core_web flutter meta]
- firebase_messaging 14.1.4 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta]
- firebase_storage 11.0.7 [firebase_core firebase_core_platform_interface firebase_storage_platform_interface firebase_storage_web flutter]
- flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine]
- flutter_breadcrumb 1.0.1 [flutter pedantic]
- flutter_hooks 0.18.5+1 [flutter]
- flutter_html 3.0.0-alpha.6 [html csslib collection numerus flutter]
- flutter_html_all 3.0.0-alpha.6 [flutter html flutter_html flutter_html_audio flutter_html_iframe flutter_html_math flutter_html_svg flutter_html_table flutter_html_video]
- flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math]
- flutter_riverpod 2.0.0-dev.9 [collection flutter meta riverpod state_notifier]
- flutter_typeahead 4.1.1 [flutter flutter_keyboard_visibility]
- flutter_web_auth 0.5.0 [flutter flutter_web_plugins]
- font_awesome_flutter 10.1.0 [flutter]
- freezed_annotation 2.1.0 [collection json_annotation meta]
- geolocator 9.0.2 [flutter geolocator_platform_interface geolocator_android geolocator_apple geolocator_web geolocator_windows]
- google_maps_cluster_manager 3.0.0+1 [flutter google_maps_flutter_platform_interface]
- google_maps_flutter 2.2.1 [flutter google_maps_flutter_android google_maps_flutter_ios google_maps_flutter_platform_interface]
- google_maps_flutter_web 0.4.0+3 [flutter flutter_web_plugins google_maps google_maps_flutter_platform_interface sanitize_html stream_transform]
- hive 2.2.3 [meta crypto]
- hooks_riverpod 2.0.0-dev.9 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier]
- image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface]
- info_kit 1.0.1 [flutter flutter_dotenv package_info_plus universal_io]
- intl 0.17.0 [clock path]
- json_annotation 4.6.0 [meta]
- json_patch 3.0.0 [collection]
- json_path 0.4.2 [rfc_6901 petitparser]
- json_view 0.4.0 [flutter]
- linkfy_text 1.1.5 [platform flutter]
- loggy 2.0.1+1 [stack_trace]
- map_launcher 2.4.0 [flutter]
- mime 1.0.2
- mobile_scanner 3.0.0-beta.2 [flutter flutter_web_plugins js]
- omni_datetime_picker 0.1.3 [flutter]
- package_info_plus 1.4.3+1 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web]
- path 1.8.2
- path_provider 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows]
- popover 0.2.7 [flutter]
- recursive_regex 1.0.0 [meta]
- rx_shared_preferences 3.0.0 [flutter shared_preferences rx_storage rxdart_ext meta]
- signature 5.2.1 [flutter flutter_svg image]
- simple_grid 0.1.1 [flutter]
- smooth_star_rating_nsafe 1.0.0+1 [flutter]
- sqflite 2.1.0 [flutter sqflite_common path]
- stash 4.3.4 [meta clock async equatable uuid]
- stash_memory 4.3.4 [stash]
- table_calendar 3.0.7 [flutter intl simple_gesture_detector]
- timeago 3.3.0 [intl]
- universal_html 2.0.8 [async csslib charcode collection html meta source_span typed_data universal_io]
- url_launcher 6.1.6 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows]
- uuid 3.0.6 [crypto]
- webview_flutter 3.0.4 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview]

dev dependencies:
- build_runner 2.2.1 [args async analyzer 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]
- copy_with_extension_gen 4.0.4 [analyzer build source_gen copy_with_extension]
- dart_code_metrics 5.0.1 [analyzer analyzer_plugin ansicolor args collection crypto file glob html meta path platform pub_updater source_span xml yaml]
- flutter_lints 2.0.1 [lints]
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph]
- freezed 2.1.1 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation]
- json_serializable 6.3.2 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper]

transitive dependencies:
- _fe_analyzer_shared 49.0.0 [meta]
- _flutterfire_internals 1.0.10 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta]
- analyzer 5.1.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]
- animations 2.0.3 [flutter]
- ansicolor 2.0.1
- archive 3.3.0 [crypto path]
- args 2.3.1
- boolean_selector 2.1.0 [source_span string_scanner]
- build 2.3.1 [analyzer async convert crypto glob logging meta path]
- build_config 1.1.0 [checked_yaml json_annotation path pubspec_parse yaml]
- build_daemon 3.1.0 [built_collection built_value http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel]
- build_resolvers 2.0.10 [analyzer async build crypto graphs logging path package_config pool pub_semver stream_transform yaml]
- build_runner_core 7.2.3 [async build build_config build_resolvers collection convert crypto glob graphs json_annotation logging meta path package_config pool timing watcher yaml]
- built_collection 5.1.1
- built_value 8.3.3 [built_collection collection fixnum meta]
- cached_network_image_platform_interface 2.0.0 [flutter flutter_cache_manager]
- cached_network_image_web 1.0.2 [flutter flutter_cache_manager cached_network_image_platform_interface]
- characters 1.2.1
- charcode 1.3.1
- checked_yaml 2.0.1 [json_annotation source_span yaml]
- chewie 1.3.5 [cupertino_icons flutter provider video_player wakelock]
- chewie_audio 1.3.0 [cupertino_icons flutter video_player]
- cloud_firestore_platform_interface 5.9.1 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- cloud_firestore_web 3.1.1 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js]
- cloud_functions_platform_interface 5.1.25 [firebase_core flutter meta plugin_platform_interface]
- cloud_functions_web 4.3.14 [cloud_functions_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js]
- code_builder 4.1.0 [built_collection built_value collection matcher meta]
- convert 3.0.2 [typed_data]
- cross_file 0.3.3+1 [js meta]
- csslib 0.17.2 [source_span]
- dart_style 2.2.4 [analyzer args path pub_semver source_span]
- device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface]
- disposebag 1.5.0 [meta collection]
- dynamic_color 1.4.0 [flutter flutter_test material_color_utilities]
- fake_async 1.3.1 [clock collection]
- ffi 2.0.1
- file 6.1.2 [meta path]
- firebase_auth_platform_interface 6.11.4 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface]
- firebase_auth_web 5.2.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta]
- firebase_core_platform_interface 4.5.2 [collection flutter flutter_test meta plugin_platform_interface]
- firebase_core_web 2.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- firebase_messaging_platform_interface 4.2.8 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface]
- firebase_messaging_web 3.2.9 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta]
- firebase_storage_platform_interface 4.1.25 [collection firebase_core flutter meta plugin_platform_interface]
- firebase_storage_web 3.3.17 [_flutterfire_internals async firebase_core firebase_core_web firebase_storage_platform_interface flutter flutter_web_plugins http js meta]
- fixnum 1.0.1
- flare_flutter 3.0.2 [collection flutter meta]
- flutter_blurhash 0.7.0 [flutter]
- flutter_cache_manager 3.3.0 [clock collection file flutter http path path_provider pedantic rxdart sqflite uuid]
- flutter_dotenv 5.0.2 [flutter]
- flutter_html_audio 3.0.0-alpha.4 [flutter html flutter_html video_player chewie_audio]
- flutter_html_iframe 3.0.0-alpha.4 [flutter html flutter_html webview_flutter]
- flutter_html_math 3.0.0-alpha.4 [flutter html flutter_html flutter_math_fork]
- flutter_html_svg 3.0.0-alpha.4 [flutter html flutter_html flutter_svg]
- flutter_html_table 3.0.0-alpha.4 [flutter html flutter_html flutter_layout_grid]
- flutter_html_video 3.0.0-alpha.5 [flutter html flutter_html video_player chewie]
- flutter_keyboard_visibility 5.4.0 [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_layout_grid 1.0.6 [flutter collection meta quiver]
- flutter_math_fork 0.6.3+1 [flutter flutter_svg provider meta collection tuple]
- flutter_plugin_android_lifecycle 2.0.6 [flutter]
- flutter_svg 1.1.4 [flutter meta path_drawing vector_math xml]
- flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math]
- font_awesome_flutter_named 1.1.1 [flutter font_awesome_flutter]
- frontend_server_client 2.1.3 [async path]
- geolocator_android 4.1.3 [flutter geolocator_platform_interface]
- geolocator_apple 2.2.1 [flutter geolocator_platform_interface]
- geolocator_platform_interface 4.0.6 [flutter plugin_platform_interface vector_math meta]
- geolocator_web 2.1.6 [flutter flutter_web_plugins geolocator_platform_interface]
- geolocator_windows 0.1.1 [flutter geolocator_platform_interface]
- glob 2.1.0 [async collection file path string_scanner]
- google_maps 6.2.0 [js_wrapping meta]
- google_maps_flutter_android 2.3.0 [flutter flutter_plugin_android_lifecycle google_maps_flutter_platform_interface stream_transform]
- google_maps_flutter_ios 2.1.11 [flutter google_maps_flutter_platform_interface stream_transform]
- google_maps_flutter_platform_interface 2.2.2 [collection flutter plugin_platform_interface stream_transform]
- graphs 2.1.0 [collection]
- html 0.15.0 [csslib source_span]
- http 0.13.4 [async http_parser meta path]
- http_multi_server 3.2.1 [async]
- http_parser 4.0.1 [collection source_span string_scanner typed_data]
- image 3.2.0 [archive meta xml]
- image_picker_android 0.8.5+1 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface]
- image_picker_for_web 2.1.8 [flutter flutter_web_plugins image_picker_platform_interface]
- image_picker_ios 0.8.5+6 [flutter image_picker_platform_interface]
- image_picker_platform_interface 2.5.0 [cross_file flutter http plugin_platform_interface]
- intersperse 2.0.0
- io 1.0.3 [meta path string_scanner]
- js 0.6.4
- js_wrapping 0.7.4 [js]
- lints 2.0.0
- logging 1.1.0
- lottie 1.3.0 [archive flutter path vector_math]
- macos_ui 1.7.3 [flutter]
- matcher 0.12.12 [stack_trace]
- material_color_utilities 0.1.5
- material_icons_named 3.3.0 [flutter]
- meta 1.8.0
- nested 1.0.0 [flutter]
- numerus 2.0.0 [characters]
- octo_image 1.0.2 [flutter flutter_blurhash]
- package_config 2.1.0 [path]
- package_info_plus_linux 1.0.5 [package_info_plus_platform_interface flutter path]
- package_info_plus_macos 1.3.0 [flutter]
- package_info_plus_platform_interface 1.0.2 [flutter meta plugin_platform_interface]
- package_info_plus_web 1.0.5 [flutter flutter_web_plugins http meta package_info_plus_platform_interface]
- package_info_plus_windows 2.1.0 [package_info_plus_platform_interface ffi flutter win32]
- path_drawing 1.0.1 [vector_math meta path_parsing flutter]
- path_parsing 1.0.1 [vector_math meta]
- path_provider_android 2.0.15 [flutter path_provider_platform_interface]
- path_provider_ios 2.0.10 [flutter path_provider_platform_interface]
- path_provider_linux 2.1.7 [ffi flutter path path_provider_platform_interface xdg_directories]
- path_provider_macos 2.0.6 [flutter path_provider_platform_interface]
- path_provider_platform_interface 2.0.4 [flutter platform plugin_platform_interface]
- path_provider_windows 2.1.3 [ffi flutter path path_provider_platform_interface win32]
- pedantic 1.11.1
- petitparser 5.0.0 [meta]
- platform 3.1.0
- plugin_platform_interface 2.1.3 [meta]
- pool 1.5.1 [async stack_trace]
- process 4.2.4 [file path platform]
- provider 6.0.4 [collection flutter nested]
- pub_semver 2.1.1 [collection meta]
- pub_updater 0.2.2 [http json_annotation process]
- pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml]
- quiver 3.1.0 [matcher]
- rfc_6901 0.1.1
- riverpod 2.0.0-dev.9 [collection meta stack_trace state_notifier]
- rx_storage 2.0.0 [rxdart_ext disposebag meta stack_trace]
- rxdart 0.27.5
- rxdart_ext 0.2.2 [rxdart meta stack_trace path]
- sanitize_html 2.0.0 [html meta]
- shared_preferences 2.0.15 [flutter shared_preferences_android shared_preferences_ios shared_preferences_linux shared_preferences_macos shared_preferences_platform_interface shared_preferences_web shared_preferences_windows]
- shared_preferences_android 2.0.12 [flutter shared_preferences_platform_interface]
- shared_preferences_ios 2.1.1 [flutter shared_preferences_platform_interface]
- shared_preferences_linux 2.1.1 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface]
- shared_preferences_macos 2.0.4 [flutter shared_preferences_platform_interface]
- shared_preferences_platform_interface 2.0.0 [flutter]
- shared_preferences_web 2.0.4 [flutter flutter_web_plugins shared_preferences_platform_interface]
- shared_preferences_windows 2.1.1 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface]
- shelf 1.3.1 [async collection http_parser path stack_trace stream_channel]
- shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel]
- simple_gesture_detector 0.2.0 [flutter]
- sky_engine 0.0.99
- source_gen 1.2.6 [analyzer async build dart_style glob meta path source_span yaml]
- source_helper 1.3.3 [analyzer collection source_gen]
- source_span 1.9.0 [collection path term_glyph]
- sqflite_common 2.3.0 [synchronized path meta]
- stack_trace 1.10.0 [path]
- state_notifier 0.7.2+1 [meta]
- stream_channel 2.1.0 [async]
- stream_transform 2.0.0
- string_scanner 1.1.1 [source_span]
- synchronized 3.0.0+2
- term_glyph 1.2.1
- test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher]
- timing 1.0.0 [json_annotation]
- tuple 2.0.1
- typed_data 1.3.1 [collection]
- universal_io 2.0.4 [collection crypto meta typed_data]
- url_launcher_android 6.0.19 [flutter url_launcher_platform_interface]
- url_launcher_ios 6.0.17 [flutter url_launcher_platform_interface]
- url_launcher_linux 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_macos 3.0.1 [flutter url_launcher_platform_interface]
- url_launcher_platform_interface 2.1.1 [flutter plugin_platform_interface]
- url_launcher_web 2.0.13 [flutter flutter_web_plugins url_launcher_platform_interface]
- url_launcher_windows 3.0.1 [flutter url_launcher_platform_interface]
- vector_math 2.1.2
- video_player 2.4.7 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web]
- video_player_android 2.3.9 [flutter video_player_platform_interface]
- video_player_avfoundation 2.3.7 [flutter video_player_platform_interface]
- video_player_platform_interface 5.1.4 [flutter plugin_platform_interface]
- video_player_web 2.0.12 [flutter flutter_web_plugins video_player_platform_interface]
- wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows]
- wakelock_macos 0.4.0 [flutter flutter_web_plugins wakelock_platform_interface]
- wakelock_platform_interface 0.3.0 [flutter meta]
- wakelock_web 0.4.0 [flutter flutter_web_plugins js wakelock_platform_interface]
- wakelock_windows 0.2.1 [flutter wakelock_platform_interface win32]
- watcher 1.0.1 [async path]
- web_socket_channel 2.2.0 [async crypto stream_channel]
- webview_flutter_android 2.9.2 [flutter webview_flutter_platform_interface]
- webview_flutter_platform_interface 1.9.1 [flutter meta plugin_platform_interface]
- webview_flutter_wkwebview 2.9.2 [flutter path webview_flutter_platform_interface]
- win32 3.0.0 [ffi]
- xdg_directories 0.2.0+1 [meta path process]
- xml 6.1.0 [collection meta petitparser]
- yaml 3.1.1 [collection source_span string_scanner]

@matthewtsmith matthewtsmith added Needs Attention This issue needs maintainer attention. type: bug Something isn't working labels Jan 6, 2023
@darshankawar darshankawar added the triage Issue is currently being triaged. label Jan 9, 2023
@darshankawar
Copy link

Thanks for the report @matthewtsmith
Revisiting the error you had highlighted in the original issue:

10.3.0 - [FirebaseFirestore][I-FST000001] Failed to GetNextElement() from bundle with error mapValue is not a valid map 10.3.0 - [FirebaseFirestore][I-FST000001] Progress set to Error, but error_status() is ok()

It seems it is coming from native Firebase SDK itself, as, it does not seem to be handling case if a document has empty Map.
See this related issue for your reference which is open.
From the file you shared, I couldn't figure out if it does have an empty map, but since the error says mapValue is not a valid map, it most probably indicates the same and you'll most likely need to follow-up in the native issue for further resolution. Once you confirm that, I'll close this issue.

@darshankawar darshankawar added blocked: customer-response Waiting for customer response, e.g. more information was requested. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. Needs Attention This issue needs maintainer attention. labels Jan 9, 2023
@google-oss-bot
Copy link

Hey @matthewtsmith. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

@google-oss-bot google-oss-bot added the Stale Issue with no recent activity label Jan 18, 2023
@google-oss-bot
Copy link

Since there haven't been any recent updates here, I am going to close this issue.

@matthewtsmith if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

@darshankawar darshankawar added resolution: no-response Customer did not respond after some time. and removed blocked: customer-response Waiting for customer response, e.g. more information was requested. triage Issue is currently being triaged. labels Jan 26, 2023
@firebase firebase locked and limited conversation to collaborators Feb 26, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
closed-by-bot resolution: no-response Customer did not respond after some time. Stale Issue with no recent activity type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants