amplitude / Amplitude-Swift

Native iOS/tvOS/macOS/watchOS SDK
MIT License
32 stars 22 forks source link

Properties with a value of "[Non-Encodable]" #193

Open crleona opened 3 months ago

crleona commented 3 months ago

Summary

With https://github.com/amplitude/Amplitude-Swift/pull/192, objects in event properties dictionaries that are not directly encodable to JSON will be encoded as "[Non-Encodable]" versus being dropped. To fix this issue, please add Encodable support for the object or decompose it into more primitive types such as Strings and numbers.