pendo-io / pendo-mobile-sdk

Pendo captures product usage data, gathers user feedback, and lets you communicate in-app to onboard, educate, and guide users to value
https://www.pendo.io
Other
57 stars 2 forks source link

SwiftUI performance issue in 3.1.0/3.2.0 #142

Closed MikePendo closed 2 months ago

MikePendo commented 2 months ago

Platform + Version IOS 16 + 17

SDK Version 3.1.0, 3.2.0

Framework Swift UI

Describe the bug We had a bug that might impose performance issue when opening swiftUI pages.

Resolution Please use the latest SDK 3.2.1

In addition please use the following flag in your integration if possible to improve any potential performance issues (in case you noticed one ):

let options = PendoOptions()
options.configs = ["enableTextCollectionSwiftUI":false]
PendoManager.shared().setup(prodAppKey,with: options)

The reason behind this flag is to skip the hashed text collection as in some cases in might be slightly expensive. The Hashed text collection will be based on accessibility labels/hints/identifiers and other parameters instead of the actual texts.