Module Configuration
You can activate a module using:
1
Module module = ContactBookModule.shared();
Copied!
Modules can also be configured:
1
Module module = FirebaseNearbyUsersModule.builder()
2
.setMaxDistance(100)
3
.build();
Copied!
Modules can be added during Chat SDK initialization:
1
ChatSDK.builder()
2
...
3
.build()
4
.addModule(module)
5
...
Copied!
Or if you're using quick start:
1
ChatSDKFirebase.quickStart(..., module);
Copied!
Last modified 10mo ago
Copy link