diff --git a/samples/react-native-group-chat/app.json b/samples/react-native-group-chat/app.json index 1958db71..10c11ea1 100644 --- a/samples/react-native-group-chat/app.json +++ b/samples/react-native-group-chat/app.json @@ -1,6 +1,6 @@ { "expo": { - "name": "react-native-group-chat", + "name": "Chat SDK", "slug": "react-native-group-chat", "version": "1.0.0", "orientation": "portrait", @@ -14,14 +14,14 @@ "assetBundlePatterns": ["**/*"], "ios": { "supportsTablet": true, - "bundleIdentifier": "com.pubnub.chat-sdk" + "bundleIdentifier": "com.pubnub.chatsdk" }, "android": { "adaptiveIcon": { "foregroundImage": "./assets/adaptive-icon.png", "backgroundColor": "#ffffff" }, - "package": "com.piotr.suwala.reactnativegroupchat" + "package": "com.pubnub.chatsdk" }, "web": { "favicon": "./assets/favicon.png" diff --git a/samples/react-native-group-chat/assets/adaptive-icon.png b/samples/react-native-group-chat/assets/adaptive-icon.png index 03d6f6b6..0b1c9d74 100644 Binary files a/samples/react-native-group-chat/assets/adaptive-icon.png and b/samples/react-native-group-chat/assets/adaptive-icon.png differ diff --git a/samples/react-native-group-chat/assets/icon.png b/samples/react-native-group-chat/assets/icon.png index a0b1526f..0b1c9d74 100644 Binary files a/samples/react-native-group-chat/assets/icon.png and b/samples/react-native-group-chat/assets/icon.png differ diff --git a/samples/react-native-group-chat/screens/ordinary/login-screen/LoginScreen.tsx b/samples/react-native-group-chat/screens/ordinary/login-screen/LoginScreen.tsx index 74a17e2b..56285556 100644 --- a/samples/react-native-group-chat/screens/ordinary/login-screen/LoginScreen.tsx +++ b/samples/react-native-group-chat/screens/ordinary/login-screen/LoginScreen.tsx @@ -7,7 +7,7 @@ import { RootStackParamList } from "../../../types" import ChatIcon from "../../../assets/chat.svg" export function LoginScreen({ navigation }: StackScreenProps) { - const [name, setName] = useState("test-user") + const [name, setName] = useState("test-user-" + Math.floor(Math.random() * 999)) return ( - +