Troubleshooting

Known Issues

Camera Permission for Attachment Flows

The attachment features of SDK X conversations opens the attachment menu. This is Safari's native menu with 3 options as of now, one of which is “Take Photo or Video”. This option requires your app to declare the camera permissions in your Xcode project's Info.plist file. If you don't declare it, and if the user selects this option, your app may crash. This option cannot be hidden as of now. We have it in our roadmap to add the ability to disable this option, though.

To avoid this crash, you need to add the following keys in your Xcode project's Info.plist file.

  • NSPhotoLibraryUsageDescription

  • NSCameraUsageDescription

If your use-case allows you to not ask users to send attachments, you should disable the user attachments configuration on your app's App Settings page on the Admin Dashboard. This will hide the attachment icon altogether from the conversation, and you will not need to add the above-mentioned permissions to Info.plist file. Along with disabling the user attachments configuration, you should also not use the request attachment feature for the Agents.

Attachment features: These features let users send an attachment during a conversation — attachment icon in the reply box and request attachment message by agent.