kalisio / kNotify

Basic utils to support notifications (push, emails, etc.) for KDK-based applications and services
MIT License
4 stars 0 forks source link

Manage registration ID changes #2

Closed claustres closed 6 years ago

claustres commented 7 years ago

The GCM/FCM token can change due to token-rotation. For now we only register new device token when authenticating the user, we might do it anyway on registration ID changes.

claustres commented 6 years ago

We should add a hook on the user service with a specific create operation related to device only when the registration ID has changed and by passing the user creation by setting the hook result to the device.

cnouguier commented 6 years ago

registration ID changes is managed using the new service 'devices'. See commit 3ff0e48