Closed mylifeasdog closed 10 months ago
LGTM! It works nicely, thank you for the contribution @mylifeasdog! We will release it in the upcoming version 6.0.0 release of the tracker.
Could you inform me about the expected release window for version 6.0.0? This will help me decide whether to implement alternative solutions or wait for the official update, depending on the timeline.
Thank you!
Hi @mylifeasdog, the plan is to release it today!
This PR addresses issue #858 concerning the Snowplow SDK's bundle path handling in modularized iOS apps. The current
UIViewController
extension's method for tracking screen views fails on real iOS devices due to not accounting for the symbolic link between/private/var/
and/var/
.The fix involves updating
sp_viewDidAppear
to useresolvingSymlinksInPath()
, ensuring the bundle paths for both the main app and its frameworks are standardized. This method resolves/private/var/
to/var/
, aligning framework paths with the main app bundle. This change guarantees accurate tracking of view controllers across all frameworks on iOS devices.