-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Pallab Gain edited this page Nov 7, 2025
·
11 revisions
- We need to add the following maven repository to the project dependency repositories
maven { url "https://raw.githubusercontent.com/somia/ninchat-sdk-android/master" } - Then we need to add the following dependency to the project dependencies
implementation ("com.ninchat:sdk:0.16.2")
If we are using v0.15.1, we will be encountering multiple dex issue if the host app and SDK use same react-native libraries. List of react-native libraries that SDK depends on are.
"@react-native-async-storage/async-storage": "1.17.3",
"react-native-background-timer": "2.4.1",
"react-native-calendar-events": "2.2.0",
"react-native-default-preference": "1.4.4",
"react-native-device-info": "8.4.8",
"react-native-gesture-handler": "2.9.0",
"react-native-get-random-values": "1.7.2",
"react-native-immersive": "2.0.0",
"react-native-keep-awake": "4.0.0",
"react-native-orientation-locker": "1.5.0",
"react-native-pager-view": "5.4.9",
"react-native-paper": "5.1.2",
"react-native-performance": "2.1.0",
"react-native-safe-area-context": "4.4.1",
"react-native-screens": "3.13.1",
"react-native-sound": "0.11.1",
"react-native-splash-screen": "3.3.0",
"react-native-svg": "12.4.3",
"react-native-video": "https://git@github.com/react-native-video/react-native-video#7c48ae7c8544b2b537fb60194e9620b9fcceae52",
"react-native-webrtc": "106.0.5",
"react-native-webview": "11.15.1",One possible approach to solve this issue is by updating our Gradle script. Gradle allows us to exclude certain sub-dependencies. When we know which libraries are causing the conflict, we can exclude them using mentioned command
implementation ("com.ninchat:sdk:0.15.1") {
//exclude group: 'com.facebook.react', module:'react-native-community-async-storage'
//exclude group: 'com.facebook.react', module:'react-native-community_netinfo'
exclude group: 'com.facebook.react', module:'react-native-svg'
transitive true
}- Home
- Installation
- SDK Permission
- How to integrate the SDK
-
Overriding SDK assets
- Old resources doc ( < SDK 0.10.0 )
- Queue list view
- In Queue view element
- Command / Chat view elements
- Review / Rating view
- Dialogue(s)
- Titlebar
- Questionnaire
- Buttons
- Example Integration
- Building the Go library
- Building SDK .aar
- Contact Us
- Licenses