Skip to content

Can't update persistent context after reset #369

Open
@elliotdickison

Description

@elliotdickison

We are setting custom context via setup. This context includes details about our app that we want to persist for all RudderStack events across all sessions. This works as expected until we call reset when a user signs out. This blows away the persistent context without leaving us a way to restore it. We've tried:

  • Sending context with every event: this works for events that we trigger, but not for application lifecycle events

  • Calling identify immediately after calling sign out: this does not seem to persist context, at least in a way that allows it to be automatically included in application lifecycle events.

I don't think there are really any bugs here. The docs clearly state that calling reset will blow away persistent context. I'd call this a feature request for surfacing putCustomContext via the React Native bridge so that we can update context after a reset.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions