firebase / FirebaseUI-Flutter

Apache License 2.0
91 stars 79 forks source link

fix(firebase_ui_auth): actionsBeforeDelete callback #279

Open khanliKU opened 4 months ago

khanliKU commented 4 months ago

Description

Add actionsBeforeDelete callback to ProfileScreen and DeleteAccountButton

Related Issues

N/A

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

khanliKU commented 4 months ago

I wanted to provide some additional context: In my application, I needed to perform some cleanup work after the user accepted the "delete user" dialog. I wanted to ensure that all user records were cleared in the Firestore database, so I added an actionBeforeDelete callback. I wanted to share it with the community.

khanliKU commented 1 month ago

I am waiting for this to be merged.