Skip to content

How do I make Infobip Voice and Mobile Messaging SDK work together?

Olga Koroleva edited this page Dec 20, 2021 · 1 revision
  1. Implement Mobile Messaging library following Mobile App Messaging quick start

Notice

In Step 3 of Android Quick start guide don't add <string name="google_app_id">SENDER ID</string> to values/strings.xml because it will be read from your google-services.json file by Google Services Gradle Plugin

  1. Implement WebRTC library following WebRTC quick start
  2. Resulting app/build.gradle file should have following Infobip dependencies:
dependencies {
    ...
    implementation ('com.infobip:infobip-mobile-messaging-android-sdk:+@aar') {
        transitive = true
    }
    implementation ('com.infobip:infobip-rtc:+@aar') {
            transitive = true
    }
}
  1. Firebase setup of WebRTC library requires creating of your own FcmService class which extends FirebaseMessagingService, so you'll need to follow this article for Mobile Messaging library to process push messages
Clone this wiki locally