Skip to content
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

[WIP] feat(user_account): added user account deletion feature #423

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

ghost
Copy link

@ghost ghost commented Oct 17, 2023

No description provided.

@ghost ghost requested review from BamMironov, anq83 and vmkhitaryanscn October 17, 2023 08:25
import { Alert } from 'react-native';

export function onDeleteAccount(onConfirm: () => void) {
return new Promise(resolve => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to create or use Promises here

}

export function onDeleteAccountConfirmed() {
return new Promise(resolve => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And here also

'Account Deletion Request Has Been Sent',
`Account Deletion takes up to 24 hours.\n\n
During this time, you will be logged out, and access to your account will be blocked.\n\n
If you change your mind please contact us
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't forget to specify translation keys throughout the solution

@ghost ghost force-pushed the m2-2802_add-account-deletion-option branch from 76dd2ba to 6a30f56 Compare October 25, 2023 16:06
@ghost ghost force-pushed the m2-2802_add-account-deletion-option branch from 6a30f56 to 46106bb Compare October 26, 2023 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant