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.74k stars 3.98k forks source link

πŸ› [firebase_auth] App crash on macOS when trying to signInWithCredential #9437

Closed anandsubbu007 closed 2 years ago

anandsubbu007 commented 2 years ago

Bug report

Describe the bug app crash when i call FirebaseAuth.instance.signInWithCredential to login in mac

final credential = GoogleAuthProvider.credential( idToken: idToken, accessToken: accessToken); await FirebaseAuth.instance.signInWithCredential(credential);

Steps to reproduce

Platform: macos

Steps to reproduce the behaviour:

  1. get IdToken & accesstoken from google login
  2. then call FirebaseAuth.instance.signInWithCredential with credential from token

Expected behavior


Error Log

Click To Expand ``` 2022-08-28 10:23:32.807 ss_app[20720:120366] -[__NSCFBoolean objectForKey:]: unrecognized selector sent to instance 0x7ff847f6d430 2022-08-28 10:23:32.809 ss_app[20720:120366] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFBoolean objectForKey:]: unrecognized selector sent to instance 0x7ff847f6d430' *** First throw call stack: ( 0 CoreFoundation 0x00007ff80554a7c3 __exceptionPreprocess + 242 1 libobjc.A.dylib 0x00007ff8052aabc3 objc_exception_throw + 48 2 CoreFoundation 0x00007ff8055cf36b -[NSObject(NSObject) __retain_OA] + 0 3 CoreFoundation 0x00007ff8054b1515 ___forwarding___ + 1356 4 CoreFoundation 0x00007ff8054b0f38 _CF_forwarding_prep_0 + 120 5 GTMSessionFetcher 0x000000010dd1ec9c __46+[GTMSessionFetcher appAllowsInsecureRequests]_block_invoke + 108 6 libdispatch.dylib 0x00007ff805251317 _dispatch_client_callout + 8 7 libdispatch.dylib 0x00007ff8052524fa _dispatch_once_callout + 20 8 GTMSessionFetcher 0x000000010dd1ebfe +[GTMSessionFetcher appAllowsInsecureRequests] + 78 9 GTMSessionFetcher 0x000000010dd207af -[GTMSessionFetcher beginFetchMayDelay:mayAuthorize:mayDecorate:] + 1935 10 GTMSessionFetcher 0x000000010dd1f430 -[GTMSessionFetcher beginFetchWithCompletionHandler:] + 304 11 FirebaseAuth 0x000000010db9d86c -[FIRAuthBackendRPCIssuerImplementation asyncPostToURLWithRequestConfiguration:URL:body:contentType:completionHandler:] + 444 12 FirebaseAuth 0x000000010db9f917 -[FIRAuthBackendRPCImplementation postWithRequest:response:callback:] + 999 13 FirebaseAuth 0x000000010db9e26c -[FIRAuthBackendRPCImplementation verifyAssertion:callback:] + 268 14 FirebaseAuth 0x000000010db9c9ca +[FIRAuthBackend verifyAssertion:callback:] + 122 15 FirebaseAuth 0x000000010db92f74 -[FIRAuth internalSignInAndRetrieveDataWithCredential:isReauthentication:callback:] + 1092 16 FirebaseAuth 0x000000010db9297d __43-[FIRAuth signInWithCredential:completion:]_block_invoke + 93 17 libdispatch.dylib 0x00007ff8052500cc _dispatch_call_block_and_release + 12 18 libdispatch.dylib 0x00007ff805251317 _dispatch_client_callout + 8 19 libdispatch.dylib 0x00007ff805257317 _dispatch_lane_serial_drain + 672 20 libdispatch.dylib 0x00007ff805257dfd _dispatch_lane_invoke + 366 21 libdispatch.dylib 0x00007ff805261eee _dispatch_workloop_worker_thread + 753 22 libsystem_pthread.dylib 0x00007ff805404fd0 _pthread_wqthread + 326 23 libsystem_pthread.dylib 0x00007ff805403f57 start_wqthread + 15 ) libc++abi: terminating with uncaught exception of type NSException Lost connection to device. Exited ```

Additional context


Flutter doctor

