iOS SDK 3.0

What's new?

LogRocket iOS SDK v3 introduces a new view capture system that improves session replay fidelity. Compared to prior versions, iOS SDK v3 offers higher-frame-rate session replays that are more fluid, responsive, and complete.

In v3, the main SDK class has been renamed from SDK to LogRocketSDK. The old class remains available in a deprecated status.

How to upgrade

There are no additional steps necessary to upgrade the SDK beyond updating the LogRocket version specified in Swift Package Manager or your Podfile.

React Native

If your app uses React Native, then you can take advantage of these new improvements by upgrading to the latest 3.x.x version of the LogRocket React Native SDK package. This will automatically update the native iOS layer of your React Native app to use the new v3 SDK.

Notes on Performance

LogRocket iOS SDK v3 achieves higher frame rate by caching view processing data between captures. As a result, you may see a small increase in memory usage by the LogRocket SDK after upgrading.

As was the case before v3, LogRocket view capture will never use more than 10% of main thread execution time in any given second.

How to get in touch

Please reach out to [email protected] if you have any concerns about LogRocket iOS SDK v2. If you would like to disable the new view capture approach after upgrading, you can do so by setting the configuration option enableViewCaptureV2 to false.