generated from salesforce/oss-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Summary
The Agentforce Mobile SDK Android documentation references a non-existent UI package com.salesforce.android.agentforcesdk.ui that contains essential UI components like AgentforceLauncherContainer and AgentforceConversationContainer. This package does not exist in the provided AAR files, causing compilation errors when following the official documentation.
Steps To Reproduce
- Create a new Android project with Agentforce Mobile SDK v11.5.2
- Add the AAR files to your project's
libs/directory - Follow the official documentation to import UI components:
import com.salesforce.android.agentforcesdk.ui.AgentforceLauncherContainer import com.salesforce.android.agentforcesdk.ui.AgentforceConversationContainer
- Notice compilation error:
Unresolved reference: ui - Check the AAR file contents and confirm the package
com.salesforce.android.agentforcesdk.uidoes not exist
Expected Result
The documentation should reference existing UI components that can be imported and used as standalone classes for Option A (Full UI with AgentforceClient) implementation.
Actual Result
The documentation references a non-existent package com.salesforce.android.agentforcesdk.ui, causing:
- Compilation errors when trying to import UI components
- Inability to implement Option A as documented
- Developers must find workarounds or implement custom UI instead of using the promised ready-made components
Additional Context
- SDK Version: Agentforce Mobile SDK v11.5.2
- Documentation Reference: https://developer.salesforce.com/docs/einstein/genai/guide/agent-sdk-android.html
- Impact: This affects developers trying to implement Option A (Full UI with AgentforceClient) as documented
- Workaround: No reliable workaround found - the documented UI components simply don't exist as standalone classes
- Company Context: Implementing this for Clouding AI that uses Salesforce products and is a Salesforce partner
Environment
- Android Studio
- Kotlin
- Jetpack Compose
- Agentforce Mobile SDK v11.5.2
Metadata
Metadata
Assignees
Labels
No labels