Skip to content

Conversation

@odin-posthog
Copy link

@odin-posthog odin-posthog commented Jan 26, 2026

💡 Motivation and Context

We want to allow customers to send push notifications to their users in workflows. For that, we need to enable the SDK to collect and update the FCM device token that must be used for pushing notifications.

We're not collecting it automatically when initializing so users that don't need this functionality aren't forced to install firebase dependencies, and they have control over which users have their tokens collected (eg. signed-in only)

💚 How did you test it?

Manually in my emulator through the sample app, and with some automated tests (Full changes are in #376)

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.
  • If there are related changes in the core package, I've already released them, or I'll release them before this one.

@odin-posthog odin-posthog self-assigned this Jan 26, 2026
@odin-posthog odin-posthog changed the title feat(odin): Allow collecting FCM device token in SDK & demonstrate it… feat(odin): Allow collecting FCM device token in SDK core Jan 26, 2026
@odin-posthog odin-posthog force-pushed the odin/feature-core-add-push-notification-token-upload branch from 295805d to b727815 Compare January 26, 2026 13:24
@odin-posthog odin-posthog force-pushed the odin/feature-core-add-push-notification-token-upload branch from b727815 to d55dd96 Compare January 26, 2026 13:35
@odin-posthog odin-posthog force-pushed the odin/feature-core-add-push-notification-token-upload branch from d55dd96 to b70dfe7 Compare January 26, 2026 13:39
@odin-posthog odin-posthog force-pushed the odin/feature-core-add-push-notification-token-upload branch from f55ff56 to 3fe9042 Compare January 26, 2026 13:53
@odin-posthog odin-posthog marked this pull request as ready for review January 26, 2026 13:54
@odin-posthog odin-posthog requested a review from a team as a code owner January 26, 2026 13:54
@marandaneto
Copy link
Member

@odin-posthog thanks for the PR
can you make CI happy before we dive into code review?

@odin-posthog
Copy link
Author

We don't actually have to split out the changes between "globals" and app SDK, that's just about the releases. See #376

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.

3 participants