Adding Modules from source
iOS
To add an iOS module from source, do the following.
Unzip the module archive to a known location on your system. We will use the path to the module folder later
Add the licensing pod to your Podspec:
pod "Licensing", :path => "Path to module folder"3. Add the module pod:
pod "MessageModules/StickerMessage", :path => "Path to module folder"
pod "MessageModules/VideoMessage", :path => "Path to module folder"
pod "MessageModules/AudioMessage", :path => "Path to module folder"
pod "MessageModules/KeyboardOverlayOptions", :path => "Path to module folder"
pod "MessageModules/FileMessage", :path => "Path to module folder"
pod "FirebaseModules/FirebaseBlocking", :path => "Path to module folder"
pod "FirebaseModules/FirebaseLastOnline", :path => "Path to module folder"
pod "FirebaseModules/FirebaseTypingIndicator", :path => "Path to module folder"
pod "FirebaseModules/FirebaseReadReceipts", :path => "Path to module folder"
pod "FirebaseNearbyUsersModule/FirebaseNearbyUsers", :path => "Path to module folder"
pod "ContactBookModule/ContactBook", :path => "Path to module folder"
pod "EncryptionModule/Encryption", :path => "Path to module folder"
pod "ChatSDKXMPP/XMPPAdapter", :path => "Path to module folder"
pod "ChatSDKXMPP/XMPPReadReceipts", :path => "Path to module folder"4. Run pod install 5. Import the module in your app delegate:
6. Enable the module:
Android
Unzip the archive to a known location
Open Android Studio
Click File -> New -> Import Module
Select the module directory
Enable the module. In your main application class add:
Last updated
Was this helpful?