Skip to content

Add device_id as an automatic context value for Feature Flags #674

Open
@msiebert

Description

@msiebert

When creating the feature flags context, we need to use anonymous ID as a context property with the name device_id. This property should be added at the same as we add distinct_id.

Additionally update test cases that verify the shape of context to check for device_id being present and having the right value. These can likely by found by searching for places where distinct_id is validated.

An example of implementing this in the Android SDK can be found in this PR.

Metadata

Metadata

Assignees

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