Releases: salesforce/AgentforceMobileSDK-Android
Agentforce Mobile SDK 260.4
Agentforce Mobile SDK 260.3
π€ Android 260.3 (v14.188.1)
This release focuses on significant accessibility (a11y) improvements and robust screenshot caching optimizations to ensure a more stable and inclusive user experience.
β¨ Enhancements
- Screenshot Caching: Enhanced caching mechanisms with bitmap safety, leak prevention, and automated cleanup to optimize memory usage.
- Accessibility: Increased the maximum line count for recommended actions to 2 to improve readability during text resizing.
- Color Contrast: Updated placeholder text and
accent1colors to meet standard accessibility contrast requirements. - Launcher UI: Updated the background and border colors of the Launcher to improve visual clarity and compliance.
- Feedback System: Changed the feedback success toast status from
INFOtoSUCCESSto ensure proper accessibility contrast. - Color Tokens: Refined various color tokens to resolve systemic accessibility issues across the SDK.
- Agentforce Voice: Updated default mobile colors to align with the latest brand guidelines.
- Secure Forms: Updated dialog box strings to provide clearer instructions to the user.
π οΈ Fixes
- Secure Forms: Fixed an issue where secure forms remained in a read-only state incorrectly after a session ended.
- Streaming Messages: Resolved a bug causing duplicate streaming messages and rendering issues for record information.
Agentforce Mobile SDK 260.2
π€ Android 260.2 (v14.177.0)
This release introduces significant accessibility enhancements, R8 optimization for smaller builds, and expanded support for Secure Forms and on-device speech-to-text.
β¨ Enhancements
- API: Introduced
AgentforceViewProviderRegisteryfor more flexible view management. - Optimization: Made improvements to reduce app size and improve security.
- Instrumentation: Added logic to log the
AgentforceSDKversion within instrumentation records for better debugging. - LWC Support: Introduced
HybridBridgeDispatcherand new view provider interfaces to facilitate LWC integration. - Navigation: Added support for navigation overrides within the
WebLinkcomponent. - Consistency: Aligned Secure Forms feature flags with the iOS implementation for cross-platform parity.
- Performance: Implemented a feature to render and cache live webviews while the application state is paused.
- Voice: Added compatibility support for on-device speech-to-text (SODA).
π οΈ Fixes
- Text Rendering: Fixed an issue where numeric values were incorrectly rendered as clickable hyperlinks in
AgentforceMarkdownText. - UI: Hidden the waveform button when the text field contains only newline characters.
- Accessibility: Resolved text truncation issues in the feedback UI when using 200% font scaling.
- Accessibility: Corrected TalkBack focus behavior to ensure it returns to the "More" button when a sheet is dismissed.
- Accessibility: Updated input field accessible names to ensure they match their visible labels.
- Chat Management: Disabled the "Clear Chat" option within MIAW conversations.
- Accessibility: Added descriptive accessible names for "Clear" buttons within input fields.
- Secure Forms: Ensured secure forms are automatically dismissed when a chat session ends.
- Accessibility: Improved accessibility labels for checkboxes within the feedback sheet.
- Secure Forms: Fixed a hang that occurred when switching between submitted and unsubmitted forms.
- Secure Forms: Hidden the "Done" button from the header app bar once a secure form has been successfully submitted.
- Secure Forms: Fixed an issue where form state was not correctly resetting when dismissed without a successful submission.
- Accessibility: Added heading semantics to agent name text and modal scaffold titles to improve TalkBack navigation.
Agentforce Mobile SDK 260.1
π€ Android 260.1 (v14.146.2)
This release bundles the foundational updates from the 260.0 cycle with 260.1 improvements. It introduces significant UI customization for both Employee and Service agents, along with enhanced conversation continuity and accessibility.
β¨ Enhancements
- Multi-Persona Navigation: Added support for navigation bar customization across both Employee and Service agent interfaces.
- Conversation Continuity: Implemented the ability to resume existing conversations for Service Agents and added a new
RecentConversationfetch method. - Messaging Intelligence: Introduced an asynchronous
sendUtterancemethod that triggers once the client is initialized and added a toggle to suppress recommended utterances. - Input Control: Exposed the
requestFocusOnInputmethod to programmatically open the keyboard and added a feature toggle to manage this behavior within the test harness. - Data Management: Exposed the
clearStorageAPI to allow manual clearing of SDK data. - Observability: Added new instrumentation markers for Voice responsiveness and CWC (Chat with Context) performance tracking.
- UI Tokens: Applied standardized typography tokens across all recently added components.
π οΈ Fixes
- Accessibility: Fixed header resizing issues when increasing system font sizes and resolved multiple screen reader navigation bugs.
- Pre-chat Flow: Fixed an issue where "End Chat" and "Restart" actions would fail to trigger the pre-chat form correctly.
- Input Polish: Fixed a bug where the waveform button remained visible when the text field contained only newlines and synchronized the behavior of the Text Box and Send button.
- UI Stability: Resolved a "View More" label mismatch, fixed readability for disabled buttons, and reverted the Agentforce header to
maxLines: 1. - Session Logic: Improved participant role tracking (
participantRoleType) to ensure sessions end appropriately and added acanSendQuerycheck to prevent the display of blank response cards. - Context Updates: Fixed a bug where previous context variables were not correctly nullified when the page context updated.
- Conversation Cleanup: Disabled the "Clear Chat" option in MIAW conversations pending a future feature rework.
Agentforce Mobile SDK 258.4
π€ Android Agentforce SDK 258.4 (v14.97.1)
This release provides additional support for MIAW (Messaging for In-App and Web), opens up Agentforce Voice to public beta, and includes bug fixes for service interactions.
β¨ Enhancements
- Agentforce Voice Public Beta The Agentforce Voice feature flag has been updated from internal to public, effectively launching the Beta experience. This includes updates to UX and E2E locators.
- MIAW Pre-Chat Support Implemented comprehensive support for Pre-Chat, including the service layer integration, UI components, support for dropdown fields, and handling of hidden pre-chat fields.
- Queue Management Added support for displaying Queue Position and Estimated Wait Time (EWT) for MIAW, including localization strings and auto-dismissal logic for the EWT snackbar.
- Video & Audio: Added support for Video Attachments for Service Agents and Audio File uploads.
- Playback: Introduced an interactive Play/Pause button for audio attachments and updated the Player UI.
- Notifications MIAW notifications now display when the app is in the background and will correctly redirect users to the conversation panel when tapped.
- Service Agent Citations Added support for displaying citations within Service Agent interactions.
- Transcript Management The SDK now respects the admin option for Download Transcript.
π οΈ Fixes
- Message Ordering: Resolved an issue where messages received from the Service Agent could appear out of order.
- Theming: Fixed the MIAW Buttons component state to ensure it updates correctly upon theme changes.
- Navigation: Fixed the
SpeechRecogniserbehavior to handle "Back" button presses correctly. - Customization:
- Added support for passing custom names from the host app.
- Updated the Avatar Input to utilize Painter Resources for better image handling.
- Fixed
WelcomeRecommendationbehavior during Agent switching.
Agentforce Mobile SDK 258.2
π€ Android Agentforce SDK 258.2 (v14.38.2)
This release expands customization options and integrates new features for service interactions on Android.
β¨ Enhancements
- Custom Avatar and Name: Added support for customizing the agent avatar icon and name.
- Service Agent Buttons: Added support for service agent buttons, including dynamic width and a button replies component in MIAW with a new
AgentforceButtonRepliescomposable component.
π οΈ Fixes
- Fixed a bug where Confirmed/Submitted buttons would revert to Confirm/Submit when new messages arrived.
- Fixed state preservation issues in the MIAW Buttons component during theme changes.
Agentforce Mobile SDK 258.1
π€ Android Agentforce SDK 258.1 (v14.20.0)
This release focuses on UI/theming improvements, context variable support, and several key bug fixes.
β¨ Enhancements
- Channel Type Context: Added support for the
$Context.ChannelTypevariable. - Localization: Updated localization (L10n) strings.
π οΈ Fixes
- Message Input: Disabled the ability to send empty messages.
- Selection Components: Fixed an issue where the initial selection in a component was always sent in reply, regardless of the user's actual selection.
- UI Scrolling: Removed excessive empty space that appeared when scrolling up in the chat container.
- Links: Ensured that clicking an external link correctly opens the device's browser.
- Theming: Hard-coded link colors for light and dark mode to ensure visibility.
- Bootstrap: The bootstrap
onErrorhandler will now be bypassed when a specific Agent ID is provided.
Agentforce Mobile SDK 258.0
π Agentforce Mobile SDK 258.0
Version 258.0 is a landmark release, introducing a completely redesigned user interface, powerful Chat V2 capabilities with Service Agent support, and a more streamlined configuration process.
π¨ Enhanced User Interface
- Mobile-Optimized Experience: A completely redesigned interface built with native Android design patterns for an intuitive and responsive user experience.
- Advanced Theming: A comprehensive theme system supporting custom colors, typography, and component styling to perfectly match your brand's identity.
- Custom Component Overrides: A new native view provider system allows you to completely customize or replace standard messaging UI components.
π¬ Enhanced Chat V2 & Service Agent Support
- Service Agent Integration: Full support for mobile service agent configurations through the new, streamlined
.serviceAgentmode. - Human Agent Escalation: Seamlessly escalate to human agents with full support for rich messaging components like links, surveys, carousels, and other interactive elements.
- Context Events: Context provided to the
AgentforceClientis also passed as Context Events in Salesforce Enhanced Chat. - Omni-Channel Ready: Built-in support for Omni-Channel routing and Omni-Supervisor for enterprise-grade customer service workflows.
βοΈ Configuration Changes
- New Initialization Pattern: The
AgentforceClientnow uses a simplifiedAgentforceModeenum (.fullConfig,.serviceAgent,.employeeAgent) for initialization. - Simplified Setups: New
ServiceAgentConfigurationandEmployeeAgentConfigurationobjects streamline the setup process for different modes. - Service Agent Support: Added new methods to support Einstein Service agents using an
esDeveloperName.
β¨ New Components & APIs
- Launcher: A new
AgentforceLauncherfloating action button (FAB) provides users with quick and easy access to the chat experience. - Conversation Management: New methods are now available to
endConversation(),closeConversation(), anddownloadTranscript().
Agentforce Mobile SDK 256.3
Android Release Notes: Version 256.3 (11.5.2)
This release introduces the Theme Manager, Voice capabilities, and Panel APIs while also including significant refactoring and UI enhancements.
π New Features & Major Enhancements
- Theming Engine: Introduced the AgentforceThemeManager and LocalProvider to enable custom themes in the host app.
π¨ UI/UX Enhancements
- Top Bar Control: Added the ability to programmatically show or hide the top bar.
- UI Consistency: Matched the entry point, input box, and voice button height to the latest UX specifications.
- Ripple Effect: Fixed an issue where the ripple effect on images extended beyond the image bounds.
- Localization: Updated localization strings.
π Bug Fixes
- Readback Icon: Ensured the Readback icon is only displayed when a feature flag is enabled and an implementation is available.
- Instrumentation: Fixed missing attributes in the instrumentation contract and added a new AgentforceInput marker to distinguish between text and voice.
- Session Management: Corrected a bug to ensure the correct session ID is returned when selecting an agent.
Agentforce Mobile SDK 256.1
Android Release Notes: Version 256.1 (9.0.16)
This release introduces important stability fixes, along with new functionality for file uploads and configuration on Android.
π Bug Fixes
- Fixed a layout issue with a spacer that appeared after the PDF upload feature was merged.
- Corrected the FetchAgents observability marker to ensure proper instrumentation.
- Updated the readback contract to resolve an issue identified during testing.
β¨ Enhancements
- Introduced support for PDF file uploads.
- Added a feature flag to control the visibility of recommended utterances.
- Provided a method to configure the launchInVoiceMode boolean via the AgentforceClient.