Run flutter doctor and paste the output below:

Click To Expand ``` [βœ“] Flutter (Channel stable, 3.0.5, on macOS 12.5.1 21G83 darwin-x64, locale en-IN) β€’ Flutter version 3.0.5 at /usr/local/Caskroom/flutter/3.0.0/flutter β€’ Upstream repository https://github.com/flutter/flutter.git β€’ Framework revision f1875d570e (6 weeks ago), 2022-07-13 11:24:16 -0700 β€’ Engine revision e85ea0e79c β€’ Dart version 2.17.6 β€’ DevTools version 2.12.2 [βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.0) β€’ Android SDK at /Users/apple/Library/Android/sdk β€’ Platform android-31, build-tools 33.0.0 β€’ Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) β€’ All Android licenses accepted. [βœ“] Xcode - develop for iOS and macOS (Xcode 14.0) β€’ Xcode at /Applications/Xcode-beta.app/Contents/Developer β€’ CocoaPods version 1.11.3 [βœ“] Chrome - develop for the web β€’ CHROME_EXECUTABLE = /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge [βœ“] Android Studio (version 2021.2) β€’ Android Studio at /Applications/Android Studio.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 β€’ Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840) [βœ“] VS Code (version 1.67.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.46.0 [βœ“] Connected device (2 available) β€’ macOS (desktop) β€’ macos β€’ darwin-x64 β€’ macOS 12.5.1 21G83 darwin-x64 β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Microsoft Edge 104.0.1293.70 [βœ“] HTTP Host Availability β€’ All required HTTP hosts are available β€’ No issues found! ```

Flutter dependencies

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

