React Native - storylyUserProperty type mismatch
Closed this issue · 1 comments
wass08 commented
The prop storylyUserProperty is defined as a Record<string, string>[];
in TypeScript while the documentation says it's aMap<String, String>
so we expect it to be a Record<string, string>
Passing userProperties doesn't work and lead to a crash as it does not expect an array of Records
Environment Details
Storyly SDK Version: 1.24.1
React Native SDK Version: 0.68.0
Platform:
- Android
- iOS
Steps to Reproduce
- Add storylyUserProperty props in a typescript react native app
levent-oral commented
Hello @wass08,
We've released storyly-react-native@1.26.0 that contains a fix for this issue.
Thanks,