Interaction Studio push token retention issue
Trailblazer Community

Interaction Studio push token retention issue

Evergage

Last updated 2021-06-22 ·Reference W-9425257 ·Reported By 0 users

In Review

Summary
A push notification provider (like APNS, Firebase, etc) will issue a 'token' for a specific app on a specific device. To send a push notification to that app/device, one sends to that token.

Since it would be confusing to potentially message multiple users on the same app/device, by design Interaction Studio assigns the push token to the most recent user on the app/device.

There is a known bug where a push token may be lost when transitioning between users. For example, when going from an anonymous user to a known one, and when going back to anonymous. The latter can easily happen at app launch if the `userId` is not set quickly.

Repro
Set a mobile application to briefly set a user as an anonymous user and update them to a known user after they perform an action within the application.

Workaround
The best way to mitigate the issue is by setting the `userId` as quickly as possible during app launch can avoid the user 'briefly reverting' back to anonymous, and thus avoid a push token transition across users.

Reported By (0)

Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.