Skip to content

Release v19.8.0

Choose a tag to compare

@cross-circleci-access cross-circleci-access released this 21 Jun 14:50
· 101 commits to master since this release
78dcfd3

Add

  • comprehensive debug logging across all modules and performance-critical hot paths, ensuring the strict protection and redaction of SDK consumer PII.

Fixed

  • Prevent PixelCopy crash on invalid surface during capture (#67).

Changed

BREAKING CHANGES

Errors thrown by native (Pigeon) host calls are now logged and swallowed by the SDK instead of being re-thrown into your app. This honors the SDK rule that no exception may escape into the embedding application. As a consequence, every public API that previously returned a value now returns its nullable equivalent � null signals that the underlying host call failed.
Affected public APIs:

API Before After
Luciq.getUserAttributes() Future<Map<String, String>> Future<Map<String, String>?>
Replies.hasChats() Future<bool> Future<bool?>
Replies.getUnreadRepliesCount() Future<int> Future<int?>
SessionReplay.getSessionReplayLink() Future<String> Future<String?>
Surveys.getAvailableSurveys() Future<List<String>> Future<List<String>?>
Surveys.hasRespondedToSurvey() Future<bool> Future<bool?>
Migration: coalesce with a sensible default or null-check before use, e.g.
final hasChats = (await Replies.hasChats()) ?? false;
final unread = (await Replies.getUnreadRepliesCount()) ?? 0;
final link = await SessionReplay.getSessionReplayLink();
if (link != null) { ... }