Skip to content

UI package (com.salesforce.android.agentforcesdk.ui) missing in SDK AAR files #1

@AbdullahElesnawy

Description

@AbdullahElesnawy

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

  1. Create a new Android project with Agentforce Mobile SDK v11.5.2
  2. Add the AAR files to your project's libs/ directory
  3. Follow the official documentation to import UI components:
    import com.salesforce.android.agentforcesdk.ui.AgentforceLauncherContainer
    import com.salesforce.android.agentforcesdk.ui.AgentforceConversationContainer
  4. Notice compilation error: Unresolved reference: ui
  5. Check the AAR file contents and confirm the package com.salesforce.android.agentforcesdk.ui does 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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions