Skip to content

Give Firebase UI action for delete account #136

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

Closed
1 task done
ErR0rpj opened this issue Oct 11, 2023 · 1 comment · Fixed by #172
Closed
1 task done

Give Firebase UI action for delete account #136

ErR0rpj opened this issue Oct 11, 2023 · 1 comment · Fixed by #172
Assignees
Labels
auth enhancement New feature or request

Comments

@ErR0rpj
Copy link

ErR0rpj commented Oct 11, 2023

Is there an existing issue for this?

  • I have searched the existing issues and found no duplicates.

What plugin is this bug for?

Firebase UI Auth

What platform(s) does this bug affect?

Android, iOS, Web, macOS, Linux, Windows

List of dependencies used.

flutter pub deps -s list
  Dart SDK 3.1.3
Flutter SDK 3.13.6
ecommerce_major_project 1.0.0+1   

dependencies:

  • flutter 0.0.0
    • characters 1.3.0
    • collection 1.17.2
    • material_color_utilities 0.5.0
    • meta 1.9.1
    • vector_math 2.1.4
    • web 0.1.4-beta
    • sky_engine any
  • cupertino_icons 1.0.6
  • http 1.1.0
    • async ^2.5.0
    • http_parser ^4.0.0
    • meta ^1.3.0
  • provider 6.0.5
    • collection ^1.15.0
    • flutter any
    • nested ^1.0.0
  • flutter_riverpod 2.4.3
    • collection ^1.15.0
    • flutter any
    • meta ^1.4.0
    • riverpod ^2.4.3
    • state_notifier >=0.7.2 <2.0.0
  • shared_preferences 2.2.1
    • flutter any
    • shared_preferences_android ^2.1.0
    • shared_preferences_foundation ^2.2.0
    • shared_preferences_linux ^2.2.0
    • shared_preferences_platform_interface ^2.3.0
    • shared_preferences_web ^2.1.0
    • shared_preferences_windows ^2.2.0
  • badges 3.1.2
    • flutter any
  • carousel_slider 4.2.1
    • flutter any
  • dotted_border 2.0.0+3
    • flutter any
    • path_drawing ^1.0.0
  • file_picker 5.5.0
    • flutter any
    • flutter_web_plugins any
    • flutter_plugin_android_lifecycle ^2.0.9
    • plugin_platform_interface ^2.1.4
    • ffi ^2.0.1
    • path ^1.8.2
    • win32 ^5.0.2
  • cloudinary_public 0.21.0
    • flutter any
    • dio ^5.1.1
  • flutter_rating_bar 4.0.1
    • flutter any
  • pay 1.1.2
    • flutter any
    • flutter_localizations any
    • pay_android ^1.0.11
    • pay_ios ^1.0.9
    • pay_platform_interface ^1.0.3
    • meta ^1.3.0
  • intl 0.18.1
    • clock ^1.1.0
    • meta ^1.0.2
    • path ^1.8.0
  • fl_chart 0.63.0
    • equatable ^2.0.5
    • flutter any
  • flutter_svg 2.0.7
    • flutter any
    • vector_graphics ^1.1.7
    • vector_graphics_codec ^1.1.7
    • vector_graphics_compiler ^1.1.7
  • google_fonts 4.0.5
    • flutter any
    • http ^1.0.0
    • path_provider ^2.0.0
    • crypto ^3.0.0
  • speech_to_text 6.3.0
    • flutter any
    • speech_to_text_platform_interface ^2.1.0
    • speech_to_text_macos ^1.0.2
    • json_annotation ^4.0.0
    • clock ^1.0.1
    • pedantic ^1.9.2
    • flutter_web_plugins any
    • meta ^1.1.7
    • js ^0.6.3
  • image_picker 1.0.4
    • flutter any
    • image_picker_android ^0.8.7
    • image_picker_for_web >=2.2.0 <4.0.0
    • image_picker_ios ^0.8.8
    • image_picker_linux ^0.2.1
    • image_picker_macos ^0.2.1
    • image_picker_platform_interface ^2.8.0
    • image_picker_windows ^0.2.1
  • flutter_launcher_icons 0.13.1
    • args ^2.3.2
    • checked_yaml ^2.0.2
    • cli_util ^0.4.0
    • image ^4.0.15
    • json_annotation ^4.8.0
    • path ^1.8.2
    • yaml ^3.1.1
  • razorpay_flutter 1.3.5
    • flutter any
    • eventify ^1.0.0
    • fluttertoast ^8.0.7
    • package_info_plus ^4.0.1
  • flutter_slidable 3.0.0
    • flutter any
  • iconly 1.0.1
    • flutter any
  • firebase_auth 4.10.1
    • firebase_auth_platform_interface ^6.19.1
    • firebase_auth_web ^5.8.2
    • firebase_core ^2.17.0
    • firebase_core_platform_interface ^4.8.0
    • flutter any
    • meta ^1.8.0
  • firebase_ui_auth 1.8.0
    • email_validator ^2.1.17
    • firebase_auth ^4.9.0
    • firebase_core ^2.15.1
    • firebase_dynamic_links ^5.3.4
    • firebase_ui_localizations ^1.6.1
    • firebase_ui_oauth ^1.4.11
    • firebase_ui_shared ^1.3.1
    • flutter any
    • flutter_localizations any
  • firebase_core 2.17.0
    • firebase_core_platform_interface ^4.8.0
    • firebase_core_web ^2.8.0
    • flutter any
    • meta ^1.8.0
  • google_sign_in 6.1.5
    • flutter any
    • google_sign_in_android ^6.1.0
    • google_sign_in_ios ^5.5.0
    • google_sign_in_platform_interface ^2.4.0
    • google_sign_in_web ^0.12.0
  • firebase_ui_oauth_google 1.2.11
    • firebase_auth ^4.9.0
    • firebase_ui_oauth ^1.4.11
    • flutter any
    • google_sign_in ^6.1.0

