Closed Sormox closed 3 years ago
The latest version of the package does have this method. The version you are using is over a year old and heavily outdated. There has been a major rework and a lot of improvements since then.
I would recommend you upgrade to the latest flutter stable 2.2.2
and latest versions of the firebase plugins you are using.
Bug report
Hello the updateProfile is undefined when I want tp update username under currentUser ?
Steps to reproduce
i see an old issue they say "It seems UserUpdateInfo() has been deprecated for UserInfo()" https://github.com/FirebaseExtended/flutterfire/issues/3393
Expected behavior
My code
Sample project
Null
Additional context
I use in pubspec.yaml
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, 1.20.4, on Microsoft Windows [Version 10.0.18363.1139], locale en-US) [√] Android toolchain - develop for Android devices (Android SDK version 30.0.3) [√] Android Studio (version 4.0) [√] Connected device (1 available) • No issues found! ```Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
``` Dart SDK 2.9.2 Flutter SDK 1.20.4 parking_app 1.0.0+1 dependencies: - animated_text_kit 1.3.1 [flutter] - cloud_firestore 0.13.7 [flutter meta firebase_core cloud_fir estore_platform_interface cloud_firestore_web] - cupertino_icons 0.1.3 - firebase_auth 0.16.1 [meta firebase_core firebase_auth_platf orm_interface firebase_auth_web flutter] - firebase_core 0.4.5 [firebase_core_platform_interface flutte r meta firebase_core_web] - flutter 0.0.0 [characters collection meta typed_data vector_ math sky_engine] - modal_progress_hud 0.1.3 [flutter] dev dependencies: - flutter_test 0.0.0 [flutter test_api path fake_async clock s tack_trace vector_math async boolean_selector characters charc ode collection matcher meta source_span stream_channel string_ scanner term_glyph typed_data] transitive dependencies: - async 2.4.2 [collection] - boolean_selector 2.0.0 [source_span string_scanner] - characters 1.0.0 - charcode 1.1.3 - clock 1.0.1 [meta] - cloud_firestore_platform_interface 1.1.2 [flutter meta colle ction firebase_core plugin_platform_interface] - cloud_firestore_web 0.1.1+2 [flutter flutter_web_plugins fir ebase http_parser meta firebase_core cloud_firestore_platform_ interface js] - collection 1.14.13 - fake_async 1.1.0 [clock collection] - firebase 7.3.3 [http http_parser js] - firebase_auth_platform_interface 1.1.8 [flutter meta plugin_ platform_interface] - firebase_auth_web 0.1.3+1 [firebase_auth_platform_interface flutter flutter_web_plugins firebase http_parser meta js] - firebase_core_platform_interface 1.0.4 [flutter meta plugin_ platform_interface quiver] - firebase_core_web 0.1.1+2 [firebase firebase_core_platform_i nterface flutter flutter_web_plugins meta js] - flutter_web_plugins 0.0.0 [flutter characters collection met a typed_data vector_math] - http 0.12.2 [http_parser path pedantic] - http_parser 3.1.4 [charcode collection source_span string_sc anner typed_data] - js 0.6.2 - matcher 0.12.8 [stack_trace] - meta 1.1.8 - path 1.7.0 - pedantic 1.9.0 - plugin_platform_interface 1.0.3 [meta] - quiver 2.1.5 [matcher meta] - sky_engine 0.0.99 - source_span 1.7.0 [charcode collection meta path term_glyph] - stack_trace 1.9.5 [path] - stream_channel 2.0.0 [async] - string_scanner 1.0.5 [charcode meta source_span] - term_glyph 1.1.0 - test_api 0.2.17 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_gl yph matcher] - typed_data 1.2.0 [collection] - vector_math 2.0.8 ```