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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?