TelemetryDeck / SwiftSDK

Swift SDK for TelemetryDeck, a privacy-conscious analytics service for apps and websites.
https://telemetrydeck.com/
Other
148 stars 30 forks source link

New force-sync method (load-capped) to track bad experiences that might lead users to leave/delete app (improved churn tracking) #136

Closed Jeehut closed 5 months ago

Jeehut commented 5 months ago

Individual commits:

Some functions in SignalManager seemed to have been named after planned behavior that was never implemented. Therefore, the function names & docs were somewhat misleading. I adjusted the names to reflect what they actually do.

The new method .requestImmediateSync() fixes #130 and should only be used in rare cases where important information is sent to the servers that must reach the servers even if the user might leave the app right after and never return. This can be useful for apps that are used only once to track important last steps of the user. Or for experiences like errors that could make the user delete the app right after. Those error signals would never reach the server without this.

This PR also fixes #134 (a minor SwifUI logging issue). It also fixes some warnings regarding visionOS (instead of xrOS) & improves Vison Pro support.

winsmith commented 5 months ago

I love this!