salesforce-messaging-voice

Add voice calling UI to Salesforce Messaging for In-App iOS chat.

10|10|Updated Feb 11, 2021
One-click install
npx skills add https://github.com/Salesforce-Async-Messaging/messaging-in-app-ios --skill salesforce-messaging-voice
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: salesforce-messaging-voice
Source: https://github.com/Salesforce-Async-Messaging/messaging-in-app-ios/tree/main/skills/voice
Command: npx skills add https://github.com/Salesforce-Async-Messaging/messaging-in-app-ios --skill salesforce-messaging-voice

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires SMIMultimediaCore, and includes assets (resource) components.

What problem does it solve?

It solves the problem of enabling voice calls inside an existing Salesforce Messaging for In-App iOS conversation so users can switch from text chat to voice support.

Core Features & Use Cases

  • Add a voice button to the chat navigation bar that enables only when voice is supported by the deployment.
  • Implement voice call UI and controls including mute, end call, elapsed time, and live transcript display.
  • Wire the conversation modality switch to voice while validating prerequisites like the voice plugin and microphone permissions.

Quick Start

Use the salesforce-messaging-voice skill to fetch the tested Voice UI files, add the SMIMultimediaCore dependency matching your SDK version, wire the VoiceNavigationBarBuilder into Interface with the same UIConfiguration, and ensure NSMicrophoneUsageDescription is set in your Info.plist.

Frequently Asked Questions about salesforce-messaging-voice

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add voice calling to my Salesforce in-app messaging iOS chat?

To add voice calling to Salesforce in-app messaging, fetch the verified Voice Swift files, install the SMIMultimediaCore dependency, wire a VoiceNavigationBarBuilder into your UIConfiguration, and set the NSMicrophoneUsageDescription key in your Info.plist to enable audio modalities.

Why does my iOS voice chat crash when starting a call?

Your iOS voice chat crashes because the NSMicrophoneUsageDescription key is missing from your Info.plist. Setting this microphone permission string prevents runtime crashes when the voice modality attempts to access the device audio hardware.

What is needed to enable a voice call button in the iOS chat navigation bar?

Enabling a voice call button in the iOS chat navigation bar requires fetching the verified Voice Swift files, installing the SMIMultimediaCore dependency matching your SDK version, and wiring a VoiceNavigationBarBuilder into your existing UIConfiguration interface.

Does my Salesforce deployment need specific configuration to support iOS voice calling?

Your Salesforce deployment must explicitly support the voice modality for the iOS voice calling button to enable. The integration validates this prerequisite before rendering the voice call UI, mute controls, and live transcript display in the chat experience.

Can I implement voice call UI controls like mute and live transcripts in Swift?

Yes, you can implement voice call UI controls including mute, end call, elapsed time, and live transcript display in Swift by copying the verified Voice Swift files from the integration package into your iOS project without modifying the code.

What is the best way to switch from text chat to voice support in an iOS app?

The best way to switch from text chat to voice support is enabling the voice modality in your Salesforce Messaging for In-App iOS integration using SMIMultimediaCore, which validates voice plugin prerequisites and microphone permissions before rendering the call UI.