Digital Messaging Manager of your Digital Messaging
interface includes two mobile messaging channels for Android and iOS. You can add the
Android or iOS mobile apps as connections to integrate them into your native mobile
app.
Pega Customer Service
Implementation Guide
Pega Customer Service
Implementation Guide
The following figure shows the Mobile Messaging SDK connection that you can configure
in Digital Messaging Manager:
Note: The following image displays
the UI of Digital Messaging Manager for the 8.7.2 version. In the 8.7 version,
you had to create separate connections for iOS and Android apps.
Multiple channel connections
Creating a Mobile app connection
Add a mobile app connection in your Digital Messaging interface,
and then configure the general, security, context data, and push notification settings.
After you configure the settings, download the iOS and Android SDKs to integrate into your
application. By doing so, Mobile Messaging SDK helps you embed Web Messaging in your native
Mobile app.
Note: From the 8.7.2 version, you can download the iOS and
Android SDKs from the same Mobile Messaging SDK connection, instead of creating two
distinct connections.
On the General tab, in the Name
field, enter the name for the Android App Messaging connection.
Click Save.
Result: The system displays the connection name and the additional
tabs.
To configure the chat context data to display to the
CSRs, on the Context data tab, in the General
information section, select the context data that you want to
capture, and then click Save:
Context data option
Description
IP address
The IP address of the mobile device
Location
The physical location of the mobile device based on IP
address
Device/OS
The mobile operating system and device type
Note: You can display the context data to CSRs with no configuration in
SDK.
On the Security tab, perform the
following actions:
To display the conversation history to the authenticated customers, in
the Conversation history section, select the
Show previous interactions to authenticated
customers check box.
Note: The Conversation
history section is available from the 8.7.2 version.
To view the token, on the Security tab, in the
JWT Secret section, click Show JWT
Secret.
You can use JWT API token to sign requests when the Digital Messaging service
and your Android app communicate.
On the Installation tab, in the Mobile
SDK section, perform the following steps:
Copy the generated values for Api id and
Api url to a local file or the
clipboard.
You later specify these values in the Java code for Mobile app.
Download Pega Mobile Messaging SDK for iOS to your computer by clicking
Download iOS SDK.
Download Pega Mobile Messaging SDK for Android to your computer by
clicking Download Android SDK.
On the Push notifications tab, perform the following
steps:
In the URL field, enter the webhook URL for your
Android App that can receive messages when the user is away from the
app, and then click Save.
SDK does not send push notifications directly to the device.
In the Custom headers section, in the
Header key field, enter a header key.
In the Header value field, enter a header
value.
Click Add.
To add more headers, repeat steps 6.b through
6.d.
What to do next:
Download the Mobile Messaging SDK for iOS from step 5b, and
then configure it in the Xcode project.
Download the Pega Mobile Messaging SDK for Android from step 5c, and then
configure it in Android Studio for your Android app project.