Smooch SDK for Android

Smooch Android SDK

  • Owner: zendesk/sunshine-conversations-android
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Smooch SDK for Android

Bintray
License

Sign up and get an integration id: https://app.smooch.io/signup.

Add the dependencies right into your build.gradle file

implementation 'io.smooch:core:9.3.0'
implementation 'io.smooch:ui:9.3.0'

Initialize Smooch in your Application class

import android.app.Application;
import io.smooch.core.Settings;
import io.smooch.core.Smooch;
import io.smooch.core.SmoochCallback;

public class YourApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        Smooch.init(this, new Settings("YOUR_INTEGRATION_ID"), new SmoochCallback<InitializationStatus>() {
            @Override
            public void run(Response<InitializationStatus> response) {
                // Handle init result
            }
        });
    }
}

Show the ConversationActivity

import io.smooch.ui.ConversationActivity;

...

ConversationActivity.builder().show(this);

For more details see our docs and full install guide.

Dependencies

Smooch uses the following dependencies:

    // Core dependencies
    implementation 'com.google.firebase:firebase-messaging:23.0.0'
    implementation 'com.google.code.gson:gson:2.10.1'
    implementation 'com.squareup.okhttp3:okhttp:3.12.6'
    implementation 'com.squareup.retrofit2:retrofit:2.6.2'
    implementation 'com.squareup.retrofit2:converter-gson:2.6.2'
    implementation 'com.google.dagger:dagger:2.30.1'

    annotationProcessor 'com.google.dagger:dagger-compiler:2.30.1'

    // UI dependencies
    implementation 'com.github.bumptech.glide:glide:4.11.0'
    implementation 'com.google.android.gms:play-services-location:21.0.1'
    implementation 'com.davemorrissey.labs:subsampling-scale-image-view-androidx:3.10.0'

If your app also uses Firebase or support libraries, their version must match the ones used by Smooch to avoid runtime errors. If you need to update the version used by Smooch to match yours, you can do so by updating the dependencies in your app's build.gradle file.


dependencies {
    // Smooch
    implementation 'io.smooch:core:9.3.0'
    implementation 'io.smooch:ui:9.3.0'

    // Libraries imported by Smooch
    implementation "com.google.firebase:firebase-messaging:23.0.0"
    implementation "androidx.appcompat:appcompat:1.3.1"
    implementation "androidx.legacy:legacy-support-v4:1.0.0"
    implementation "androidx.exifinterface:exifinterface:1.3.3"
    implementation "androidx.recyclerview:recyclerview:1.2.1"
    implementation "androidx.media:media:1.4.3"
    implementation "com.google.android.gms:play-services-location:21.0.1"

    // Your other app dependencies
}

Main metrics

Overview
Name With Ownerzendesk/sunshine-conversations-android
Primary Language
Program language (Language Count: 0)
Platform
License:Other
所有者活动
Created At2015-08-18 21:48:16
Pushed At2025-05-08 12:34:20
Last Commit At2025-05-08 12:34:17
Release Count164
Last Release Nameui/9.8.0 (Posted on )
First Release Name1.0.0 (Posted on )
用户参与
Stargazers Count43
Watchers Count87
Fork Count27
Commits Count199
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count5
Pull Requests Open Count0
Pull Requests Close Count6
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private