Smooch SDK for Android

Smooch Android SDK

  • 所有者: zendesk/sunshine-conversations-android
  • 平台:
  • 许可证: Other
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

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
}

主要指标

概览
名称与所有者zendesk/sunshine-conversations-android
主编程语言
编程语言 (语言数: 0)
平台
许可证Other
所有者活动
创建于2015-08-18 21:48:16
推送于2025-05-08 12:34:20
最后一次提交2025-05-08 12:34:17
发布数164
最新版本名称ui/9.8.0 (发布于 )
第一版名称1.0.0 (发布于 )
用户参与
星数43
关注者数87
派生数27
提交数199
已启用问题?
问题数0
打开的问题数0
拉请求数5
打开的拉请求数0
关闭的拉请求数6
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?