dev dependencies:

  • flutter_test 0.0.0
    • flutter any
    • test_api 0.6.0
    • matcher 0.12.16
    • path 1.8.3
    • fake_async 1.3.1
    • clock 1.1.1
    • stack_trace 1.11.0
    • vector_math 2.1.4
    • async 2.11.0
    • boolean_selector 2.1.1
    • characters 1.3.0
    • collection 1.17.2
    • material_color_utilities 0.5.0
    • meta 1.9.1
    • source_span 1.10.0
    • stream_channel 2.1.1
    • string_scanner 1.2.0
    • term_glyph 1.2.1
    • web 0.1.4-beta
  • flutter_lints 2.0.3
    • lints ^2.0.0

transitive dependencies:

  • _fe_analyzer_shared 61.0.0
    • meta ^1.0.2
  • _flutterfire_internals 1.3.7
    • collection ^1.0.0
    • firebase_core ^2.17.0
    • firebase_core_platform_interface ^4.8.0
    • flutter any
    • meta ^1.8.0
  • analyzer 5.13.0
    • _fe_analyzer_shared ^61.0.0
    • collection ^1.17.0
    • convert ^3.0.0
    • crypto ^3.0.0
    • glob ^2.0.0
    • meta ^1.7.0
    • package_config ^2.0.0
    • path ^1.8.0
    • pub_semver ^2.0.0
    • source_span ^1.8.0
    • watcher ^1.0.0
    • yaml ^3.0.0
  • archive 3.3.9
    • crypto ^3.0.0
    • path ^1.8.0
    • pointycastle ^3.6.2
  • args 2.4.2
  • async 2.11.0
    • collection ^1.15.0
    • meta ^1.1.7
  • boolean_selector 2.1.1
    • source_span ^1.8.0
    • string_scanner ^1.1.0
  • characters 1.3.0
  • checked_yaml 2.0.3
    • json_annotation ^4.3.0
    • source_span ^1.8.0
    • yaml ^3.0.0
  • cli_util 0.4.0
    • meta ^1.3.0
    • path ^1.8.0
  • clock 1.1.1
  • collection 1.17.2
  • convert 3.1.1
    • typed_data ^1.3.0
  • cross_file 0.3.3+5
    • js ^0.6.3
    • meta ^1.3.0
  • crypto 3.0.3
    • typed_data ^1.3.0
  • desktop_webview_auth 0.0.13
    • crypto ^3.0.3
    • flutter any
    • http ^1.0.0
    • flutter_web_plugins any
    • plugin_platform_interface ^2.1.4
  • dio 5.3.2
    • async ^2.8.2
    • http_parser ^4.0.0
    • meta ^1.5.0
    • path ^1.8.0
  • email_validator 2.1.17
  • equatable 2.0.5
    • collection ^1.15.0
    • meta ^1.3.0
  • eventify 1.0.1
  • fake_async 1.3.1
    • clock ^1.1.0
    • collection ^1.15.0
  • ffi 2.1.0
  • file 6.1.4
    • meta ^1.3.0
    • path ^1.8.0
  • file_selector_linux 0.9.2+1
    • cross_file ^0.3.1
    • file_selector_platform_interface ^2.6.0
    • flutter any
  • file_selector_macos 0.9.3+3
    • cross_file ^0.3.1
    • file_selector_platform_interface ^2.6.0
    • flutter any
  • file_selector_platform_interface 2.6.1
    • cross_file ^0.3.0
    • flutter any
    • http >=0.13.0 <2.0.0
    • plugin_platform_interface ^2.1.0
  • file_selector_windows 0.9.3+1
    • cross_file ^0.3.1
    • file_selector_platform_interface ^2.6.0
    • flutter any
  • firebase_auth_platform_interface 6.19.1
    • _flutterfire_internals ^1.3.7
    • collection ^1.16.0
    • firebase_core ^2.17.0
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_auth_web 5.8.2
    • firebase_auth_platform_interface ^6.19.1
    • firebase_core ^2.17.0
    • firebase_core_web ^2.8.0
    • flutter any
    • flutter_web_plugins any
    • http_parser ^4.0.0
    • js ^0.6.3
    • meta ^1.8.0
  • firebase_core_platform_interface 4.8.0
    • collection ^1.0.0
    • flutter any
    • flutter_test any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_core_web 2.8.0
    • firebase_core_platform_interface ^4.8.0
    • flutter any
    • flutter_web_plugins any
    • js ^0.6.3
    • meta ^1.8.0
  • firebase_dynamic_links 5.3.7
    • firebase_core ^2.17.0
    • firebase_core_platform_interface ^4.8.0
    • firebase_dynamic_links_platform_interface ^0.2.6+7
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_dynamic_links_platform_interface 0.2.6+7
    • _flutterfire_internals ^1.3.7
    • firebase_core ^2.17.0
    • flutter any
    • meta ^1.8.0
    • plugin_platform_interface ^2.1.3
  • firebase_ui_localizations 1.6.1
    • flutter any
    • flutter_localizations any
    • path ^1.8.2
  • firebase_ui_oauth 1.4.11
    • desktop_webview_auth ^0.0.13
    • firebase_auth ^4.9.0
    • firebase_ui_auth ^1.8.0
    • firebase_ui_shared ^1.3.1
    • flutter_svg ^2.0.7
    • flutter any
  • firebase_ui_shared 1.3.1
    • flutter any
  • flutter_localizations 0.0.0
    • flutter any
    • intl 0.18.1
    • characters 1.3.0
    • clock 1.1.1
    • collection 1.17.2
    • material_color_utilities 0.5.0
    • meta 1.9.1
    • path 1.8.3
    • vector_math 2.1.4
    • web 0.1.4-beta
  • flutter_plugin_android_lifecycle 2.0.16
    • flutter any
  • flutter_web_plugins 0.0.0
    • flutter any
    • characters 1.3.0
    • collection 1.17.2
    • material_color_utilities 0.5.0
    • meta 1.9.1
    • vector_math 2.1.4
    • web 0.1.4-beta
  • fluttertoast 8.2.2
    • flutter any
    • flutter_web_plugins any
  • glob 2.1.2
    • async ^2.5.0
    • collection ^1.15.0
    • file >=6.1.3 <8.0.0
    • path ^1.8.0
    • string_scanner ^1.1.0
  • google_identity_services_web 0.2.1+1
    • js ^0.6.4
    • meta ^1.3.0
  • google_sign_in_android 6.1.20
    • flutter any
    • google_sign_in_platform_interface ^2.2.0
  • google_sign_in_ios 5.6.4
    • flutter any
    • google_sign_in_platform_interface ^2.2.0
    • pigeon ^11.0.1
  • google_sign_in_platform_interface 2.4.2
    • flutter any
    • plugin_platform_interface ^2.1.0
    • quiver ^3.0.0
  • google_sign_in_web 0.12.0+5
    • flutter any
    • flutter_web_plugins any
    • google_identity_services_web ^0.2.1
    • google_sign_in_platform_interface ^2.4.0
    • http >=0.13.0 <2.0.0
    • js ^0.6.3
  • http_parser 4.0.2
    • collection ^1.15.0
    • source_span ^1.8.0
    • string_scanner ^1.1.0
    • typed_data ^1.3.0
  • image 4.0.17
    • archive ^3.1.2
    • meta ^1.3.0
    • xml ^6.0.1
  • image_picker_android 0.8.8
    • flutter any
    • flutter_plugin_android_lifecycle ^2.0.1
    • image_picker_platform_interface ^2.8.0
  • image_picker_for_web 3.0.1
    • flutter any
    • flutter_web_plugins any
    • image_picker_platform_interface ^2.9.0
    • mime ^1.0.4
  • image_picker_ios 0.8.8+2
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • image_picker_linux 0.2.1+1
    • file_selector_linux ^0.9.1+3
    • file_selector_platform_interface ^2.2.0
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • image_picker_macos 0.2.1+1
    • file_selector_macos ^0.9.1+1
    • file_selector_platform_interface ^2.3.0
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • image_picker_platform_interface 2.9.1
    • cross_file ^0.3.1+1
    • flutter any
    • http >=0.13.0 <2.0.0
    • plugin_platform_interface ^2.1.0
  • image_picker_windows 0.2.1+1
    • file_selector_platform_interface ^2.2.0
    • file_selector_windows ^0.9.0
    • flutter any
    • image_picker_platform_interface ^2.8.0
  • js 0.6.7
    • meta ^1.7.0
  • json_annotation 4.8.1
    • meta ^1.4.0
  • lints 2.1.1
  • matcher 0.12.16
    • async ^2.10.0
    • meta ^1.8.0
    • stack_trace ^1.10.0
    • term_glyph ^1.2.0
    • test_api >=0.5.0 <0.7.0
  • material_color_utilities 0.5.0
    • collection ^1.15.0
  • meta 1.9.1
  • mime 1.0.4
  • nested 1.0.0
    • flutter any
  • package_config 2.1.0
    • path ^1.8.0
  • package_info_plus 4.1.0
    • ffi ^2.0.1
    • flutter any
    • flutter_web_plugins any
    • http >=0.13.5 <2.0.0
    • meta ^1.8.0
    • path ^1.8.2
    • package_info_plus_platform_interface ^2.0.1
    • win32 >=4.0.0 <6.0.0
  • package_info_plus_platform_interface 2.0.1
    • flutter any
    • meta ^1.3.0
    • plugin_platform_interface ^2.0.0
  • path 1.8.3
  • path_drawing 1.0.1
    • vector_math ^2.1.0
    • meta ^1.3.0
    • path_parsing ^1.0.1
    • flutter any
  • path_parsing 1.0.1
    • vector_math ^2.1.0
    • meta ^1.3.0
  • path_provider 2.1.1
    • flutter any
    • path_provider_android ^2.1.0
    • path_provider_foundation ^2.3.0
    • path_provider_linux ^2.2.0
    • path_provider_platform_interface ^2.1.0
    • path_provider_windows ^2.2.0
  • path_provider_android 2.2.0
    • flutter any
    • path_provider_platform_interface ^2.1.0
  • path_provider_foundation 2.3.1
    • flutter any
    • path_provider_platform_interface ^2.1.0
  • path_provider_linux 2.2.1
    • ffi >=1.1.2 <3.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_platform_interface ^2.1.0
    • xdg_directories >=0.2.0 <2.0.0
  • path_provider_platform_interface 2.1.1
    • flutter any
    • platform ^3.0.0
    • plugin_platform_interface ^2.1.0
  • path_provider_windows 2.2.1
    • ffi ^2.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_platform_interface ^2.1.0
    • win32 >=2.1.0 <6.0.0
  • pay_android 1.0.11
    • flutter any
    • flutter_localizations any
    • pay_platform_interface ^1.0.3
    • flutter_svg ^2.0.5
  • pay_ios 1.0.9
    • flutter any
    • pay_platform_interface ^1.0.3
  • pay_platform_interface 1.0.3
    • flutter any
    • yaml ^3.1.0
  • pedantic 1.11.1
  • petitparser 5.4.0
    • meta ^1.9.0
  • pigeon 11.0.1
    • analyzer ^5.13.0
    • args ^2.1.0
    • collection ^1.15.0
    • meta ^1.7.0
    • path ^1.8.0
    • yaml ^3.1.1
  • platform 3.1.2
  • plugin_platform_interface 2.1.6
    • meta ^1.3.0
  • pointycastle 3.7.3
    • collection ^1.15.0
    • convert ^3.0.0
    • js ^0.6.3
  • pub_semver 2.1.4
    • collection ^1.15.0
    • meta ^1.3.0
  • quiver 3.2.1
    • matcher ^0.12.10
  • riverpod 2.4.3
    • meta ^1.9.0
    • stack_trace ^1.10.0
    • state_notifier >=0.7.2 <2.0.0
  • shared_preferences_android 2.2.1
    • flutter any
    • shared_preferences_platform_interface ^2.3.0
  • shared_preferences_foundation 2.3.4
    • flutter any
    • shared_preferences_platform_interface ^2.3.0
  • shared_preferences_linux 2.3.1
    • file ^6.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_linux ^2.0.0
    • path_provider_platform_interface ^2.0.0
    • shared_preferences_platform_interface ^2.3.0
  • shared_preferences_platform_interface 2.3.1
    • flutter any
    • plugin_platform_interface ^2.1.0
  • shared_preferences_web 2.2.1
    • flutter any
    • flutter_web_plugins any
    • shared_preferences_platform_interface ^2.3.0
  • shared_preferences_windows 2.3.1
    • file ^6.0.0
    • flutter any
    • path ^1.8.0
    • path_provider_platform_interface ^2.0.0
    • path_provider_windows ^2.0.0
    • shared_preferences_platform_interface ^2.3.0
  • sky_engine 0.0.99
  • source_span 1.10.0
    • collection ^1.15.0
    • path ^1.8.0
    • term_glyph ^1.2.0
  • speech_to_text_macos 1.0.2
    • flutter any
    • plugin_platform_interface ^2.0.2
    • speech_to_text_platform_interface ^2.0.1
  • speech_to_text_platform_interface 2.1.0
    • flutter any
    • meta ^1.3.0
    • plugin_platform_interface ^2.1.4
  • stack_trace 1.11.0
    • path ^1.8.0
  • state_notifier 1.0.0
    • meta ^1.1.8
  • stream_channel 2.1.1
    • async ^2.5.0
  • string_scanner 1.2.0
    • source_span ^1.8.0
  • term_glyph 1.2.1
  • test_api 0.6.0
    • async ^2.5.0
    • boolean_selector ^2.1.0
    • collection ^1.15.0
    • meta ^1.3.0
    • source_span ^1.8.0
    • stack_trace ^1.10.0
    • stream_channel ^2.1.0
    • string_scanner ^1.1.0
    • term_glyph ^1.2.0
  • typed_data 1.3.2
    • collection ^1.15.0
  • vector_graphics 1.1.7
    • flutter any
    • vector_graphics_codec 1.1.7
  • vector_graphics_codec 1.1.7
  • vector_graphics_compiler 1.1.7
    • args ^2.3.0
    • meta ^1.7.0
    • path_parsing ^1.0.1
    • xml ^6.3.0
    • vector_graphics_codec 1.1.7
  • vector_math 2.1.4
  • watcher 1.1.0
    • async ^2.5.0
    • path ^1.8.0
  • web 0.1.4-beta
  • win32 5.0.8
    • ffi ^2.1.0
  • xdg_directories 1.0.3
    • meta ^1.3.0
    • path ^1.8.0
  • xml 6.3.0
    • collection ^1.17.0
    • meta ^1.9.0
    • petitparser ^5.4.0
  • yaml 3.1.2
    • collection ^1.15.0
    • source_span ^1.8.0
    • string_scanner ^1.1.0

Steps to reproduce

  1. Install flutter UI auth package.
  2. Use firebase ProfileScreen widget
  3. Try to delete the account from that screen. (For this function, no firebase UI action is provided which can also help us delete the account data from database.)

Expected Behavior

Whenever we delete the account in profile section in firebase UI auth. It deletes the account from firebase but doesn't gives an action to delete the account from our database. We want to delete the account from our database. So, please provide the action to delete the account from the database. Also, delete account function doesnt give any callback specifying that the user is successfully deleted so that we can perform further actions.

Actual Behavior

When we delete the account it deletes from firebase but doesnt give any function (action) which we can call to delete the user data from the database which we are using. Also, delete account function doesnt give any callback specifying that the user is successfully deleted so that we can perform further actions.

Additional Information

No response

@ErR0rpj ErR0rpj changed the title Give Firebase UI action for display name & delete account Give Firebase UI action for delete account Oct 11, 2023
@Hirdesh2101
Copy link

Yes, a similar action is required when editing the display name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants