Skip to content

Commit

Permalink
feat(lib): revert demo keys
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-suwala committed Sep 19, 2023
1 parent 35bc299 commit 80d86c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/react-native-group-chat/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ function TabNavigator({ route }: StackScreenProps<RootStackParamList, "tabs">) {
useEffect(() => {
async function init() {
const chat = await Chat.init({
publishKey: process.env.EXPO_PUBLIC_PUBNUB_PUB_KEY,
subscribeKey: process.env.EXPO_PUBLIC_PUBNUB_SUB_KEY,
publishKey: process.env.EXPO_PUBLIC_PUBNUB_PUB_KEY || "demo",
subscribeKey: process.env.EXPO_PUBLIC_PUBNUB_SUB_KEY || "demo",
userId: name || "test-user",
typingTimeout: 2000,
storeUserActivityTimestamps: true,
Expand Down

0 comments on commit 80d86c8

Please sign in to comment.