You can customize the UI by subclassing UI elements and then injecting them into the framework. You should always do this just after Chat SDK activation. Checkout the example here. Override Activity For example, to override the chat activity you would subclass the PostRegistrationActivity then use: ChatSDKUI.setPostRegistrationActivity(CustomPostRegistrationActivity.class);
1/7/2021Add modules to your app-level build.gradle file Android Auto Support implementation "sdk.chat:mod-auto:[latest-version]" Allow users to have multiple profile pictures implementation "sdk.chat:mod-profile-pictures:[latest-version]"
12/4/2020Android X Make sure you've added the following to your gradle.properties file: android.useAndroidX=true android.enableJetifier=true Inherit from Chat SDK theme The Chat SDK uses custom attributes so you need to make sure that your app inherits from the Chat SDK theme. <style name="AppTheme" parent="ChatSDKTheme">
12/4/2020Add the following to your proguard-rules.pro: # ChatSDK -keep public class sdk.chat.**, sdk.guru.**, firestream.chat.**, app.xmpp.**, co.chatsdk.** { public protected *; } -keep class org.ocpsoft.prettytime.i18n.** -keep class .R
7/27/2020or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up