Skip to content

Commit 2f425f4

Browse files
committed
feat(lib): rm
1 parent 6136ee1 commit 2f425f4

File tree

1 file changed

+2
-3
lines changed
  • samples/react-native-group-chat

1 file changed

+2
-3
lines changed

samples/react-native-group-chat/App.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,8 @@ function MainRoutesNavigator({ route }: StackScreenProps<RootStackParamList, "ma
5757
const { authKey } = await getAuthKey(name || "test-user")
5858

5959
const chat = await Chat.init({
60-
publishKey: "pub-c-37da8074-b084-4e24-8550-4b5294c437c1", // process.env.EXPO_PUBLIC_PUBNUB_PUB_KEY || "demo",
61-
subscribeKey: "sub-c-3c30ba92-6909-44da-a2d0-65bb8515b0b8", // process.env.EXPO_PUBLIC_PUBNUB_SUB_KEY || "demo",
62-
origin: "ingress-http.pdx1.aws.int.ps.pn",
60+
publishKey: process.env.EXPO_PUBLIC_PUBNUB_PUB_KEY || "demo",
61+
subscribeKey: process.env.EXPO_PUBLIC_PUBNUB_SUB_KEY || "demo",
6362
userId: name || "test-user",
6463
typingTimeout: 2000,
6564
storeUserActivityTimestamps: true,

0 commit comments

Comments
 (0)