-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(analytics): restore existing logic for user traits (#3294)
### Description Follow up for #3292, which was changing the behavior for the `identify` call. It's hard to tell if it would have had a real impact, but for instance the removed properties would have been missing from the CleverTap user profiles. Which we could argue is probably fine for `appVersion` as the CleverTap lib already adds this internally. But just to be on the safe side with this, I restored the previous behavior. ### Test plan - Tests updated - Added types to `getCurrentUserTraits` to ensure changes to `react-native-device-info` won't bring back the initial bug fixed by #3292. ### Related issues N/A ### Backwards compatibility Yes Co-authored-by: Tom McGuire <Mcgtom10@gmail.com> Co-authored-by: Satish Ravi <satish.ravi@valoraapp.com> Co-authored-by: Kathy Luo <kathyluo18@gmail.com>
- Loading branch information
1 parent
e4109f0
commit 44132ef
Showing
6 changed files
with
50 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters