You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
burakson
changed the title
Enable push notifications after disabling
Re-enable push notifications
Dec 20, 2023
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.
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 callingsetEmail
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.
The text was updated successfully, but these errors were encountered: