Re-enable push notifications
We would like to allow users to disable and enable their push notifications from our application. Disabling push notifications for specific device works fine with disableDeviceForCurrentUser. However, there is no equivalent to re-enable the device.
We do have autoPushRegisteration: true in the configuration but calling setEmail when the user re-enables push notifications does not seem to do the job. Can you please tell us how this could be achieved?
In the Rest API documentation, POST /api/users/registerDeviceToken seems to be the way to go but we can't see this method being exposed in this sdk.
Thanks.
Thanks for bubbling this up, it looks as though only disableDeviceForCurrentUser is exposed in the RN bridge. We'll get a ticket logged to exposing that function on RN.