Onesignal-ios-sdk: OneSignal.logoutEmail() is not removing user's e-mail

Created on 16 Oct 2020  路  3Comments  路  Source: OneSignal/OneSignal-iOS-SDK

Description:
OneSignal.logoutEmail() is not removing user's e-mail.

Environment
Xcode 12.0.1
iOS 14
OneSignal via Cocoapods (2.15.13)

Steps to Reproduce Issue:

  1. Add an e-mail to the current user using OneSignal.setEmail("[email protected]")
  2. Check on OneSignal dashboard that the e-mail is set to the user.
  3. Remove user's e-mail on logout calling OneSignal.logoutEmail()
  4. Check on OneSignal dashboard that the e-mail was not removed

Logs:
I added OSEmailSubscriptionObserver and everything looks fine according to logs, but user's e-mail is not removed.

On OneSignal.setEmail("[email protected]"):
E-mail subscription state from: E-mail subscription state to:

On OneSignal.logoutEmail():
E-mail subscription state from: E-mail subscription state to:

But on OneSignal dashboard, user's e-mail is not removed.

Possible Bug

Most helpful comment

Howdy @brunodelgado ,
Thanks for reporting this again.

This issue should now be resolved. Please let us know if you still encounter issues.

Enjoy!

All 3 comments

I did the same step you did on OneSignal/react-native-onesignal#1001 but it doesn't remove the e-mail.
I'm subscribed on these two issue to keep me updated.

Thanks for now!

Howdy @brunodelgado ,
Thanks for reporting this again.

This issue should now be resolved. Please let us know if you still encounter issues.

Enjoy!

Was this page helpful?
0 / 5 - 0 ratings