AdaSupport / ios-sdk

EmbedFramework is a small iOS SDK that is used to embed the Ada Chat bot into native iOS applications.
MIT License
4 stars 20 forks source link

CHATX-1890: Add setLanguage method #64

Closed lujcheng closed 1 year ago

lujcheng commented 1 year ago

Description

added setLanguage method


Checklist

lujcheng commented 1 year ago

This currently returns an error Error Domain=WKErrorDomain Code=5 "JavaScript execution returned a result of an unsupported type" UserInfo={NSLocalizedDescription=JavaScript execution returned a result of an unsupported type} This is because the setLanguage method in embed currently returns nothing. This doesn't break the app, but it should probably be considered tech debt to be addressed in another ticket