Closed robpot95 closed 10 months ago
Hi @robpot95, what is the structure of your data? How are you loading the data in your app?
You mean how i load Firebase? It's based on the example provided in the package
I mean are you loading the data all at once or are you loading it in batches?
How many items are fetched by your app? Can you also provide the structure of the data that you fetch?
Hey @robpot95. 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!
Since there haven't been any recent updates here, I am going to close this issue.
@robpot95 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.
Bug report
Describe the bug The app seems to crash with some of the users, need to clear cache everytime. They have S22 and S23 ultra
Steps to reproduce
Steps to reproduce the behavior: No idea how to reproduce it
Expected behavior
Should function normally without any crash
Sample project
There is no issues with the project
Additional context
Here is a stackTrace from Crashlytics
Click To Expand
``` java.util.Arrays.copyOf (Arrays.java:3578) java.io.ByteArrayOutputStream.write (ByteArrayOutputStream.java:137) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:134) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:375) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:322) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:375) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:322) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:322) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:15) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:322) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:322) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:15) io.flutter.plugin.common.StandardMessageCodec.writeValue (StandardMessageCodec.java:322) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestoreMessageCodec.writeValue (FlutterFirebaseFirestoreMessageCodec.java:256) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApiCodec.writeValue (GeneratedAndroidFirebaseFirestore.java:185) io.flutter.plugin.common.StandardMessageCodec.encodeMessage (StandardMessageCodec.java:9) io.flutter.plugin.common.BasicMessageChannel$IncomingMessageHandler$1.reply (BasicMessageChannel.java:10) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApi$18.success (GeneratedAndroidFirebaseFirestore.java:10) io.flutter.plugins.firebase.firestore.GeneratedAndroidFirebaseFirestore$FirebaseFirestoreHostApi$18.success (GeneratedAndroidFirebaseFirestore.java:2) io.flutter.plugins.firebase.firestore.FlutterFirebaseFirestorePlugin.lambda$queryGet$16 (FlutterFirebaseFirestorePlugin.java:58) java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1145) java.lang.Thread.run (Thread.java:1012) ```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, 3.13.9, on macOS 14.2 23C64 darwin-arm64, locale sv-SE) [ā] Android toolchain - develop for Android devices (Android SDK version 33.0.2) [ā] Xcode - develop for iOS and macOS (Xcode 15.1) [ā] Chrome - develop for the web [ā] Android Studio (version 2022.3) [ā] VS Code (version 1.74.3) [ā] Connected device (2 available) [ā] Network resources ā¢ No issues found! ```Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
``` dependencies: - async 2.11.0 [collection meta] - badges 3.1.2 [flutter] - cached_network_image 3.3.0 [cached_network_image_platform_interface cached_network_image_web flutter flutter_cache_manager octo_image] - cloud_firestore 4.13.6 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - collection 1.17.2 - connectivity_plus 5.0.2 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm] - cupertino_icons 1.0.6 - defer_pointer 0.0.2 [flutter equatable] - device_info_plus 9.1.1 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32 win32_registry] - dio 5.4.0 [async http_parser meta path] - expandable_page_view 1.0.17 [flutter] - file_picker 6.1.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32] - firebase_auth 4.15.3 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_core 2.24.2 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.4.8 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_messaging 14.7.9 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_ui_firestore 1.5.15 [cloud_firestore firebase_ui_localizations flutter] - flex_color_picker 3.3.0 [flex_seed_scheme flutter] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math web sky_engine] - flutter_background_geolocation 4.13.5 [flutter collection background_fetch] - flutter_compass 0.8.0 [flutter] - flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math web] - flutter_map 5.0.31 [async collection flutter http latlong2 meta polylabel proj4dart vector_math] - flutter_map_animations 0.4.2 [flutter flutter_map latlong2] - flutter_map_tile_caching 6.2.0+14 [archive bezier collection cross_file file_picker flutter flutter_background flutter_local_notifications flutter_map http ini latlong2 meta move_to_background path path_provider permission_handler queue share_plus stream_transform vector_math watcher] - flutter_riverpod 2.4.5 [collection flutter meta riverpod state_notifier] - flutter_secure_storage 9.0.0 [flutter flutter_secure_storage_linux flutter_secure_storage_macos flutter_secure_storage_platform_interface flutter_secure_storage_web flutter_secure_storage_windows meta] - flutter_slidable 3.0.1 [flutter] - go_router 12.1.3 [collection flutter flutter_web_plugins logging meta] - http 1.1.0 [async http_parser meta] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - image_picker 1.0.4 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_linux image_picker_macos image_picker_platform_interface image_picker_windows] - intl 0.18.1 [clock meta path] - isar 3.1.0+1 [ffi js meta] - isar_flutter_libs 3.1.0+1 [flutter isar] - latlong2 0.9.0 [intl] - package_info_plus 5.0.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] - permission_handler 11.0.1 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface] - qr_code_scanner 1.0.1 [js flutter flutter_web_plugins] - riverpod_annotation 2.3.0 [meta riverpod] - rxdart 0.27.7 - url_launcher 6.2.2 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] - wakelock_plus 1.1.4 [flutter flutter_web_plugins meta wakelock_plus_platform_interface win32 dbus package_info_plus js] dev dependencies: - 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] - build_runner 2.4.7 [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] - custom_lint_builder 0.5.7 [analyzer analyzer_plugin collection custom_lint custom_lint_core glob hotreloader meta path pubspec_parse rxdart] - flutter_launcher_icons 0.13.1 [args checked_yaml cli_util image json_annotation path yaml] - flutter_lints 3.0.1 [lints] - flutter_native_splash 2.3.6 [args flutter flutter_web_plugins js html image meta path universal_io xml yaml ansicolor] - 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] - go_router_builder 2.4.0 [analyzer async build build_config collection meta path source_gen source_helper] - isar_generator 3.1.0+1 [analyzer build dart_style dartx glob isar path source_gen xxh3] - riverpod_generator 2.3.3 [analyzer build build_config collection crypto meta path riverpod_analyzer_utils riverpod_annotation source_gen] - riverpod_lint 2.1.1 [analyzer analyzer_plugin collection custom_lint_builder meta path riverpod riverpod_analyzer_utils source_span yaml] transitive dependencies: - _fe_analyzer_shared 61.0.0 [meta] - _flutterfire_internals 1.3.16 [collection firebase_core firebase_core_platform_interface flutter meta] - ansicolor 2.0.2 - archive 3.4.9 [crypto path pointycastle] - args 2.4.2 - background_fetch 1.2.1 [flutter] - bezier 1.2.0 [vector_math] - 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.1 [built_collection built_value crypto http_multi_server logging path pool shelf shelf_web_socket stream_transform watcher web_socket_channel] - build_resolvers 2.4.1 [analyzer async build collection convert crypto graphs logging package_config path pool pub_semver stream_transform yaml] - build_runner_core 7.2.11 [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.8.0 [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 6.0.10 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.8.10 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.8.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+7 [js meta] - crypto 3.0.3 [typed_data] - csslib 1.0.0 [source_span] - custom_lint 0.5.7 [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.7 [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.10 [args ffi meta xml] - device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface] - equatable 2.0.5 [collection meta] - fake_async 1.3.1 [clock collection] - ffi 2.1.0 - file 7.0.0 [meta path] - file_selector_linux 0.9.2+1 [cross_file file_selector_platform_interface flutter] - file_selector_macos 0.9.3+3 [cross_file file_selector_platform_interface flutter] - file_selector_platform_interface 2.6.1 [cross_file flutter http plugin_platform_interface] - file_selector_windows 0.9.3+1 [cross_file file_selector_platform_interface flutter] - firebase_auth_platform_interface 7.0.9 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 5.8.12 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser js meta] - firebase_core_platform_interface 5.0.0 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.10.0 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.6.16 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.5.18 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.5.18 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_ui_localizations 1.9.0 [flutter flutter_localizations path] - fixnum 1.1.0 - flex_seed_scheme 1.4.0 [collection flutter meta] - flutter_background 1.2.0 [flutter plugin_platform_interface] - flutter_cache_manager 3.3.1 [clock collection file flutter http path path_provider rxdart sqflite uuid] - flutter_local_notifications 14.1.4 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone] - flutter_local_notifications_linux 4.0.0+1 [dbus ffi flutter flutter_local_notifications_platform_interface path xdg_directories] - flutter_local_notifications_platform_interface 7.0.0+1 [flutter plugin_platform_interface] - flutter_plugin_android_lifecycle 2.0.17 [flutter] - flutter_secure_storage_linux 1.2.0 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_macos 3.0.1 [flutter flutter_secure_storage_platform_interface] - flutter_secure_storage_platform_interface 1.0.2 [flutter plugin_platform_interface] - flutter_secure_storage_web 1.1.2 [flutter flutter_secure_storage_platform_interface flutter_web_plugins js] - flutter_secure_storage_windows 3.0.0 [ffi flutter flutter_secure_storage_platform_interface path path_provider win32] - flutter_web_plugins 0.0.0 [flutter characters collection material_color_utilities meta vector_math web] - freezed_annotation 2.4.1 [collection json_annotation meta] - frontend_server_client 3.2.0 [async path] - glob 2.1.2 [async collection file path string_scanner] - graphs 2.3.1 [collection] - hotreloader 4.1.0 [collection logging path stream_transform vm_service watcher] - html 0.15.4 [csslib source_span] - http_multi_server 3.2.1 [async] - image 4.1.3 [archive meta xml] - image_picker_android 0.8.8+2 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface] - image_picker_for_web 3.0.1 [flutter flutter_web_plugins image_picker_platform_interface mime] - image_picker_ios 0.8.8+4 [flutter image_picker_platform_interface] - image_picker_linux 0.2.1+1 [file_selector_linux file_selector_platform_interface flutter image_picker_platform_interface] - image_picker_macos 0.2.1+1 [file_selector_macos file_selector_platform_interface flutter image_picker_platform_interface] - image_picker_platform_interface 2.9.1 [cross_file flutter http plugin_platform_interface] - image_picker_windows 0.2.1+1 [file_selector_platform_interface file_selector_windows flutter image_picker_platform_interface] - ini 2.1.0 - io 1.0.4 [meta path string_scanner] - js 0.6.7 [meta] - json_annotation 4.8.1 [meta] - lints 3.0.0 - lists 1.0.1 [meta] - 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 - mgrs_dart 2.0.0 [unicode] - mime 1.0.4 - move_to_background 1.0.2 [flutter] - 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.2.1 [flutter path_provider_platform_interface] - path_provider_foundation 2.3.1 [flutter path_provider_platform_interface] - path_provider_linux 2.2.1 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_platform_interface 2.1.1 [flutter platform plugin_platform_interface] - path_provider_windows 2.2.1 [ffi flutter path path_provider_platform_interface win32] - permission_handler_android 11.1.0 [flutter permission_handler_platform_interface] - permission_handler_apple 9.1.4 [flutter permission_handler_platform_interface] - permission_handler_platform_interface 3.12.0 [flutter meta plugin_platform_interface] - permission_handler_windows 0.1.3 [flutter permission_handler_platform_interface] - petitparser 5.4.0 [meta] - platform 3.1.3 - plugin_platform_interface 2.1.7 [meta] - pointycastle 3.7.3 [collection convert js] - polylabel 1.0.1 [collection] - pool 1.5.1 [async stack_trace] - proj4dart 2.1.0 [mgrs_dart wkt_parser meta] - pub_semver 2.1.4 [collection meta] - pubspec_parse 1.2.3 [checked_yaml collection json_annotation pub_semver yaml] - queue 3.1.0+2 - riverpod 2.4.5 [meta stack_trace state_notifier] - riverpod_analyzer_utils 0.3.4 [analyzer collection crypto custom_lint_core freezed_annotation meta path source_span] - share_plus 7.2.1 [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] - share_plus_platform_interface 3.3.1 [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] - sprintf 7.0.0 - sqflite 2.3.0 [flutter sqflite_common path] - sqflite_common 2.5.0+2 [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] - timezone 0.9.2 [path] - timing 1.0.1 [json_annotation] - typed_data 1.3.2 [collection] - unicode 0.3.1 [lists] - universal_io 2.2.2 [collection meta typed_data] - url_launcher_android 6.2.0 [flutter url_launcher_platform_interface] - url_launcher_ios 6.2.1 [flutter url_launcher_platform_interface] - url_launcher_linux 3.1.0 [flutter url_launcher_platform_interface] - url_launcher_macos 3.1.0 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.2.0 [flutter plugin_platform_interface] - url_launcher_web 2.2.0 [flutter flutter_web_plugins url_launcher_platform_interface] - url_launcher_windows 3.1.0 [flutter url_launcher_platform_interface] - uuid 4.2.1 [crypto sprintf meta] - vector_math 2.1.4 - vm_service 13.0.0 - wakelock_plus_platform_interface 1.1.0 [flutter plugin_platform_interface meta] - watcher 1.1.0 [async path] - web 0.1.4-beta - web_socket_channel 2.4.0 [async crypto stream_channel] - win32 5.1.0 [ffi] - win32_registry 1.1.2 [ffi win32] - wkt_parser 2.0.0 - xdg_directories 1.0.3 [meta path] - xml 6.3.0 [collection meta petitparser] - xxh3 1.0.1 - yaml 3.1.2 [collection source_span string_scanner] ```