From bd8a59aff0df99dcf9a61833be2de6120c9a784d Mon Sep 17 00:00:00 2001 From: Piotr Suwala Date: Tue, 19 Sep 2023 10:20:44 +0200 Subject: [PATCH] feat(lib): remove keys --- samples/react-native-group-chat/App.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/react-native-group-chat/App.tsx b/samples/react-native-group-chat/App.tsx index c4fc6dc..1739085 100644 --- a/samples/react-native-group-chat/App.tsx +++ b/samples/react-native-group-chat/App.tsx @@ -42,10 +42,8 @@ function TabNavigator({ route }: StackScreenProps) { useEffect(() => { async function init() { const chat = await Chat.init({ - publishKey: - process.env.EXPO_PUBLIC_PUBNUB_PUB_KEY || "pub-c-0457cb83-0786-43df-bc70-723b16a6e816", - subscribeKey: - process.env.EXPO_PUBLIC_PUBNUB_SUB_KEY || "sub-c-e654122d-85b5-49a6-a3dd-8ebc93c882de", + publishKey: process.env.EXPO_PUBLIC_PUBNUB_PUB_KEY, + subscribeKey: process.env.EXPO_PUBLIC_PUBNUB_SUB_KEY, userId: name || "test-user", typingTimeout: 2000, storeUserActivityTimestamps: true,