Skip to content

Re-enable push notifications #528

Open

Description

@burakson

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.

Activity

  1. changed the title [-]Enable push notifications after disabling[/-] [+]Re-enable push notifications[/+] on Dec 20, 2023
  2. davidtruong commented on Jan 24, 2024

    @davidtruong

    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.

  3. ecroce commented on Jan 16, 2026

    @ecroce

    Hello, any updates on this? Users controlling their push notifications is a pretty standard practice, and there seems to be no easy way to re-enable after disabling.

  4. lposen commented on Jan 23, 2026

    @lposen
    Contributor

    Hi @ecroce,

    We have cut a ticket for the request internally. Thanks for following up. We will follow up with any relevant updates in this thread.

    In the meantime, calling setEmail when autoPushRegisteration is true should have the same effect, as it calls registerDeviceToken.

  5. StephenAchieve commented on Feb 2, 2026

    @StephenAchieve

    We ran into this issue as-well. You may need to end up specifying the env

    config.pushPlatform = ENV === PRODUCTION ? IterablePushPlatform.production : IterablePushPlatform.sandbox

    or the send might silently fail and your user might be registered as uninstalled when its not.... very frustrating.... this should be added to the installation docs

  6. ecroce commented on Feb 4, 2026

    @ecroce

    We ran into this issue as-well. You may need to end up specifying the env

    config.pushPlatform = ENV === PRODUCTION ? IterablePushPlatform.production : IterablePushPlatform.sandbox

    or the send might silently fail and your user might be registered as uninstalled when its not.... very frustrating.... this should be added to the installation docs

    This ended up fixing it for me, also force setting autoPushRegistration = true even though that's supposed to be the default.

  7. added a commit that references this issue on Apr 7, 2026
    8ce8f94
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions