Release v19.8.0
·
101 commits
to master
since this release
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
- Bump Luciq iOS SDK to v19.8.1 (#62). See release notes.
- Bump Luciq Android SDK to v19.8.0 (#62). See release notes.
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) { ... }