Adding and Configuring the Live Experience Widget for your iOS App
Your customers initiate engagements with your associates by tapping on the Oracle Live Experience widget.
Learn how to add and configure the widget so that it provides the exact experience you intend to deliver to your customers through your iOS app.
- Extend your existing iOS app to include the Live Experience framework.
- Add the widget.
- Configure the widget in as many views as you need.
These instructions are for the Swift programming language. For Objective-C, see Add and Configure the Live Experience Widget for your iOS App in Objective-C.
Start by configuring the widget with service information so it can connect to Oracle Live Experience. Then you configure the widget service settings.
import OracleLive
Configure the widget service settings:
Controller.shared.service.userID = "bob@example.com
Controller.shared.service.tenantID = "MyTenantID"
Controller.shared.service.clientID = "clientID"
Controller.shared.service.authToken = "MyAuthToken"
Controller.shared.service.address = "cloudURL"
The example above sets the end user ID, the tenant ID, the Live Experience application
client ID retrived from the Admin Console by selecting Application and then Details, the
authToken
retrieved from Authenticate with Live Experience for iOS, and the Live
Experience cloud URL (either https://live.oraclecloud.com or
https://emea.live.oraclecloud.com).
For more information on service configuration, see the Live Experience iOS API Reference.