Click To Expand ``` Dart SDK 2.17.6 Flutter SDK 3.0.5 ss_app 1.0.0+1 dependencies: - auto_route 4.2.0 [flutter path collection meta universal_html] - fluent_ui 3.12.0 [flutter flutter_localizations intl recase scroll_pos] - flutter 0.0.0 [characters collection material_color_utilities meta vector_math sky_engine] - sentry 6.7.0 [http meta stack_trace uuid] - sentry_flutter 6.7.0 [flutter flutter_web_plugins sentry package_info_plus meta] - sentry_logging 6.7.0 [logging sentry] - ss_app_ecom 1.0.0+1 [flutter cupertino_icons fluent_ui flutter_riverpod ss_client_func ss_client ss_config ss_module_utils ss_module_widgets ss_shared_model badges bot_toast carousel_slider dartz dio_cache_interceptor_hive_store easy_rich_text flutter_acrylic provider skeletons url_launcher cupertino_stepper] - ss_app_vendor 1.0.0+1 [badges bot_toast catcher sentry_flutter wiredash carousel_slider cupertino_icons cupertino_stepper dartz dio_cache_interceptor_hive_store easy_rich_text excel fluent_ui flutter flutter_acrylic flutter_riverpod fuzzywuzzy get_it provider skeletons ss_app ss_client_func ss_config ss_module_login ss_module_utils ss_module_widgets super_tooltip url_launcher window_manager] - ss_client 0.0.0 [flutter hive equatable hive_flutter ss_nestjs_client] - ss_client_func 1.0.0+1 [cupertino_icons flutter flutter_riverpod get_it hive_flutter http open_document ss_client ss_client_model ss_config ss_nestjs_client ss_shared_model ss_module_widgets ss_app logger] - ss_config 0.0.1 [easy_localization fluent_ui flutter auto_route flutter_localizations] - ss_module_login 1.0.0+1 [cupertino_icons flutter flutter_riverpod neopop pin_code_fields ss_app ss_client_func ss_config ss_module_utils ss_module_widgets ss_shared_model ss_nestjs_client] - ss_module_widgets 1.0.0+1 [bot_toast camera_windows carousel_slider cupertino_icons file_picker flutter_quill html_editor_enhanced fluent_ui flutter flutter_riverpod neopop extended_image image_picker skeletons ss_client_func ss_config ss_module_utils] - url_launcher 6.1.2 [flutter url_launcher_android url_launcher_ios url_launcher_linux url_launcher_macos url_launcher_platform_interface url_launcher_web url_launcher_windows] dev dependencies: - auto_route_generator 4.0.0 [build source_gen analyzer path build_runner code_builder dart_style auto_route] - build_runner 2.1.10 [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] - 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 charcode collection matcher material_color_utilities meta source_span stream_channel string_scanner term_glyph] - hive_generator 1.1.3 [build source_gen hive analyzer source_helper] dependency overrides: - flutter_lints 2.0.1 [lints] - lints 2.0.0 - path 1.8.1 transitive dependencies: - _discoveryapis_commons 1.0.3 [http http_parser meta] - _fe_analyzer_shared 38.0.0 [meta] - analyzer 3.4.1 [_fe_analyzer_shared collection convert crypto glob meta package_config path pub_semver source_span watcher yaml] - archive 3.3.0 [crypto path] - args 2.3.1 - async 2.8.2 [collection meta] - badges 2.0.2 [flutter] - boolean_selector 2.1.0 [source_span string_scanner] - bot_toast 4.0.3 [flutter] - build 2.3.0 [analyzer async convert crypto glob logging meta path] - build_config 1.0.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.8 [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.2.3 [built_collection collection fixnum meta] - camera_platform_interface 2.1.6 [cross_file flutter plugin_platform_interface stream_transform] - camera_windows 0.1.0+1 [camera_platform_interface cross_file flutter stream_transform] - carousel_slider 4.1.1 [flutter] - catcher 0.6.9 [flutter flutter_web_plugins fluttertoast device_info_plus device_info_plus_platform_interface package_info_plus mailer dio flutter_mailer logging sentry universal_io] - characters 1.2.0 - charcode 1.3.1 - checked_yaml 2.0.1 [json_annotation source_span yaml] - chopper 4.0.6 [http meta logging] - clock 1.1.0 - code_builder 4.1.0 [built_collection built_value collection matcher meta] - collection 1.16.0 - convert 3.0.1 [typed_data] - cross_file 0.3.3 [js meta] - crypto 3.0.2 [typed_data] - csslib 0.17.2 [source_span] - cupertino_icons 1.0.4 - cupertino_stepper 0.2.1 [cupertino_icons flutter] - dart_style 2.2.3 [analyzer args path pub_semver source_span] - dartz 0.10.1 - desktop_webview_auth 0.0.9 [crypto flutter http] - device_info_plus 3.2.4 [flutter device_info_plus_platform_interface device_info_plus_macos device_info_plus_linux device_info_plus_web device_info_plus_windows] - device_info_plus_linux 2.1.1 [device_info_plus_platform_interface file flutter meta] - device_info_plus_macos 2.2.3 [device_info_plus_platform_interface flutter] - device_info_plus_platform_interface 2.3.0+1 [flutter meta plugin_platform_interface] - device_info_plus_web 2.1.0 [device_info_plus_platform_interface flutter_web_plugins flutter] - device_info_plus_windows 2.1.1 [device_info_plus_platform_interface ffi flutter win32] - diff_match_patch 0.4.1 - dio 4.0.6 [http_parser path] - dio_cache_interceptor 3.2.7 [dio uuid string_scanner] - dio_cache_interceptor_hive_store 3.1.1 [dio_cache_interceptor hive] - easy_localization 3.0.1 [flutter shared_preferences intl args path easy_logger flutter_localizations] - easy_logger 0.0.2 [flutter] - easy_rich_text 1.0.4 [flutter url_launcher] - equatable 2.0.3 [collection meta] - excel 2.0.0-null-safety-3 [archive xml equatable] - extended_image 6.2.1 [extended_image_library flutter meta] - extended_image_library 3.3.0 [crypto flutter http_client_helper path path_provider] - fake_async 1.3.0 [clock collection] - ffi 1.1.2 - file 6.1.2 [meta path] - file_picker 4.6.1 [flutter flutter_web_plugins flutter_plugin_android_lifecycle plugin_platform_interface ffi path win32] - firebase_auth 3.7.0 [firebase_auth_platform_interface firebase_auth_web firebase_core firebase_core_platform_interface flutter meta] - firebase_auth_dart 1.0.1 [firebase_core_dart firebaseapis googleapis_auth http meta storagebox] - firebase_auth_desktop 1.0.2 [desktop_webview_auth firebase_auth firebase_auth_dart firebase_auth_platform_interface firebase_core firebase_core_dart flutter meta] - firebase_auth_platform_interface 6.6.0 [collection firebase_core flutter meta plugin_platform_interface] - firebase_auth_web 4.3.0 [firebase_auth_platform_interface firebase_core firebase_core_web flutter flutter_web_plugins http_parser intl js meta] - firebase_core 1.21.0 [firebase_core_platform_interface firebase_core_web flutter meta] - firebase_core_dart 1.0.1 [collection meta] - firebase_core_desktop 1.0.2 [firebase_core_dart firebase_core_platform_interface flutter meta] - firebase_core_platform_interface 4.5.1 [collection flutter flutter_test meta plugin_platform_interface] - firebase_core_web 1.7.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta] - firebaseapis 0.1.2 [_discoveryapis_commons http] - fixnum 1.0.0 - flex_color_picker 2.5.0 [flutter material_color_utilities] - flutter_acrylic 1.0.0+2 [flutter] - flutter_colorpicker 1.0.3 [flutter] - flutter_inappwebview 5.4.3+7 [flutter] - flutter_keyboard_visibility 5.3.0 [meta flutter_keyboard_visibility_platform_interface flutter_keyboard_visibility_web 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_localizations 0.0.0 [flutter intl characters clock collection material_color_utilities meta path vector_math] - flutter_mailer 2.0.1 [flutter] - flutter_plugin_android_lifecycle 2.0.5 [flutter] - flutter_quill 5.0.4 [flutter collection flutter_colorpicker flutter_keyboard_visibility image_picker photo_view quiver string_validator tuple url_launcher pedantic video_player characters youtube_player_flutter diff_match_patch i18n_extension gallery_saver device_info_plus platform] - flutter_riverpod 2.0.0-dev.7 [collection flutter meta riverpod state_notifier] - flutter_signin_button 2.0.0 [flutter font_awesome_flutter] - flutter_slidable 1.3.0 [flutter] - flutter_web_plugins 0.0.0 [flutter js characters collection material_color_utilities meta vector_math] - fluttertoast 8.0.9 [flutter flutter_web_plugins] - font_awesome_flutter 9.2.0 [flutter] - frontend_server_client 2.1.2 [async path] - fuzzywuzzy 0.2.0 [collection] - gallery_saver 2.3.2 [flutter path_provider http path] - get_it 7.2.0 [async collection] - gettext_parser 0.2.0 - glob 2.0.2 [async collection file path string_scanner] - google_sign_in 5.4.1 [flutter google_sign_in_android google_sign_in_ios google_sign_in_platform_interface google_sign_in_web] - google_sign_in_android 6.0.1 [flutter google_sign_in_platform_interface] - google_sign_in_ios 5.4.0 [flutter google_sign_in_platform_interface] - google_sign_in_platform_interface 2.2.0 [flutter quiver] - google_sign_in_web 0.10.2 [flutter flutter_web_plugins google_sign_in_platform_interface js] - googleapis_auth 1.3.1 [crypto http http_parser] - graphs 2.1.0 [collection] - hive 2.2.2 [meta crypto] - hive_flutter 1.1.0 [flutter hive path_provider path] - html 0.15.0 [csslib source_span] - html_editor_enhanced 2.5.0 [flutter flutter_inappwebview visibility_detector flutter_keyboard_visibility flex_color_picker file_picker numberpicker pointer_interceptor pedantic meta] - http 0.13.4 [async http_parser meta path] - http_client_helper 2.0.2 [http] - http_multi_server 3.2.0 [async] - http_parser 4.0.0 [charcode collection source_span string_scanner typed_data] - i18n_extension 5.0.0 [sprintf args analyzer gettext_parser equatable intl flutter] - image_picker 0.8.5+3 [flutter image_picker_android image_picker_for_web image_picker_ios image_picker_platform_interface] - image_picker_android 0.8.4+11 [flutter flutter_plugin_android_lifecycle image_picker_platform_interface] - image_picker_for_web 2.1.6 [flutter flutter_web_plugins image_picker_platform_interface] - image_picker_ios 0.8.5 [flutter image_picker_platform_interface] - image_picker_platform_interface 2.4.4 [cross_file flutter http plugin_platform_interface] - infinite_listview 1.1.0 [flutter] - intl 0.17.0 [clock path] - io 1.0.3 [meta path string_scanner] - js 0.6.4 - json_annotation 4.5.0 [meta] - logger 1.1.0 - logging 1.0.2 - mailer 5.2.0 [async logging intl mime path pedantic meta] - matcher 0.12.11 [stack_trace] - material_color_utilities 0.1.4 - meta 1.7.0 - mime 1.0.2 - neopop 1.0.2 [flutter] - nested 1.0.0 [flutter] - numberpicker 2.1.1 [flutter infinite_listview] - open_document 1.0.4 [flutter archive flutter_slidable path_provider_windows share_plus intl url_launcher] - package_config 2.0.2 [path] - package_info_plus 1.4.2 [flutter package_info_plus_platform_interface package_info_plus_linux package_info_plus_macos package_info_plus_windows package_info_plus_web] - 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 1.0.5 [package_info_plus_platform_interface ffi flutter win32] - path_provider 2.0.10 [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.13 [flutter path_provider_platform_interface] - path_provider_ios 2.0.8 [flutter path_provider_platform_interface] - path_provider_linux 2.1.5 [ffi flutter path path_provider_platform_interface xdg_directories] - path_provider_macos 2.0.5 [flutter path_provider_platform_interface] - path_provider_platform_interface 2.0.3 [flutter platform plugin_platform_interface] - path_provider_windows 2.0.5 [ffi flutter path path_provider_platform_interface win32] - pedantic 1.11.1 - petitparser 4.4.0 [meta] - photo_view 0.14.0 [flutter] - pin_code_fields 7.4.0 [flutter] - platform 3.1.0 - plugin_platform_interface 2.1.2 [meta] - pointer_interceptor 0.9.3+2 [flutter] - pool 1.5.0 [async stack_trace] - process 4.2.4 [file path platform] - provider 6.0.3 [collection flutter nested] - pub_semver 2.1.1 [collection meta] - pubspec_parse 1.2.0 [checked_yaml collection json_annotation pub_semver yaml] - quiver 3.1.0 [matcher] - recase 4.0.0 - riverpod 2.0.0-dev.7 [collection meta stack_trace state_notifier] - screen_retriever 0.1.2 [flutter] - scroll_pos 0.3.0 [flutter] - share_plus 3.1.0 [meta mime flutter share_plus_platform_interface share_plus_linux share_plus_macos share_plus_windows share_plus_web] - share_plus_linux 2.0.4 [share_plus_platform_interface file flutter meta url_launcher] - share_plus_macos 2.1.0 [share_plus_platform_interface flutter] - share_plus_platform_interface 2.1.0 [flutter meta mime plugin_platform_interface] - share_plus_web 2.0.4 [share_plus_platform_interface url_launcher flutter flutter_web_plugins meta] - share_plus_windows 2.0.3 [share_plus_platform_interface flutter meta url_launcher] - 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.11 [flutter shared_preferences_platform_interface] - shared_preferences_ios 2.1.0 [flutter shared_preferences_platform_interface] - shared_preferences_linux 2.1.0 [file flutter path path_provider_linux path_provider_platform_interface shared_preferences_platform_interface] - shared_preferences_macos 2.0.3 [flutter shared_preferences_platform_interface] - shared_preferences_platform_interface 2.0.0 [flutter] - shared_preferences_web 2.0.3 [flutter flutter_web_plugins shared_preferences_platform_interface] - shared_preferences_windows 2.1.0 [file flutter path path_provider_platform_interface path_provider_windows shared_preferences_platform_interface] - shelf 1.3.0 [async collection http_parser path stack_trace stream_channel] - shelf_web_socket 1.0.1 [shelf stream_channel web_socket_channel] - skeletons 0.0.3 [flutter] - sky_engine 0.0.99 - source_gen 1.2.2 [analyzer async build dart_style glob meta path source_span yaml] - source_helper 1.3.2 [analyzer collection source_gen] - source_span 1.8.2 [collection path term_glyph] - sprintf 6.0.0 - ss_client_model 1.0.0+1 [flutter cupertino_icons hive hive_flutter ss_client ss_shared_model] - ss_module_utils 1.0.0+1 [flutter cupertino_icons] - ss_nestjs_client 1.0.0+1 [chopper cupertino_icons desktop_webview_auth firebase_auth flutter_signin_button firebase_auth_desktop firebase_core firebase_core_desktop google_sign_in flutter intl json_annotation logger shared_preferences ss_shared_model] - ss_shared_model 1.0.0+1 [cupertino_icons intl uuid] - stack_trace 1.10.0 [path] - state_notifier 0.7.2+1 [meta] - storagebox 0.1.0+3 [collection meta path xdg_directories] - stream_channel 2.1.0 [async] - stream_transform 2.0.0 - string_scanner 1.1.0 [charcode source_span] - string_validator 0.3.0 - super_tooltip 1.0.1 [flutter] - term_glyph 1.2.0 - test_api 0.4.9 [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.0 [quiver] - typed_data 1.3.0 [collection] - universal_html 2.0.8 [async csslib charcode collection html meta source_span typed_data universal_io] - universal_io 2.0.4 [collection crypto meta typed_data] - url_launcher_android 6.0.16 [flutter url_launcher_platform_interface] - url_launcher_ios 6.0.15 [flutter url_launcher_platform_interface] - url_launcher_linux 3.0.0 [flutter url_launcher_platform_interface] - url_launcher_macos 3.0.0 [flutter url_launcher_platform_interface] - url_launcher_platform_interface 2.0.5 [flutter plugin_platform_interface] - url_launcher_web 2.0.9 [flutter flutter_web_plugins url_launcher_platform_interface] - url_launcher_windows 3.0.0 [flutter url_launcher_platform_interface] - uuid 3.0.6 [crypto] - vector_math 2.1.2 - video_player 2.4.5 [flutter html video_player_android video_player_avfoundation video_player_platform_interface video_player_web] - video_player_android 2.3.6 [flutter video_player_platform_interface] - video_player_avfoundation 2.3.5 [flutter video_player_platform_interface] - video_player_platform_interface 5.1.3 [flutter plugin_platform_interface] - video_player_web 2.0.10 [flutter flutter_web_plugins video_player_platform_interface] - visibility_detector 0.3.3 [flutter] - watcher 1.0.1 [async path] - web_socket_channel 2.2.0 [async crypto stream_channel] - win32 2.5.2 [ffi] - window_manager 0.2.5 [flutter path screen_retriever] - wiredash 0.7.1 [file flutter http http_parser path_provider shared_preferences] - xdg_directories 0.2.0+1 [meta path process] - xml 5.3.1 [collection meta petitparser] - yaml 3.1.0 [collection source_span string_scanner] - youtube_player_flutter 8.1.0 [flutter flutter_inappwebview] ```

SalihCanBinboga commented 2 years ago

I have same issue. -[__NSCFBoolean objectForKey:]: unrecognized selector sent to instance

Versions: firebase_core: ^1.21.1 firebase_auth: ^3.7.0 Flutter 3.0.5 Dart SDK version: 2.17.1 (stable)

darshankawar commented 2 years ago

@anandsubbu007 @SalihCanBinboga Did it work before ? I am not sure if GoogleAuthProvider.credential is supported on macOS yet, as I don't see macOS as the listed platform here: https://firebase.google.com/docs/auth/flutter/federated-auth#google

SalihCanBinboga commented 2 years ago

@darshankawar I am getting below error when using verifyPhoneNumber function.

Error: -[__NSCFBoolean objectForKey:]: unrecognized selector sent to instance

and not sending OTP code

Exception Details

google-oss-bot commented 2 years ago

Hey @anandsubbu007. 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 commented 2 years ago

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

@anandsubbu007 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.