Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable push notifications #528

Open
burakson opened this issue Dec 20, 2023 · 1 comment
Open

Re-enable push notifications #528

burakson opened this issue Dec 20, 2023 · 1 comment

Comments

@burakson
Copy link

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.

@burakson burakson changed the title Enable push notifications after disabling Re-enable push notifications Dec 20, 2023
@davidtruong
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants