OneSignal/react-onesignal

logoutEmail() should probably return a promise

statico opened this issue · 1 comments

Right now it returns void, but clearly there's a network request happening. Chrome is showing me an uncaught exception when there's an error with the call. It would be nice to be able to catch this in my own code.

CleanShot 2021-11-09 at 13 56 22

Howdy,
Thanks for reporting. You are right, this should return a promise.

Thanks for your patience while we resolve.