-
Notifications
You must be signed in to change notification settings - Fork 232
Open
Labels
Description
What happened?
When calling OneSignal.User.removeEmail("[email protected]");
, the email is not removed from OneSignal.
Steps to reproduce?
1. Install `5.3.4` of the Flutter SDK
2. Initialize OneSignal
OneSignal.Debug.setLogLevel(OSLogLevel.none);
OneSignal.Debug.setAlertLevel(OSLogLevel.none);
OneSignal.initialize(Env.oneSignalAppId);
3. Add Email with `OneSignal.User.addEmail("[email protected]");`
4. Try to remove the email with `OneSignal.User.removeEmail("[email protected]");`
Please note: I am not logging the user out before removing the email. This happens on a logged in user. The result is just nothing. No error, no result.
This is critical for us to be GDPR compliant. When a user deletes their account, we have to delete their data, also from other services. I don't want to write a backend integration if the SDK did and should provide this functionality.
What did you expect to happen?
The email should be removed from OneSignal
OneSignal Flutter SDK version
5.3.4
Which platform(s) are affected?
- iOS
- Android
Relevant log output
Code of Conduct
- I agree to follow this project's Code of Conduct