Prebuilt Delete Account Screen
You have prebuilt delete account screen with custom radio buttons.
Result:
You can customize the screen with your own design.
Path:
/app/(auth)/settings/delete-account.tsx1
For changing the button texts, you should go
/data/DeleteAccount.ts2
You will see
DeleteAccountReasons array.3
If you want to change or add new buttons, you must go
/i18n/locales/<language>/translation.json4
Find the
settings.deleteAccount.reasons object.5
Add the new reason to the
reasons array.6
The last step, you need to implement your own logic for deleting the account.
Everything will be working automatically. You’re done.
