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);

Last updated