userx_flutter 1.5.1
userx_flutter: ^1.5.1 copied to clipboard
UserX SDK for Flutter: mobile session recording and UX analytics for iOS and Android apps, with masking of sensitive content.
1.5.1 #
Requires native UserX SDK iOS 2.11.1 and Android 4.4.0. Run pod install --repo-update once after upgrading.
Minimum iOS version is now 15.0 (Xcode 27 does not build lower deployment targets). Before upgrading set platform :ios, '15.0' in ios/Podfile and iOS Deployment Target 15.0 for the Runner target (IPHONEOS_DEPLOYMENT_TARGET = 15.0 in ios/Runner.xcodeproj), then run pod install --repo-update. Flutter 3.47 and later updates both automatically on flutter build ios. Otherwise pod install fails with: The plugin "userx_flutter" requires a higher minimum iOS deployment version.
- iOS: screenshots are captured on a background thread by default.
UserX.setRenderingInBackground(false)switches to the main thread (iOS only; no effect on Android). - iOS: fixed a crash on iOS 26 when capturing on a background thread.
- iOS (native SDK 2.11.1): fixed a crash in apps built with Xcode 27 (iOS 27 SDK) running on iOS 26.5 and later, when a native
WKWebViewoutside the Flutter view (full-screen ads, native 3-D Secure or in-app browser screens) was on screen during background capture. Web views are now recorded as is in background capture: fields,iframeand.userx-maskinside the page are not hidden. Hiding of fields inside web views works with main thread capture only. OccludeWrapperreworked: no performance impact with many hidden widgets; masks follow scrolling, transforms and visibility. API unchanged; optionalenabledadded.- Android: masks now work in TextureView rendering mode.
- Add
UserX.reportSensitiveRects; deprecateUserX.setSensitiveView. - Documented the public API.
Hiding a web view yourself #
- Inline web view (
WebViewWidgetand other platform views): wrap it inOccludeWrapper. - Full-screen native screens shown over the Flutter view (ads, 3-D Secure): call
UserX.stopScreenRecording()before showing the screen andUserX.startScreenRecording()after it is closed. - Your own native
WKWebView(Swift): setview.isSensitive = trueon the web view or its container. The view is hidden as a whole; works with background capture. UserX.setSensitiveView(and the nativeUserX.addSensitiveViewFrame) do not hide full-screen native screens: the mask is drawn inside the Flutter view and the native screen covers it.
1.4.0 #
- Add hiding sensitive views
1.3.0 #
- Add method for enabling the exceptions catching
1.2.0 #
- Add new API for applying user attributes
1.1.2 #
- init