Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Identify does not always update user values #471

Open
lukas2 opened this issue Jan 5, 2024 · 0 comments
Open

Identify does not always update user values #471

lukas2 opened this issue Jan 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@lukas2
Copy link

lukas2 commented Jan 5, 2024

Expected Behavior

When I write this:

let identify = Identify()
identify.set(property: "someId", value: someValue)
identify.set(property: "anotherId", value: anotherValue)
amplitude.identify(identify: identify)

and if there was a value for "anotherId" before, then both values should be set to someValue and anotherValue respectively.

Current Behavior

Currently the second value, here: "anotherValue" is not updated and basically discarded.

Possible Solution

Steps to Reproduce

See code above

Environment

  • SDK Version: 353b334924d05c67a85d403584a065999a778c2b
  • Device: iPhone 12
  • OS Version: iOS 17.1

Note

This works correctly if anotherValue was not set before:

let identify = Identify()
identify.set(property: "someId", value: someValue)
identify.set(property: "anotherId", value: anotherValue)
amplitude.identify(identify: identify)
@lukas2 lukas2 added the bug Something isn't working label Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant