Skip to main content
Group

Embedded Service (formerly Snap-Ins)

Embed service cloud support channels in YOUR mobile apps and web pages using simple to deploy SDKs.

IOS SDK version 222.0.1 After upgrade to this, when upload to App Store Releases it still will throw 

 

ERROR ITMS-90085:

No architectures in the binary. Lipo failed to detect any architectures in the bundle executable.

 

XCFramework Compatibility

This version of the Embedded SDK uses Apple’s new XCFramework bundle type, which is required for third-party frameworks on macOS Catalina. This update involves two changes to our previous instructions:

  • CocoaPods does not currently support XCFrameworks. You’ll have to follow our guidelines for installing the framework files manually instead.
  • We've removed the prepare-framework script from the SDK, which was previously required in order to strip the unneeded architectures from dynamic libraries before submitting to the App Store. This process is no longer necessary.
0/9000

Hi @Peter White @Peter Chung,

 

I have a question regarding embedded service as below

Background :  We have a default chat button associated with embedded service deployment. We also have another chat button with a separate queue. We've added the embedded service component on community and utilized the snippet setting file wit Prechat.js and made some changes to directToButtonRouting.

 

Now the scenario is like an agent is available with chat button 1(queue) and chat bubble is visible and with directToButtonRouting it is routing it to the other button for which agent is not available then the chat window waits & then shows not agents are available.

 

I don't want this to happen, rather if this is the case then it should not show the chat bubble itself. So is there a way from which we can query agents availability before initiating chat so we can stop this to happen, or any other solutions are also welcome.

4 comments
0/9000

Does anyone have an example of how to properly use Bootstrap Embedded Chat (https://developer.salesforce.com/docs/atlas.en-us.snapins_web_dev.meta/snapins_web_dev/embedded_services_web_bootstrap_chat.htm)?

 

Trying to understand what functionality this API actually give us, but I am getting an error when the snippet fires the embedded_svc.bootstrapEmbeddedService() function:

  • esw.min.js:8 Uncaught (in promise) TypeError: Cannot read property 'isCommunityOrSite' of undefined
1 comment
  1. Jul 24, 2023, 11:59 AM

    I had the same error. The issue is that I had a VF page that was loading the LiveAgent Snippet and the MIAW snippet. 

     

    If the page loads the "embeddedservice/5.0/esw.min.js"  and the "bootstrap.min.js' files, then the exception is thrown. Just remove the "embeddedservice/5.0/esw.min.js" script and it will work

0/9000
0/9000

We would like to have a simple embedded prechat form with firstname, lastname, email address and subject, mapped to the usual Contact and Case objects.

However, we would like to use only the email address as a key to search for an existing similar contact; if it does not exist, we would like to create with all 3 fields first name, last name, email address.

 

Lastly, an option would be to update the first name and lastname fields of an existing contact found with the same email address.

 

The documentation is not clear enough for me here :

https://developer.salesforce.com/docs/atlas.en-us.238.0.snapins_web_dev.meta/snapins_web_dev/snapins_web_prechat_details.htm

and here :

https://developer.salesforce.com/docs/atlas.en-us.238.0.snapins_web_dev.meta/snapins_web_dev/snapins_web_prechat_code_examples.htm

 

Thanks.

1 answer
0/9000
3 answers
  1. Jul 27, 2022, 7:06 PM

    That's what I ended up doing. Served the resulting .js file as a static resource from a public community.

0/9000

Post-chat, we need to retrieve the Chat Transcript record details in our mobile app.  There are many fields on the Chat Transcript object, such as Browser, Browser Language, Location, Platform, etc, that come from the Chat service, but don't appear to be available on the Embedded Service SDK.

 Is there a way to retrieve this information on the mobile app before the chat window is completed?

2 answers
0/9000