Release date: February 09, 2024
Overview
Android Mobile Messaging SDK version 5.20.1 release includes new features, enhancements, and bug fixes.
Environment requirements
The Android Mobile Messaging SDK version 5.20.1 uses:
- Minimum API version 21
- Compile API version 34
- Target API version 34
- Maps SDK "com.google.android.gms:play-services-maps:18.1.0"
- Structured Content Library “com.liveperson.android:lp_structured_content:2.6.3”
- Date Picker Library “com.liveperson.android:lp-date-picker:2.1.0”
- Appointment List Library "com.liveperson.android:lp-appointment-scheduler:2.0.0"
New features
Offline messaging
Offline messages are messages that will be sent once connection with the server is established. To enable offline messages you need to set the lp_is_offline_messaging_enabled flag to true. More information could be found here.
Speech to text recognition
Add a "speech recognition" feature to trigger the device's speech-to-text capability. Once enabled, a custom speech recognition button will appear in the input-text view area. More information could be found here.
- Attribute lp_speech_recognition_enabled: true/ false to enable this feature.
- Attribute lp_speech_recognition_input_complete_silence_length_millis: default 10 000 ms (10 seconds). Max duration of input inactivity for speech recognition to be automatically disabled.
- New localized string keys:
- Accessibility related: "lp_enter_message_speech_recognition_state"
- UI related: "lp_accessibility_voice_recognition_button"
Enhancements
- Separator for auto-closed conversation. Check here;
- Get rid of deprecated permissions. Check here;
- Add styles for Quick Reply of Welcome message. Check here;
- Added internal logging metrics (OpenTelemetry) to collect SDK performance data. This feature is turned off by default, and we only enable sampling data collection for specific brands in response to performance enhancement request.
Bugs fixed
- NullPointerException when upgrading SDK version;
- Internal bug fixes.