Closed jeiea closed 7 months ago
Thanks for the report. Using the plugin example and updating it with code snippet shown below, I see same behavior as reported.
Confirmed, issue open on firebase-android-sdk here: https://github.com/firebase/firebase-android-sdk/issues/4617
Still open, any update here? or workaround.
Closing this for now, https://github.com/firebase/firebase-android-sdk/issues/4617#issuecomment-1650541186 The solution will be provided by firebase BE team at some point in the future
Bug report
Describe the bug The following is iOS non fatal error log.
The following is Android non fatal error log.
Steps to reproduce
Expected behavior
It shouldn't remove newline from log on android.
Sample project
Maybe sufficient with some modification with crashlytics example..?
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
``` β flutter doctor -v [β] Flutter (Channel stable, 3.3.9, on macOS 13.0.1 22A400 darwin-arm, locale en-KR) β’ Flutter version 3.3.9 on channel stable at /Users/jeiea/.asdf/installs/flutter/2.10.3-stable β’ Upstream repository https://github.com/flutter/flutter.git β’ Framework revision b8f7f1f986 (3 weeks ago), 2022-11-23 06:43:51 +0900 β’ Engine revision 8f2221fbef β’ Dart version 2.18.5 β’ DevTools version 2.15.0 [β] Android toolchain - develop for Android devices (Android SDK version 33.0.0) β’ Android SDK at /Users/jeiea/Library/Android/sdk β’ Platform android-33, build-tools 33.0.0 β’ Java binary at: /opt/homebrew/Cellar/openjdk/19/libexec/openjdk.jdk/Contents/Home/bin/java β’ Java version OpenJDK Runtime Environment Homebrew (build 19) β’ All Android licenses accepted. [β] Xcode - develop for iOS and macOS (Xcode 14.2) β’ Xcode at /Applications/Xcode.app/Contents/Developer β’ Build 14C18 β’ CocoaPods version 1.11.3 [β] Chrome - develop for the web β’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome [!] Android Studio β’ Android Studio at /Applications/Android Studio Preview.app/Contents β’ Flutter plugin can be installed from: π¨ https://plugins.jetbrains.com/plugin/9212-flutter β’ Dart plugin can be installed from: π¨ https://plugins.jetbrains.com/plugin/6351-dart β Unable to find bundled Java version. β’ Try updating or re-installing Android Studio. [β] VS Code (version 1.74.1) β’ VS Code at /Applications/Visual Studio Code.app/Contents β’ Flutter extension version 3.55.20221129 [β] Connected device (4 available) β’ SM G996N (mobile) β’ adb-R3CR10909RV-fBqIxi._adb-tls-connect._tcp. β’ android-arm64 β’ Android 12 (API 31) β’ iPhone (mobile) β’ 3cab6ea47af788fbe8d5001e572f5d4c6bb69138 β’ ios β’ iOS 16.1.2 20B110 β’ macOS (desktop) β’ macos β’ darwin-arm64 β’ macOS 13.0.1 22A400 darwin-arm β’ Chrome (web) β’ chrome β’ web-javascript β’ Google Chrome 108.0.5359.124 [β] HTTP Host Availability β’ All required HTTP hosts are available ! Doctor found issues in 1 category. ```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 dependencies: - animated_size_and_fade 3.0.0 [flutter] - async 2.9.0 [collection meta] - auto_size_text 3.0.0 [flutter] - 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 - collection 1.16.0 - connectivity_plus 3.0.2 [flutter flutter_web_plugins connectivity_plus_platform_interface js meta nm] - cookie_jar 3.0.1 - cupertino_icons 1.0.5 - device_info_plus 8.0.0 [device_info_plus_platform_interface ffi file flutter flutter_web_plugins meta win32] - dio 4.0.6 [http_parser path] - dio_cookie_manager 2.0.0 [cookie_jar dio] - either_option 2.0.1-dev.1 [test] - expandable 5.0.1 [flutter] - expandable_text 2.3.0 [flutter] - firebase_analytics 10.0.3 [firebase_analytics_platform_interface firebase_analytics_web firebase_core firebase_core_platform_interface flutter] - firebase_core 2.1.1 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_crashlytics 3.0.3 [firebase_core firebase_core_platform_interface firebase_crashlytics_platform_interface flutter stack_trace] - firebase_messaging 14.0.3 [firebase_core firebase_core_platform_interface firebase_messaging_platform_interface firebase_messaging_web flutter meta] - firebase_remote_config 3.0.3 [firebase_core firebase_core_platform_interface firebase_remote_config_platform_interface firebase_remote_config_web flutter] - fl_chart 0.55.2 [flutter equatable] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine] - flutter_hooks 0.18.5+1 [flutter] - flutter_local_notifications 12.0.3 [clock flutter flutter_local_notifications_linux flutter_local_notifications_platform_interface timezone] - flutter_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math] - flutter_native_splash 2.2.13 [args flutter flutter_web_plugins js html image meta path universal_io xml yaml] - flutter_rating_bar 4.0.1 [flutter] - flutter_reactive_ble 5.0.2 [collection flutter functional_data meta reactive_ble_mobile reactive_ble_platform_interface] - flutter_spinkit 5.1.0 [flutter] - flutter_svg 1.1.6 [flutter meta path_drawing vector_math xml] - freezed_annotation 2.2.0 [collection json_annotation meta] - get 4.3.8 [flutter] - gradient_progress 0.1.0 [flutter] - hooks_riverpod 2.1.1 [collection flutter flutter_hooks flutter_riverpod riverpod state_notifier] - iamport_flutter 0.10.3 [flutter iamport_webview_flutter url_launcher uni_links json_annotation] - image_picker 0.8.6 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface] - in_app_purchase 3.0.8 [flutter in_app_purchase_android in_app_purchase_platform_interface in_app_purchase_storekit] - in_app_purchase_storekit 0.3.3 [collection flutter in_app_purchase_platform_interface json_annotation] - in_app_review 2.0.4 [flutter in_app_review_platform_interface] - infinite_scroll_pagination 3.2.0 [flutter sliver_tools] - intersperse 2.0.0 - intl 0.17.0 [clock path] - json_annotation 4.7.0 [meta] - kakao_flutter_sdk_user 1.2.2 [flutter json_annotation dio kakao_flutter_sdk_auth] - logger 1.1.0 - lottie 1.4.3 [archive flutter path vector_math] - 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] - permission_handler 10.2.0 [flutter meta permission_handler_android permission_handler_apple permission_handler_windows permission_handler_platform_interface] - preload_page_view 0.1.6 [flutter] - responsive_framework 0.2.0 [flutter collection] - riverpod_annotation 1.0.6 [meta riverpod] - share_plus 6.3.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] - 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] - shimmer 2.0.0 [flutter] - sign_in_with_apple 4.1.0 [flutter meta sign_in_with_apple_platform_interface sign_in_with_apple_web] - sliver_tools 0.2.8 [flutter] - socket_io_client 2.0.0 [logging socket_io_common js] - stack_trace 1.10.0 [path] - stream_transform 2.0.1 - swipeable_page_route 0.2.6 [black_hole_flutter collection flutter list_diff meta] - uni_links 0.5.1 [flutter uni_links_platform_interface uni_links_web] - universal_io 2.0.4 [collection crypto meta typed_data] - 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] - use_query 0.1.0 [clock flutter either_option flutter_hooks freezed_annotation hooks_riverpod] - wakelock 0.6.2 [flutter meta wakelock_macos wakelock_platform_interface wakelock_web wakelock_windows] - webview_cookie_manager 2.0.6 [flutter] - webview_flutter 3.0.4 [flutter webview_flutter_android webview_flutter_platform_interface webview_flutter_wkwebview] - xiaomi_scale 2.2.1 [flutter flutter_reactive_ble rxdart uuid] dev dependencies: - args 2.3.1 - build_runner 2.3.0 [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] - fake_async 1.3.1 [clock collection] - flutter_launcher_icons 0.10.0 [args checked_yaml cli_util image json_annotation path 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.2.0 [analyzer build build_config collection meta source_gen freezed_annotation json_annotation] - json_serializable 6.5.4 [analyzer async build build_config collection json_annotation meta path pub_semver pubspec_parse source_gen source_helper] - mockito 5.3.2 [analyzer build code_builder collection dart_style matcher meta path source_gen test_api] - path 1.8.2 - riverpod_generator 1.0.6 [analyzer build build_config collection crypto meta riverpod_annotation source_gen] dependency overrides: - riverpod 2.1.1 [collection meta stack_trace state_notifier] transitive dependencies: - _fe_analyzer_shared 47.0.0 [meta] - _flutterfire_internals 1.0.6 [cloud_firestore_platform_interface cloud_firestore_web collection firebase_core firebase_core_platform_interface flutter meta] - analyzer 4.7.0 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - archive 3.3.2 [crypto path] - asn1lib 1.2.2 - black_hole_flutter 0.3.5 [collection flutter meta] - 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.1 [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.7 [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.4.2 [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 - checked_yaml 2.0.1 [json_annotation source_span yaml] - cli_util 0.3.5 [meta path] - cloud_firestore_platform_interface 5.8.3 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - cloud_firestore_web 3.0.3 [_flutterfire_internals cloud_firestore_platform_interface collection firebase_core firebase_core_web flutter flutter_web_plugins js] - code_builder 4.3.0 [built_collection built_value collection matcher meta] - connectivity_plus_platform_interface 1.2.3 [flutter meta plugin_platform_interface] - convert 3.1.1 [typed_data] - coverage 1.6.1 [args logging package_config path source_maps stack_trace vm_service] - cross_file 0.3.3+2 [js meta] - crypto 3.0.2 [typed_data] - csslib 0.17.2 [source_span] - dart_style 2.2.4 [analyzer args path pub_semver source_span] - dbus 0.7.8 [args ffi meta xml] - device_info_plus_platform_interface 7.0.0 [flutter meta plugin_platform_interface] - encrypt 5.0.1 [args asn1lib clock collection crypto pointycastle] - equatable 2.0.5 [collection meta] - ffi 2.0.1 - file 6.1.4 [meta path] - firebase_analytics_platform_interface 3.3.11 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_analytics_web 0.5.1+2 [_flutterfire_internals firebase_analytics_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins js] - firebase_core_platform_interface 4.5.2 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 2.0.1 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebase_crashlytics_platform_interface 3.3.4 [_flutterfire_internals collection firebase_core flutter meta plugin_platform_interface] - firebase_messaging_platform_interface 4.2.4 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_messaging_web 3.2.4 [_flutterfire_internals firebase_core firebase_core_web firebase_messaging_platform_interface flutter flutter_web_plugins js meta] - firebase_remote_config_platform_interface 1.1.23 [_flutterfire_internals firebase_core flutter meta plugin_platform_interface] - firebase_remote_config_web 1.1.12 [firebase_core firebase_core_web firebase_remote_config_platform_interface flutter flutter_web_plugins js] - fixnum 1.0.1 - 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_local_notifications_linux 2.0.0 [flutter flutter_local_notifications_platform_interface dbus path xdg_directories] - flutter_local_notifications_platform_interface 6.0.0 [flutter plugin_platform_interface] - flutter_plugin_android_lifecycle 2.0.7 [flutter] - flutter_riverpod 2.1.1 [collection flutter meta riverpod state_notifier] - flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math] - frontend_server_client 2.1.3 [async path] - functional_data 1.0.0 [meta collection] - glob 2.1.0 [async collection file path string_scanner] - graphs 2.2.0 [collection] - html 0.15.1 [csslib source_span] - http 0.13.5 [async http_parser meta path] - http_multi_server 3.2.1 [async] - http_parser 4.0.2 [collection source_span string_scanner typed_data] - iamport_webview_flutter 3.0.4 [flutter] - image 3.2.2 [archive meta xml] - image_picker_android 0.8.5+3 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface] - image_picker_for_web 2.1.10 [flutter flutter_web_plugins image_picker_platform_interface] - image_picker_ios 0.8.6+1 [flutter image_picker_platform_interface] - image_picker_platform_interface 2.6.2 [cross_file flutter http plugin_platform_interface] - in_app_purchase_android 0.2.3+6 [collection flutter in_app_purchase_platform_interface json_annotation] - in_app_purchase_platform_interface 1.3.2 [flutter plugin_platform_interface] - in_app_review_platform_interface 2.0.4 [flutter url_launcher plugin_platform_interface platform] - io 1.0.3 [meta path string_scanner] - js 0.6.4 - kakao_flutter_sdk_auth 1.2.2 [flutter json_annotation dio shared_preferences platform crypto kakao_flutter_sdk_common] - kakao_flutter_sdk_common 1.2.2 [flutter json_annotation dio shared_preferences platform package_info_plus crypto encrypt] - lints 2.0.1 - list_diff 2.0.1 [async] - logging 1.1.0 - matcher 0.12.12 [stack_trace] - material_color_utilities 0.1.5 - meta 1.8.0 - mime 1.0.2 - nm 0.5.0 [dbus] - node_preamble 2.0.1 - 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.6 [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 2.0.11 [flutter path_provider_android path_provider_ios path_provider_linux path_provider_macos path_provider_platform_interface path_provider_windows] - path_provider_android 2.0.21 [flutter path_provider_platform_interface] - path_provider_ios 2.0.11 [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.5 [flutter platform plugin_platform_interface] - path_provider_windows 2.1.3 [ffi flutter path path_provider_platform_interface win32] - pedantic 1.11.1 - permission_handler_android 10.2.0 [flutter permission_handler_platform_interface] - permission_handler_apple 9.0.7 [flutter permission_handler_platform_interface] - permission_handler_platform_interface 3.9.0 [flutter meta plugin_platform_interface] - permission_handler_windows 0.1.2 [flutter permission_handler_platform_interface] - petitparser 5.1.0 [meta] - platform 3.1.0 - plugin_platform_interface 2.1.3 [meta] - pointycastle 3.6.2 [collection convert js] - pool 1.5.1 [async stack_trace] - process 4.2.4 [file path platform] - protobuf 2.1.0 [fixnum collection meta] - pub_semver 2.1.2 [collection meta] - pubspec_parse 1.2.1 [checked_yaml collection json_annotation pub_semver yaml] - reactive_ble_mobile 5.0.2 [flutter protobuf reactive_ble_platform_interface] - reactive_ble_platform_interface 5.0.2 [collection flutter functional_data meta plugin_platform_interface] - rxdart 0.27.5 - share_plus_platform_interface 3.2.0 [cross_file flutter meta mime plugin_platform_interface path_provider uuid] - shared_preferences_android 2.0.14 [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.1.0 [flutter plugin_platform_interface] - 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.4.0 [async collection http_parser path stack_trace stream_channel] - shelf_packages_handler 3.0.1 [path shelf shelf_static] - shelf_static 1.1.1 [convert http_parser mime path shelf] - shelf_web_socket 1.0.2 [shelf stream_channel web_socket_channel] - sign_in_with_apple_platform_interface 1.0.0 [flutter plugin_platform_interface meta] - sign_in_with_apple_web 1.0.1 [flutter flutter_web_plugins sign_in_with_apple_platform_interface js] - sky_engine 0.0.99 - socket_io_common 2.0.2 [logging] - 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_map_stack_trace 2.1.1 [path source_maps stack_trace] - source_maps 0.10.11 [source_span] - source_span 1.9.0 [collection path term_glyph] - sqflite 2.2.0+3 [flutter sqflite_common path] - sqflite_common 2.4.0+2 [synchronized path meta] - state_notifier 0.7.2+1 [meta] - stream_channel 2.1.0 [async] - string_scanner 1.1.1 [source_span] - synchronized 3.0.0+3 - term_glyph 1.2.1 - test 1.21.4 [analyzer async boolean_selector collection coverage http_multi_server io js node_preamble package_config path pool shelf shelf_packages_handler shelf_static shelf_web_socket source_span stack_trace stream_channel typed_data web_socket_channel webkit_inspection_protocol yaml test_api test_core] - test_api 0.4.12 [async boolean_selector collection meta source_span stack_trace stream_channel string_scanner term_glyph matcher] - test_core 0.4.16 [analyzer async args boolean_selector collection coverage frontend_server_client glob io meta package_config path pool source_map_stack_trace source_maps source_span stack_trace stream_channel vm_service yaml matcher test_api] - timezone 0.9.0 [path] - timing 1.0.0 [json_annotation] - typed_data 1.3.1 [collection] - uni_links_platform_interface 1.0.0 [flutter plugin_platform_interface] - uni_links_web 0.1.0 [flutter flutter_web_plugins uni_links_platform_interface] - url_launcher_android 6.0.21 [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] - uuid 3.0.6 [crypto] - vector_math 2.1.2 - vm_service 9.4.0 - 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.2 [async path] - web_socket_channel 2.2.0 [async crypto stream_channel] - webkit_inspection_protocol 1.2.0 [logging] - webview_flutter_android 2.10.4 [flutter webview_flutter_platform_interface] - webview_flutter_platform_interface 1.9.5 [flutter meta plugin_platform_interface] - webview_flutter_wkwebview 2.9.5 [flutter path webview_flutter_platform_interface] - win32 3.0.1 [ffi] - xdg_directories 0.2.0+2 [meta path process] - xml 6.1.0 [collection meta petitparser] - yaml 3.1.1 [collection source_span string_scanner] ```