CometChatCalls
class wherever you want to use CometChatCalls
.
@cometchat-pro/react-native-calls
version starting 3.0.0, please make sure you add the following additional dependencies & permissions.
buildscript
section in ext
block make sure you have set minSdkVersion to 24.
12.0.
ios/App
folder and run pod install
this will create an App.xcworkspace
open this and run the app.
CallAppSettings
class allows you to configure three settings:
init()
before calling any other method from CometChatCalls. We suggest you call the init()
method on app startup, preferably in the index.js
file.
APP_ID
with your CometChat AppID
and REGION
with your App Region in the above code.
Parameter | Description |
---|---|
callAppSettings | An object of the CallAppSettings class |