Last updated
Was this helpful?
Last updated
Was this helpful?
Mluvii provides two sets of framework for integration with your application. The uses webView from WebKit. The uses SwiftUI.
The code provided by us enables you to:
initiate a webview with a widget with your company data
notification on change of widget status
open chat,
close the chat and load a page with widget,
handle navigation action on click to link in chat,
When adding customized parameters, you must first set them in the Administration Interface, see .
Firstly, it's necessary to set parameters and then call chat.openChat()
it is also necessary to call chat.openChat()
and chat.addCustomData()
after status update receive so its recommended to use callback chat.setStatusUpdater()
On link click inside chat custom handler:
you can add custom navigationActionCustomDelegate
when creating view
If you want to use a video, you need to enable your camera and microphone in your application.
Yoiú can capture sessionStarted and sessionEnded events with Callback function. Example of simple usage is shown below.
If a project downloaded from GitHub does not run because the “MluviiChat” framework cannot be found, we recommend that you recompile the “MluviiChat” project and replace the “MluviiChat.framework” file in the “TestWebkitWebview” project with the newly created “MluviiChat.framework” file.
Our framework is compiled for the minimum version of iOS 15.3.1.
If you want your app to work properly( file upload, camera and microphone), you need to add an explanation in the info.plist file why your app needs access to these permissions. Specifically, these items are:
Privacy - Camera usage Description
Privacy - Microphone usage Description
Privacy - Media Library Usage Description
If you will not add Media Library Usage Description app will crash when user tries to upload file in mluvii chat.
Beware, in iOS 10 and above, if you don't have a definition in info.plist for what rights you need and the app tries to use it, the whole app crashes.
More info on
It can be found