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.
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: truein the configuration but callingsetEmailwhen 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/registerDeviceTokenseems to be the way to go but we can't see this method being exposed in this sdk.Thanks.