Sign up and get an app token: https://app.smooch.io/signup.
Add the dependencies right into your build.gradle
file
compile 'com.google.android.gms:play-services-gcm:7.5.0'
compile 'com.google.code.gson:gson:2.3.1'
compile 'com.squareup.okhttp:okhttp:2.4.0'
compile 'io.smooch:core:latest.release'
compile 'io.smooch:ui:latest.release'
Initialize Smooch in your Application class
import android.app.Application;
import io.smooch.core.Smooch;
public class YourApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
Smooch.init(this, "YOUR_APP_TOKEN");
}
}
Show the ConversationActivity
import io.smooch.ui.ConversationActivity;
...
ConversationActivity.show(this);
For more details see our docs and full install guide.
SupportKit is now Smooch!
For a list of changes and a guide to upgrade, refer to our 2.0.0 release.