We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8865f15 commit 0e1409bCopy full SHA for 0e1409b
CometChatWorkspace/App.js
@@ -9,6 +9,8 @@ import StackNavigator from './src/StackNavigator';
9
import { UserContextProvider } from './UserContext';
10
import { CometChatIncomingCall } from '@cometchat/chat-uikit-react-native';
11
import { CometChatUIEventHandler } from '@cometchat/chat-uikit-react-native';
12
+import { metaInfo } from './src/metaInfo';
13
+
14
var listnerID = "UNIQUE_LISTENER_ID";
15
16
const App = () => {
@@ -35,6 +37,7 @@ const App = () => {
35
37
region: COMETCHAT_CONSTANTS.REGION,
36
38
})
39
.then(() => {
40
+ try{CometChat.setDemoMetaInfo(metaInfo)}catch(err){}
41
if (CometChat.setSource) {
42
CometChat.setSource('ui-kit', Platform.OS, 'react-native');
43
}
0 commit comments