You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's fairly unlikely that this code will be called each time with the same object reference, so this should be updated to perform some kind of deep equality.
The text was updated successfully, but these errors were encountered:
analytics-react-native
version: 2.15.0Steps to reproduce
Make an initial call to identify with a specific set of traits
Make a second call to identify with the same set of traits
Expected behavior
Identify is not forwarded to braze
Actual behavior
Identify is forwarded to braze
This is because the code that checks for a duplicate payload just performs a referential equality on the two traits objects:
analytics-react-native/packages/plugins/plugin-braze/src/BrazePlugin.tsx
Line 92 in 0a79010
I think it's fairly unlikely that this code will be called each time with the same object reference, so this should be updated to perform some kind of deep equality.
The text was updated successfully, but these errors were encountered: