How to manually link the react native chat and cal library?

Hello i just found out that in the documentation. i cant find the section on manually linking the library for the react native libraries, esp the calling library, since I assumed the chat wont need to be linked. is there any resource or am I missing somewhere in the documentation? if I do run npx react-native links for the call library and I notice it adds:
ios:

pod 'react-native-cometchat-rtc', :path => '../node_modules/@cometchat-pro/react-native-calls'

android:

// settings.gradle
include ':@cometchat-pro_react-native-calls'
project(':@cometchat-pro_react-native-calls').projectDir = new File(rootProject.projectDir, '../node_modules/@cometchat-pro/react-native-calls/android')

// app/build.gradle
implementation project(':@cometchat-pro_react-native-calls')

is there suppose to be something else to add to MainApplication.java cos I cant find anything added there? and the android settings is fine in development build until I do ./gradlew app:assembleRelease
when the calling libraries would crash cos of it conflict with my internal netinfo and async storage libraries. so i had to change my app/build.gradle to like this:

implementation(project(':cometchat-pro_react-native-calls')) {
        exclude group: 'com.facebook.react', module: 'react-native-community-async-storage'
        exclude group: 'com.facebook.react', module: 'react-native-community_netinfo'
    }

but the new app/build.gradle would crash my development build. can u tell me how to solve this conflict of settings between dev and release build?