We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6136ee1 commit 2f425f4Copy full SHA for 2f425f4
samples/react-native-group-chat/App.tsx
@@ -57,9 +57,8 @@ function MainRoutesNavigator({ route }: StackScreenProps<RootStackParamList, "ma
57
const { authKey } = await getAuthKey(name || "test-user")
58
59
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",
+ publishKey: process.env.EXPO_PUBLIC_PUBNUB_PUB_KEY || "demo",
+ subscribeKey: process.env.EXPO_PUBLIC_PUBNUB_SUB_KEY || "demo",
63
userId: name || "test-user",
64
typingTimeout: 2000,
65
storeUserActivityTimestamps: true,
0 commit comments