🤖
Android
  • Chat SDK Android
  • Getting Started
    • Chat SDK Quickstart
    • Add the Chat SDK to a Firebase app
    • Add the Chat SDK to a non-Firebase app
  • Setup
    • Add Chat SDK to your project
    • Firebase Setup
    • Chat SDK Initialization
    • Set the Chat SDK Theme
    • Enable Location Messages
    • Authentication Screen
    • Add Additional Modules
    • Module Configuration
    • Proguard
  • API
    • Overriding Activities and Fragments
    • Events
    • Theming
    • Customizing the Icons
    • Tab Customization
    • Add a Chat Option
    • Message Customization
    • Integrating Chat SDK User profiles with your app
    • Overriding the Push Notification Handler
    • Handling Structured Meta Data
  • Chat SDK v4
    • Development Guide
    • Updating from v4 to v5
Powered by GitBook
On this page

Was this helpful?

  1. Setup

Module Configuration

You can activate a module using:

Module module = ContactBookModule.shared();

Modules can also be configured:

Module module = FirebaseNearbyUsersModule.builder()
        .setMaxDistance(100)
        .build();

Modules can be added during Chat SDK initialization:

ChatSDK.builder()
        ...
        .build()
        .addModule(module)
        ...

Or if you're using quick start:

ChatSDKFirebase.quickStart(..., module);
PreviousAdd Additional ModulesNextProguard

Last updated 4 years ago

Was this helpful?