Skip to content

Add method to re-enable push notifications after disabling#848

Closed
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:feat/528-re-enable-push-notifications
Closed

Add method to re-enable push notifications after disabling#848
franco-zalamena-iterable wants to merge 1 commit intoIterable:masterfrom
franco-zalamena-iterable:feat/528-re-enable-push-notifications

Conversation

@franco-zalamena-iterable
Copy link
Copy Markdown

@franco-zalamena-iterable franco-zalamena-iterable commented Apr 7, 2026

Summary

  • Add registerForPush() method to re-enable push notifications after calling disableDeviceForCurrentUser()
  • Implemented across all layers: TypeScript interface, native bridge (iOS and Android), both old and new architecture
  • Complements existing disableDeviceForCurrentUser() method

Test plan

  • Call disableDeviceForCurrentUser(), then call registerForPush(), verify push notifications work again
  • Verify autoPushRegistration still works as expected
  • Test on both iOS and Android
  • Run unit tests (yarn jest)

🤖 Generated with Claude Code

Adds a new public method `registerForPush()` that complements the existing
`disableDeviceForCurrentUser()`. This allows apps to re-enable push
notifications after they were previously disabled, addressing the gap
where the REST API supports `POST /api/users/registerDeviceToken` but
the SDK had no way to trigger re-registration.

Fixes Iterable#528

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@franco-zalamena-iterable franco-zalamena-iterable deleted the feat/528-re-enable-push-notifications branch April 8, 2026 14:49
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

Successfully merging this pull request may close these issues.

1 participant