PostHog / posthog-ios

PostHog iOS SDK
https://posthog.com/docs/libraries/ios
MIT License
32 stars 41 forks source link

SDK misreports version number #41

Closed jeffhunter closed 1 year ago

jeffhunter commented 1 year ago

The current version of the SDK appears to be 2.0.0, but the string "1.3.0" is hard-coded in the SDK:

https://github.com/PostHog/posthog-ios/blob/9ab4b60646fa6e2736ece83dc8b47a662885a420/PostHog/Classes/PHGPostHog.m#L528-L533

This is reported in events as the $lib_version property.