├── .gitignore ├── README.md ├── examples ├── SampleApp │ ├── .bundle │ │ └── config │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc.js │ ├── .watchmanconfig │ ├── App.tsx │ ├── AppErrorBoundary.tsx │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.md │ ├── android │ │ ├── app │ │ │ ├── build.gradle │ │ │ ├── debug.keystore │ │ │ ├── proguard-rules.pro │ │ │ └── src │ │ │ │ ├── debug │ │ │ │ └── AndroidManifest.xml │ │ │ │ └── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── java │ │ │ │ └── com │ │ │ │ │ └── masterapp │ │ │ │ │ ├── MainActivity.kt │ │ │ │ │ └── MainApplication.kt │ │ │ │ └── res │ │ │ │ ├── drawable │ │ │ │ ├── ic_notification.png │ │ │ │ ├── ic_notification2.png │ │ │ │ ├── ic_notification4.png │ │ │ │ └── rn_edit_text_material.xml │ │ │ │ ├── mipmap-hdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-mdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── values │ │ │ │ ├── colors.xml │ │ │ │ ├── strings.xml │ │ │ │ └── styles.xml │ │ ├── build.gradle │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── gradlew │ │ ├── gradlew.bat │ │ └── settings.gradle │ ├── app.json │ ├── babel.config.js │ ├── gesture-handler.js │ ├── gesture-handler.native.js │ ├── index.js │ ├── ios │ │ ├── .xcode.env │ │ ├── CometChat React native.png │ │ ├── Podfile │ │ ├── Podfile.lock │ │ ├── SampleApp.xcodeproj │ │ │ ├── project.pbxproj │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── SampleApp.xcscheme │ │ ├── SampleApp.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── WorkspaceSettings.xcsettings │ │ └── SampleApp │ │ │ ├── AppDelegate.swift │ │ │ ├── Images.xcassets │ │ │ ├── AppIcon.appiconset │ │ │ │ ├── CometChat React native.png │ │ │ │ ├── CometChat_React_Native_120x120 1.png │ │ │ │ ├── CometChat_React_Native_120x120.png │ │ │ │ ├── CometChat_React_Native_180x180.png │ │ │ │ ├── CometChat_React_Native_40x40.png │ │ │ │ ├── CometChat_React_Native_58x58.png │ │ │ │ ├── CometChat_React_Native_60x60.png │ │ │ │ ├── CometChat_React_Native_80x80.png │ │ │ │ ├── CometChat_React_Native_87x87.png │ │ │ │ └── Contents.json │ │ │ └── Contents.json │ │ │ ├── Info.plist │ │ │ ├── LaunchScreen.storyboard │ │ │ ├── PrivacyInfo.xcprivacy │ │ │ └── SampleApp.entitlements │ ├── jest.config.js │ ├── metro.config.js │ ├── package.json │ ├── src │ │ ├── assets │ │ │ └── icons │ │ │ │ ├── AccountCircle.tsx │ │ │ │ ├── AddComment.tsx │ │ │ │ ├── ArrowBack.tsx │ │ │ │ ├── Block.tsx │ │ │ │ ├── Call.tsx │ │ │ │ ├── CallFill.tsx │ │ │ │ ├── Chat.tsx │ │ │ │ ├── Chatfill.tsx │ │ │ │ ├── CheckFill.tsx │ │ │ │ ├── Close.tsx │ │ │ │ ├── Dark.png │ │ │ │ ├── Delete.tsx │ │ │ │ ├── EU.png │ │ │ │ ├── Group.tsx │ │ │ │ ├── GroupAdd.tsx │ │ │ │ ├── GroupFill.tsx │ │ │ │ ├── India.png │ │ │ │ ├── Info.tsx │ │ │ │ ├── InfoIcon.tsx │ │ │ │ ├── Light.png │ │ │ │ ├── Logout.tsx │ │ │ │ ├── Person.tsx │ │ │ │ ├── PersonAdd.tsx │ │ │ │ ├── PersonFill.tsx │ │ │ │ ├── PersonOff.tsx │ │ │ │ ├── US.png │ │ │ │ ├── UserEmptyIcon.tsx │ │ │ │ ├── VideoCam.tsx │ │ │ │ ├── bug.png │ │ │ │ ├── captainamerica.png │ │ │ │ ├── cyclops.png │ │ │ │ ├── google.png │ │ │ │ ├── ironman.png │ │ │ │ ├── spiderman.png │ │ │ │ └── wolverine.png │ │ ├── components │ │ │ ├── calls │ │ │ │ ├── CallDetailHelper.tsx │ │ │ │ ├── CallDetails.tsx │ │ │ │ ├── CallHistory.tsx │ │ │ │ ├── CallLogDetailHeader.tsx │ │ │ │ ├── CallParticipants.tsx │ │ │ │ ├── CallRecordings.tsx │ │ │ │ ├── Calls.tsx │ │ │ │ └── icons │ │ │ │ │ ├── call-end-fill.tsx │ │ │ │ │ ├── call-end.tsx │ │ │ │ │ ├── call-fill.tsx │ │ │ │ │ ├── call-log-fill.tsx │ │ │ │ │ ├── call-log.tsx │ │ │ │ │ ├── call-made-fill.tsx │ │ │ │ │ ├── call-made.tsx │ │ │ │ │ ├── call-missed-fill.tsx │ │ │ │ │ ├── call-missed-outgoing-fill.tsx │ │ │ │ │ ├── call-missed-outgoing.tsx │ │ │ │ │ ├── call-missed.tsx │ │ │ │ │ ├── call-received-fill.tsx │ │ │ │ │ ├── call-received.tsx │ │ │ │ │ ├── call.tsx │ │ │ │ │ ├── cancel-fill.tsx │ │ │ │ │ ├── index.tsx │ │ │ │ │ └── play-arrow.tsx │ │ │ ├── conversations │ │ │ │ ├── helper │ │ │ │ │ └── GroupListeners.ts │ │ │ │ └── screens │ │ │ │ │ ├── AddMember.tsx │ │ │ │ │ ├── AddMemberStyles.tsx │ │ │ │ │ ├── BannedMember.tsx │ │ │ │ │ ├── BannedMemberStyles.tsx │ │ │ │ │ ├── Conversations.tsx │ │ │ │ │ ├── CreateConversation.tsx │ │ │ │ │ ├── GroupInfo.tsx │ │ │ │ │ ├── GroupInfoStyles.tsx │ │ │ │ │ ├── Messages.tsx │ │ │ │ │ ├── OngoingCallScreen.tsx │ │ │ │ │ ├── ThreadView.tsx │ │ │ │ │ ├── TransferOwnership.tsx │ │ │ │ │ ├── TransferOwnershipStyles.tsx │ │ │ │ │ ├── UserInfo.tsx │ │ │ │ │ ├── UserInfoStyles.tsx │ │ │ │ │ └── ViewMembers.tsx │ │ │ ├── groups │ │ │ │ ├── GroupHelper.tsx │ │ │ │ ├── Groups.tsx │ │ │ │ └── styles.ts │ │ │ ├── login │ │ │ │ ├── AppCredentials.tsx │ │ │ │ ├── SampleUser.tsx │ │ │ │ └── Skeleton.tsx │ │ │ └── users │ │ │ │ └── Users.tsx │ │ ├── declarations.d.ts │ │ ├── navigation │ │ │ ├── AuthContext.tsx │ │ │ ├── BottomTabNavigator.tsx │ │ │ ├── NavigationService.ts │ │ │ ├── RootStackNavigator.tsx │ │ │ ├── helper.tsx │ │ │ ├── stacks │ │ │ │ ├── CallsStackNavigator.tsx │ │ │ │ ├── ChatStackNavigator.tsx │ │ │ │ ├── GroupStackNavigator.tsx │ │ │ │ └── UserStackNavigator.tsx │ │ │ └── types.ts │ │ └── utils │ │ │ ├── ActiveChatContext.tsx │ │ │ ├── AppConstants.tsx │ │ │ ├── CommonUtils.ts │ │ │ ├── TooltipMenu.tsx │ │ │ └── helper.ts │ └── tsconfig.json └── SampleAppWithPushNotifications │ ├── .bundle │ └── config │ ├── .eslintrc.js │ ├── .gitignore │ ├── .prettierrc.js │ ├── .watchmanconfig │ ├── App.tsx │ ├── AppErrorBoundary.tsx │ ├── Gemfile │ ├── Gemfile.lock │ ├── README.md │ ├── android │ ├── app │ │ ├── build.gradle │ │ ├── debug.keystore │ │ ├── google-services.json │ │ ├── proguard-rules.pro │ │ └── src │ │ │ ├── debug │ │ │ └── AndroidManifest.xml │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── masterapp │ │ │ │ ├── MainActivity.kt │ │ │ │ └── MainApplication.kt │ │ │ └── res │ │ │ ├── drawable │ │ │ ├── ic_notification.png │ │ │ ├── ic_notification2.png │ │ │ ├── ic_notification4.png │ │ │ └── rn_edit_text_material.xml │ │ │ ├── mipmap-hdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-mdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ ├── mipmap-xxxhdpi │ │ │ ├── ic_launcher.png │ │ │ └── ic_launcher_round.png │ │ │ └── values │ │ │ ├── colors.xml │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ └── settings.gradle │ ├── app.json │ ├── babel.config.js │ ├── gesture-handler.js │ ├── gesture-handler.native.js │ ├── index.js │ ├── ios │ ├── .xcode.env │ ├── CometChat React native.png │ ├── Podfile │ ├── Podfile.lock │ ├── SampleAppWithPushNotifications-Bridging-Header.h │ ├── SampleAppWithPushNotifications.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── SampleAppWithPushNotifications.xcscheme │ ├── SampleAppWithPushNotifications.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── WorkspaceSettings.xcsettings │ └── SampleAppWithPushNotifications │ │ ├── AppDelegate.swift │ │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ ├── CometChat React native.png │ │ │ ├── CometChat_React_Native_120x120 1.png │ │ │ ├── CometChat_React_Native_120x120.png │ │ │ ├── CometChat_React_Native_180x180.png │ │ │ ├── CometChat_React_Native_40x40.png │ │ │ ├── CometChat_React_Native_58x58.png │ │ │ ├── CometChat_React_Native_60x60.png │ │ │ ├── CometChat_React_Native_80x80.png │ │ │ ├── CometChat_React_Native_87x87.png │ │ │ └── Contents.json │ │ └── Contents.json │ │ ├── Info.plist │ │ ├── LaunchScreen.storyboard │ │ ├── PrivacyInfo.xcprivacy │ │ ├── SampleAppWithPushNotifications-Bridging-Header.h │ │ └── SampleAppWithPushNotifications.entitlements │ ├── jest.config.js │ ├── metro.config.js │ ├── package.json │ ├── src │ ├── assets │ │ └── icons │ │ │ ├── AccountCircle.tsx │ │ │ ├── AddComment.tsx │ │ │ ├── ArrowBack.tsx │ │ │ ├── Block.tsx │ │ │ ├── Call.tsx │ │ │ ├── CallFill.tsx │ │ │ ├── Chat.tsx │ │ │ ├── Chatfill.tsx │ │ │ ├── CheckFill.tsx │ │ │ ├── Close.tsx │ │ │ ├── Dark.png │ │ │ ├── Delete.tsx │ │ │ ├── EU.png │ │ │ ├── Group.tsx │ │ │ ├── GroupAdd.tsx │ │ │ ├── GroupFill.tsx │ │ │ ├── India.png │ │ │ ├── Info.tsx │ │ │ ├── InfoIcon.tsx │ │ │ ├── Light.png │ │ │ ├── Logout.tsx │ │ │ ├── Person.tsx │ │ │ ├── PersonAdd.tsx │ │ │ ├── PersonFill.tsx │ │ │ ├── PersonOff.tsx │ │ │ ├── US.png │ │ │ ├── UserEmptyIcon.tsx │ │ │ ├── VideoCam.tsx │ │ │ ├── bug.png │ │ │ ├── captainamerica.png │ │ │ ├── cyclops.png │ │ │ ├── google.png │ │ │ ├── ironman.png │ │ │ ├── spiderman.png │ │ │ └── wolverine.png │ ├── components │ │ ├── calls │ │ │ ├── CallDetailHelper.tsx │ │ │ ├── CallDetails.tsx │ │ │ ├── CallHistory.tsx │ │ │ ├── CallLogDetailHeader.tsx │ │ │ ├── CallParticipants.tsx │ │ │ ├── CallRecordings.tsx │ │ │ ├── Calls.tsx │ │ │ └── icons │ │ │ │ ├── call-end-fill.tsx │ │ │ │ ├── call-end.tsx │ │ │ │ ├── call-fill.tsx │ │ │ │ ├── call-log-fill.tsx │ │ │ │ ├── call-log.tsx │ │ │ │ ├── call-made-fill.tsx │ │ │ │ ├── call-made.tsx │ │ │ │ ├── call-missed-fill.tsx │ │ │ │ ├── call-missed-outgoing-fill.tsx │ │ │ │ ├── call-missed-outgoing.tsx │ │ │ │ ├── call-missed.tsx │ │ │ │ ├── call-received-fill.tsx │ │ │ │ ├── call-received.tsx │ │ │ │ ├── call.tsx │ │ │ │ ├── cancel-fill.tsx │ │ │ │ ├── index.tsx │ │ │ │ └── play-arrow.tsx │ │ ├── conversations │ │ │ ├── helper │ │ │ │ └── GroupListeners.ts │ │ │ └── screens │ │ │ │ ├── AddMember.tsx │ │ │ │ ├── AddMemberStyles.tsx │ │ │ │ ├── BannedMember.tsx │ │ │ │ ├── BannedMemberStyles.tsx │ │ │ │ ├── Conversations.tsx │ │ │ │ ├── CreateConversation.tsx │ │ │ │ ├── GroupInfo.tsx │ │ │ │ ├── GroupInfoStyles.tsx │ │ │ │ ├── Messages.tsx │ │ │ │ ├── OngoingCallScreen.tsx │ │ │ │ ├── ThreadView.tsx │ │ │ │ ├── TransferOwnership.tsx │ │ │ │ ├── TransferOwnershipStyles.tsx │ │ │ │ ├── UserInfo.tsx │ │ │ │ ├── UserInfoStyles.tsx │ │ │ │ └── ViewMembers.tsx │ │ ├── groups │ │ │ ├── GroupHelper.tsx │ │ │ ├── Groups.tsx │ │ │ └── styles.ts │ │ ├── login │ │ │ ├── AppCredentials.tsx │ │ │ ├── SampleUser.tsx │ │ │ └── Skeleton.tsx │ │ └── users │ │ │ └── Users.tsx │ ├── declarations.d.ts │ ├── navigation │ │ ├── AuthContext.tsx │ │ ├── BottomTabNavigator.tsx │ │ ├── NavigationService.ts │ │ ├── RootStackNavigator.tsx │ │ ├── helper.tsx │ │ ├── stacks │ │ │ ├── CallsStackNavigator.tsx │ │ │ ├── ChatStackNavigator.tsx │ │ │ ├── GroupStackNavigator.tsx │ │ │ └── UserStackNavigator.tsx │ │ └── types.ts │ └── utils │ │ ├── ActiveChatContext.tsx │ │ ├── AppConstants.tsx │ │ ├── CommonUtils.ts │ │ ├── PushNotification.tsx │ │ ├── TooltipMenu.tsx │ │ ├── VoipNotificationHandler.ts │ │ └── helper.ts │ └── tsconfig.json ├── package-lock.json ├── package.json ├── packages └── ChatUiKit │ ├── .gitignore │ ├── .prettierrc.json │ ├── CONTRIBUTING.md │ ├── LICENSE.md │ ├── README.md │ ├── SECURITY.md │ ├── SUPPORT.md │ ├── android │ ├── .settings │ │ └── org.eclipse.buildship.core.prefs │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── settings.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ ├── java │ │ └── com │ │ │ ├── reactnativecometchatuikit │ │ │ ├── CometChatImageViewer.java │ │ │ ├── CometChatSoundModule.java │ │ │ ├── CometChatVideoPlayer.java │ │ │ ├── CometChatWebView.java │ │ │ ├── CometchatUiKitModule.java │ │ │ ├── CometchatUiKitPackage.java │ │ │ ├── FileManager.java │ │ │ ├── ImageManager.java │ │ │ ├── ReactVideoView.java │ │ │ ├── ReactVideoViewManager.java │ │ │ ├── SoundPlayer.java │ │ │ ├── TimeZoneCodeManager.java │ │ │ └── WebViewManager.java │ │ │ ├── scalablevideoview │ │ │ ├── BuildConfig.java │ │ │ ├── PivotPoint.java │ │ │ ├── ScalableType.java │ │ │ ├── ScalableVideoView.java │ │ │ ├── ScaleManager.java │ │ │ └── Size.java │ │ │ └── zipfile │ │ │ ├── APEZProvider.java │ │ │ ├── APKExpansionSupport.java │ │ │ └── ZipResourceFile.java │ │ └── res │ │ ├── values │ │ └── attrs.xml │ │ └── xml │ │ └── filepaths.xml │ ├── imageresolver.d.ts │ ├── ios │ ├── CometChatSoundModule.h │ ├── CometChatSoundModule.m │ ├── CometchatUiKit.h │ ├── CometchatUiKit.mm │ ├── CometchatUiKit.xcodeproj │ │ ├── project.pbxproj │ │ └── project.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── CommonUtil.h │ ├── CommonUtil.m │ ├── FileManager.h │ ├── FileManager.m │ ├── SoundPlayer.h │ ├── SoundPlayer.m │ ├── TimeZoneCodeManager.h │ ├── TimeZoneCodeManager.m │ ├── Video │ │ ├── CCRCTVideo.h │ │ ├── CCRCTVideo.m │ │ ├── CCRCTVideoManager.h │ │ ├── CCRCTVideoManager.m │ │ ├── CCRCTVideoPlayerViewController.h │ │ ├── CCRCTVideoPlayerViewController.m │ │ ├── CCRCTVideoPlayerViewControllerDelegate.h │ │ ├── UIView+FindUIViewController.h │ │ └── UIView+FindUIViewController.m │ ├── VideoManager.h │ ├── VideoManager.m │ ├── VideoPickerModule.h │ ├── VideoPickerModule.mm │ ├── WebViewManager.h │ └── WebViewManager.m │ ├── package.json │ ├── packager.js │ ├── react-native-cometchat-ui-kit.podspec │ ├── src │ ├── CometChatConversations │ │ ├── CometChatConversations.tsx │ │ ├── Skeleton.tsx │ │ ├── index.ts │ │ ├── resources │ │ │ ├── back.png │ │ │ ├── blue-double-tick-icon.png │ │ │ ├── close.png │ │ │ ├── delete.png │ │ │ ├── error.png │ │ │ ├── grey-double-tick-icon.png │ │ │ ├── grey-tick-icon.png │ │ │ ├── index.ts │ │ │ ├── new.png │ │ │ ├── password.png │ │ │ ├── private.png │ │ │ ├── rightTick.png │ │ │ ├── sending.png │ │ │ └── spineer.png │ │ └── style.ts │ ├── CometChatGroupMembers │ │ ├── CometChatGroupMembers.tsx │ │ ├── Skeleton.tsx │ │ ├── index.ts │ │ ├── resources │ │ │ ├── banIcon.png │ │ │ ├── check.png │ │ │ ├── downArrowIcon.png │ │ │ ├── index.ts │ │ │ ├── kickIcon.png │ │ │ └── rightTick.png │ │ └── style.ts │ ├── CometChatGroups │ │ ├── CometChatGroups.tsx │ │ ├── GroupsStyle.ts │ │ ├── Skeleton.tsx │ │ ├── index.ts │ │ ├── resources │ │ │ ├── back.png │ │ │ ├── check.png │ │ │ ├── close.png │ │ │ ├── create.png │ │ │ ├── index.ts │ │ │ ├── more.png │ │ │ ├── password.png │ │ │ ├── private.png │ │ │ ├── rightTick.png │ │ │ ├── search.png │ │ │ └── spineer.png │ │ └── style.ts │ ├── CometChatMessageComposer │ │ ├── CometChatMessageComposer.tsx │ │ ├── index.ts │ │ ├── resources │ │ │ ├── Info.png │ │ │ ├── ai.png │ │ │ ├── circle_add.png │ │ │ ├── close.png │ │ │ ├── emoji.png │ │ │ ├── heart.png │ │ │ ├── image.png │ │ │ ├── index.ts │ │ │ ├── microphone.png │ │ │ ├── send_message.png │ │ │ └── stickers.png │ │ └── styles.tsx │ ├── CometChatMessageHeader │ │ ├── CometChatMessageHeader.tsx │ │ ├── index.ts │ │ ├── listners.ts │ │ └── styles.ts │ ├── CometChatMessageInformation │ │ ├── CometChatMessageInformation.tsx │ │ ├── Skeleton.tsx │ │ ├── index.ts │ │ ├── resources │ │ │ ├── Spineer.png │ │ │ └── index.ts │ │ └── styles.ts │ ├── CometChatMessageList │ │ ├── CometChatMessageList.tsx │ │ ├── Skeleton.tsx │ │ ├── index.ts │ │ ├── resources │ │ │ ├── back.png │ │ │ ├── close.png │ │ │ ├── downArrowIcon.png │ │ │ ├── index.ts │ │ │ ├── leftarrowcurve.png │ │ │ ├── rightArrowIcon.png │ │ │ ├── rightarrowcurve.png │ │ │ └── spineer.png │ │ └── style.ts │ ├── CometChatThreadHeader │ │ ├── CometChatThreadHeader.tsx │ │ ├── Header.tsx │ │ ├── index.ts │ │ ├── resources │ │ │ ├── Back.png │ │ │ ├── close.png │ │ │ ├── index.ts │ │ │ ├── more.png │ │ │ ├── password.png │ │ │ ├── private.png │ │ │ └── right-arrow.png │ │ └── style.ts │ ├── CometChatUsers │ │ ├── CometChatUsers.tsx │ │ ├── Skeleton.tsx │ │ ├── index.ts │ │ └── style.ts │ ├── calls │ │ ├── CallEvents.ts │ │ ├── CallUtils.ts │ │ ├── CallingConfiguration.ts │ │ ├── CallingExtension.tsx │ │ ├── CallingExtensionDecorator.tsx │ │ ├── CallingPackage.ts │ │ ├── CometChatCallBubble │ │ │ ├── CometChatCallBubble.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── avatar.png │ │ │ │ ├── incomingaudiocall.png │ │ │ │ ├── incomingvideocall.png │ │ │ │ └── index.ts │ │ │ └── styles.ts │ │ ├── CometChatCallButtons │ │ │ ├── CometChatCallButtonConfiguration.ts │ │ │ ├── CometChatCallButtons.tsx │ │ │ ├── index.ts │ │ │ └── style.ts │ │ ├── CometChatCallLogs │ │ │ ├── CometChatCallLogs.tsx │ │ │ ├── Skeleton.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── Back.png │ │ │ │ ├── Info.png │ │ │ │ ├── Selection.png │ │ │ │ ├── Spinner.png │ │ │ │ ├── check.png │ │ │ │ ├── incomingcall.png │ │ │ │ ├── incomingvideo.png │ │ │ │ ├── index.ts │ │ │ │ ├── missedcall.png │ │ │ │ ├── missedvideo.png │ │ │ │ ├── outgoingcall.png │ │ │ │ └── outgoingvideo.png │ │ │ └── style.ts │ │ ├── CometChatIncomingCall │ │ │ ├── CometChatIncomingCall.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── Call.png │ │ │ │ ├── close.png │ │ │ │ ├── incomingaudiocall.png │ │ │ │ ├── incomingvideocall.png │ │ │ │ └── index.ts │ │ │ └── style.ts │ │ ├── CometChatOngoingCall │ │ │ ├── CometChatOngoingCall.tsx │ │ │ └── index.ts │ │ ├── CometChatOutgoingCall │ │ │ ├── CometChatOutgoingCall.tsx │ │ │ ├── OutgoingCallConfiguration.ts │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── Close.png │ │ │ │ └── index.ts │ │ │ └── styles.ts │ │ ├── index.ts │ │ └── resources │ │ │ ├── Call.png │ │ │ ├── Video.png │ │ │ ├── index.ts │ │ │ └── nextarrow.png │ ├── extensions │ │ ├── CollaborativeBubble │ │ │ ├── CometChatCollaborativeBubble.tsx │ │ │ ├── resources │ │ │ │ ├── index.ts │ │ │ │ └── whiteboard.png │ │ │ └── style.ts │ │ ├── CollaborativeDocument │ │ │ ├── CollaborativeDocumentExtension.tsx │ │ │ ├── CollaborativeDocumentExtensionDecorator.tsx │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── collaborative_document.png │ │ │ │ ├── collaborative_document_2x.png │ │ │ │ └── index.ts │ │ ├── CollaborativeWhiteboard │ │ │ ├── CollaborativeWhiteboardExtension.tsx │ │ │ ├── CollaborativeWhiteboardExtensionDecorator.tsx │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── collaborative_whiteboard.png │ │ │ │ ├── index.ts │ │ │ │ └── whiteboard.png │ │ ├── ExtensionConstants.tsx │ │ ├── ExtensionModerator.tsx │ │ ├── LinkPreview │ │ │ ├── LinkPreviewBubble.tsx │ │ │ ├── LinkPreviewExtension.tsx │ │ │ ├── LinkPreviewExtensionDecorator.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── defaultImage.png │ │ │ │ └── index.ts │ │ │ └── style.ts │ │ ├── MessageTranslation │ │ │ ├── MessageTranslationBubble.tsx │ │ │ ├── MessageTranslationDecorator.tsx │ │ │ ├── MessageTranslationExtension.tsx │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── index.ts │ │ │ │ └── translate.png │ │ ├── Polls │ │ │ ├── Header.tsx │ │ │ ├── Polls.tsx │ │ │ ├── PollsBubble.tsx │ │ │ ├── PollsConfigurations.ts │ │ │ ├── PollsDecorator.tsx │ │ │ ├── PollsExtension.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── close.png │ │ │ │ ├── document.png │ │ │ │ ├── index.ts │ │ │ │ ├── kickIcon.png │ │ │ │ ├── rightTick.png │ │ │ │ └── warning.png │ │ │ └── style.ts │ │ ├── Stickers │ │ │ ├── CometChatStickerKeyboard │ │ │ │ ├── CometChatStickerKeyboard.tsx │ │ │ │ ├── Skeleton.tsx │ │ │ │ ├── StickerKeyboardConfiguration.ts │ │ │ │ ├── hooks.ts │ │ │ │ ├── index.ts │ │ │ │ ├── resources │ │ │ │ │ └── close.svg │ │ │ │ └── style.ts │ │ │ ├── StickerConfiguration.ts │ │ │ ├── StickersBubble.tsx │ │ │ ├── StickersExtension.ts │ │ │ ├── StickersExtensionDecorator.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── Stickers.png │ │ │ │ └── index.ts │ │ │ └── style.ts │ │ ├── ThumbnailGeneration │ │ │ ├── ThumbnailGenerationDecorator.tsx │ │ │ ├── ThumbnailGenerationExtension.tsx │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── default_image.png │ │ │ │ ├── empty.png │ │ │ │ └── index.ts │ │ └── index.ts │ ├── index.ts │ ├── shared │ │ ├── CometChatUiKit │ │ │ ├── CometChatUIKit.ts │ │ │ ├── CometChatUIKitHelper.ts │ │ │ ├── UIKitSettings.ts │ │ │ └── index.ts │ │ ├── assets │ │ │ └── images │ │ │ │ ├── Back.png │ │ │ │ ├── BackArrow.png │ │ │ │ ├── blue-double-tick-icon.png │ │ │ │ ├── calendar.png │ │ │ │ ├── checkmark.png │ │ │ │ ├── clock-alert.png │ │ │ │ ├── clock.png │ │ │ │ ├── earth.png │ │ │ │ ├── empty-slot.png │ │ │ │ ├── error.png │ │ │ │ ├── forwardArrow.png │ │ │ │ ├── grey-double-tick-icon.png │ │ │ │ ├── grey-tick-icon.png │ │ │ │ ├── index.ts │ │ │ │ └── sending.png │ │ ├── base │ │ │ ├── BaseStyle.ts │ │ │ ├── BorderStyle.ts │ │ │ ├── FontStyle.ts │ │ │ ├── ShadowStyle.ts │ │ │ ├── Types.ts │ │ │ ├── index.ts │ │ │ └── vars.ts │ │ ├── constants │ │ │ └── UIKitConstants.ts │ │ ├── events │ │ │ ├── CometChatMessageEvents │ │ │ │ └── index.ts │ │ │ ├── CometChatUIEventHandler │ │ │ │ ├── CometChatUIEventHandler.ts │ │ │ │ └── Listener.ts │ │ │ ├── CometChatUIEvents.ts │ │ │ ├── ListenerInitializer.ts │ │ │ ├── conversations.ts │ │ │ ├── groups.ts │ │ │ ├── index.ts │ │ │ └── messages.ts │ │ ├── formatters │ │ │ ├── CometChatMentionsFormatter │ │ │ │ ├── CometChatMentionsFormatter.tsx │ │ │ │ ├── MentionTextStyle.ts │ │ │ │ └── index.ts │ │ │ ├── CometChatTextFormatter.ts │ │ │ ├── CometChatUrlsFormatter │ │ │ │ └── index.tsx │ │ │ └── index.ts │ │ ├── framework │ │ │ ├── ChatConfigurator.ts │ │ │ ├── DataSource.ts │ │ │ ├── DataSourceDecorator.tsx │ │ │ ├── ExtensionsDataSource.tsx │ │ │ ├── MessageDataSource.tsx │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── audio-file.png │ │ │ │ ├── circle_add.png │ │ │ │ ├── copy.png │ │ │ │ ├── delete.png │ │ │ │ ├── edit.png │ │ │ │ ├── emoji.png │ │ │ │ ├── file_upload.png │ │ │ │ ├── forward.png │ │ │ │ ├── heart.png │ │ │ │ ├── image.png │ │ │ │ ├── index.ts │ │ │ │ ├── info.png │ │ │ │ ├── location.png │ │ │ │ ├── messageInPrivate.png │ │ │ │ ├── microphone.png │ │ │ │ ├── pause.png │ │ │ │ ├── play.png │ │ │ │ ├── reply.png │ │ │ │ ├── send_message.png │ │ │ │ ├── share.png │ │ │ │ ├── stop_player.png │ │ │ │ ├── thread.png │ │ │ │ └── video_upload.png │ │ ├── helper │ │ │ ├── Toast.tsx │ │ │ ├── dateHelper.ts │ │ │ ├── functions.js │ │ │ ├── helperFunctions.ts │ │ │ ├── types │ │ │ │ └── index.ts │ │ │ └── useKeyboard.tsx │ │ ├── icons │ │ │ ├── Icon.tsx │ │ │ ├── components │ │ │ │ ├── ListItemCheck.tsx │ │ │ │ ├── StickerBase-icon.tsx │ │ │ │ ├── account-circle-fill.tsx │ │ │ │ ├── account-circle.tsx │ │ │ │ ├── activity.tsx │ │ │ │ ├── add-a-photo-fill.tsx │ │ │ │ ├── add-a-photo.tsx │ │ │ │ ├── add-box-fill.tsx │ │ │ │ ├── add-box.tsx │ │ │ │ ├── add-call-fill.tsx │ │ │ │ ├── add-call.tsx │ │ │ │ ├── add-circle-fill.tsx │ │ │ │ ├── add-circle.tsx │ │ │ │ ├── add-comment-fill.tsx │ │ │ │ ├── add-comment.tsx │ │ │ │ ├── add-fill.tsx │ │ │ │ ├── add-reaction-fill.tsx │ │ │ │ ├── add-reaction.tsx │ │ │ │ ├── add.tsx │ │ │ │ ├── ai-conversation-summary-fill.tsx │ │ │ │ ├── ai-conversation-summary.tsx │ │ │ │ ├── ai-fill.tsx │ │ │ │ ├── ai-suggest-reply-fill.tsx │ │ │ │ ├── ai-suggest-reply.tsx │ │ │ │ ├── ai.tsx │ │ │ │ ├── alternate-email-fill.tsx │ │ │ │ ├── alternate-email.tsx │ │ │ │ ├── animals-&-nature.tsx │ │ │ │ ├── archive-fill.tsx │ │ │ │ ├── archive.tsx │ │ │ │ ├── arrow-back-fill.tsx │ │ │ │ ├── arrow-back.tsx │ │ │ │ ├── arrow-forward-fill.tsx │ │ │ │ ├── arrow-forward.tsx │ │ │ │ ├── attach-file-fill.tsx │ │ │ │ ├── attach-file.tsx │ │ │ │ ├── audio-file-type.tsx │ │ │ │ ├── bar-chart-fill.tsx │ │ │ │ ├── bar-chart.tsx │ │ │ │ ├── base-icon.tsx │ │ │ │ ├── bedtime-fill.tsx │ │ │ │ ├── bedtime.tsx │ │ │ │ ├── block-fill.tsx │ │ │ │ ├── block.tsx │ │ │ │ ├── bookmark-add-fill.tsx │ │ │ │ ├── bookmark-add.tsx │ │ │ │ ├── bookmark-fill.tsx │ │ │ │ ├── bookmark.tsx │ │ │ │ ├── calendar-add-on-fill.tsx │ │ │ │ ├── calendar-add-on.tsx │ │ │ │ ├── calendar-today-fill.tsx │ │ │ │ ├── calendar-today.tsx │ │ │ │ ├── call-end-fill.tsx │ │ │ │ ├── call-end.tsx │ │ │ │ ├── call-fill.tsx │ │ │ │ ├── call-log-fill.tsx │ │ │ │ ├── call-log.tsx │ │ │ │ ├── call-made-fill.tsx │ │ │ │ ├── call-made.tsx │ │ │ │ ├── call-missed-fill.tsx │ │ │ │ ├── call-missed-outgoing-fill.tsx │ │ │ │ ├── call-missed-outgoing.tsx │ │ │ │ ├── call-missed.tsx │ │ │ │ ├── call-received-fill.tsx │ │ │ │ ├── call-received.tsx │ │ │ │ ├── call.tsx │ │ │ │ ├── cancel-fill.tsx │ │ │ │ ├── cancel.tsx │ │ │ │ ├── change-circle-fill.tsx │ │ │ │ ├── change-circle.tsx │ │ │ │ ├── chat-bot-fill.tsx │ │ │ │ ├── chat-bot.tsx │ │ │ │ ├── chat-fill.tsx │ │ │ │ ├── chat.tsx │ │ │ │ ├── check-circle-fill.tsx │ │ │ │ ├── check-circle.tsx │ │ │ │ ├── check-fill.tsx │ │ │ │ ├── check.tsx │ │ │ │ ├── chevron-left-fill.tsx │ │ │ │ ├── chevron-left.tsx │ │ │ │ ├── chevron-right-fill.tsx │ │ │ │ ├── chevron-right.tsx │ │ │ │ ├── close-fill.tsx │ │ │ │ ├── close.tsx │ │ │ │ ├── collaborative-document-fill.tsx │ │ │ │ ├── collaborative-document-icon.tsx │ │ │ │ ├── collaborative-document.tsx │ │ │ │ ├── collaborative-whiteboard-fill.tsx │ │ │ │ ├── collaborative-whiteboard-icon.tsx │ │ │ │ ├── collaborative-whiteboard.tsx │ │ │ │ ├── content-copy-fill.tsx │ │ │ │ ├── content-copy.tsx │ │ │ │ ├── crop-fill.tsx │ │ │ │ ├── crop.tsx │ │ │ │ ├── delete-fill.tsx │ │ │ │ ├── delete.tsx │ │ │ │ ├── description-fill.tsx │ │ │ │ ├── description.tsx │ │ │ │ ├── document-file-type.tsx │ │ │ │ ├── done-all-fill.tsx │ │ │ │ ├── done-all.tsx │ │ │ │ ├── download-fill.tsx │ │ │ │ ├── download.tsx │ │ │ │ ├── edit-calendar-fill.tsx │ │ │ │ ├── edit-calendar.tsx │ │ │ │ ├── edit-fill.tsx │ │ │ │ ├── edit-square-fill.tsx │ │ │ │ ├── edit-square.tsx │ │ │ │ ├── edit.tsx │ │ │ │ ├── empty-state.tsx │ │ │ │ ├── error-fill.tsx │ │ │ │ ├── error-state.tsx │ │ │ │ ├── error.tsx │ │ │ │ ├── event-available-fill.tsx │ │ │ │ ├── event-available.tsx │ │ │ │ ├── event-fill.tsx │ │ │ │ ├── event.tsx │ │ │ │ ├── favorite-fill.tsx │ │ │ │ ├── favorite.tsx │ │ │ │ ├── filter-list-fill.tsx │ │ │ │ ├── filter-list-off-fill.tsx │ │ │ │ ├── filter-list-off.tsx │ │ │ │ ├── filter-list.tsx │ │ │ │ ├── flags.tsx │ │ │ │ ├── flip-camera-ios-fill.tsx │ │ │ │ ├── flip-camera-ios.tsx │ │ │ │ ├── food-&-drink.tsx │ │ │ │ ├── forward-fill.tsx │ │ │ │ ├── forward.tsx │ │ │ │ ├── gif-fill.tsx │ │ │ │ ├── gif.tsx │ │ │ │ ├── graphic-eq-fill.tsx │ │ │ │ ├── graphic-eq.tsx │ │ │ │ ├── group-add.tsx │ │ │ │ ├── group-fill.tsx │ │ │ │ ├── group.tsx │ │ │ │ ├── help-fill.tsx │ │ │ │ ├── help.tsx │ │ │ │ ├── history-fill.tsx │ │ │ │ ├── history.tsx │ │ │ │ ├── image-file-type.tsx │ │ │ │ ├── incoming-audio-fill.tsx │ │ │ │ ├── incoming-audio.tsx │ │ │ │ ├── incoming-video-fill.tsx │ │ │ │ ├── incoming-video.tsx │ │ │ │ ├── info-fill.tsx │ │ │ │ ├── info.tsx │ │ │ │ ├── keep-fill.tsx │ │ │ │ ├── keep-off-fill.tsx │ │ │ │ ├── keep-off.tsx │ │ │ │ ├── keep.tsx │ │ │ │ ├── keyboard-arrow-down-fill.tsx │ │ │ │ ├── keyboard-arrow-down.tsx │ │ │ │ ├── keyboard-arrow-up-fill.tsx │ │ │ │ ├── keyboard-arrow-up.tsx │ │ │ │ ├── keyboard-fill.tsx │ │ │ │ ├── keyboard.tsx │ │ │ │ ├── language-fill.tsx │ │ │ │ ├── language.tsx │ │ │ │ ├── link-fill.tsx │ │ │ │ ├── link.tsx │ │ │ │ ├── loading-fill.tsx │ │ │ │ ├── loading.tsx │ │ │ │ ├── location-on-fill.tsx │ │ │ │ ├── location-on.tsx │ │ │ │ ├── lock-fill.tsx │ │ │ │ ├── lock-open-fill.tsx │ │ │ │ ├── lock-open.tsx │ │ │ │ ├── lock.tsx │ │ │ │ ├── logout-fill.tsx │ │ │ │ ├── logout.tsx │ │ │ │ ├── mail-fill.tsx │ │ │ │ ├── mail.tsx │ │ │ │ ├── mic-fill.tsx │ │ │ │ ├── mic-off-fill.tsx │ │ │ │ ├── mic-off.tsx │ │ │ │ ├── mic.tsx │ │ │ │ ├── missed-video-call-fill.tsx │ │ │ │ ├── missed-video-call.tsx │ │ │ │ ├── mood-fill.tsx │ │ │ │ ├── mood.tsx │ │ │ │ ├── more-vert-fill.tsx │ │ │ │ ├── more-vert.tsx │ │ │ │ ├── near-me-fill.tsx │ │ │ │ ├── near-me.tsx │ │ │ │ ├── no-photography-fill.tsx │ │ │ │ ├── no-photography.tsx │ │ │ │ ├── notifications-fill.tsx │ │ │ │ ├── notifications-off-fill.tsx │ │ │ │ ├── notifications-off.tsx │ │ │ │ ├── notifications.tsx │ │ │ │ ├── objects.tsx │ │ │ │ ├── outgoing-audio-fill.tsx │ │ │ │ ├── outgoing-audio.tsx │ │ │ │ ├── outgoing-video-fill.tsx │ │ │ │ ├── outgoing-video.tsx │ │ │ │ ├── pause-fill.tsx │ │ │ │ ├── pause.tsx │ │ │ │ ├── pdf-file-type.tsx │ │ │ │ ├── person-add-fill.tsx │ │ │ │ ├── person-add.tsx │ │ │ │ ├── person-fill.tsx │ │ │ │ ├── person-off.tsx │ │ │ │ ├── person.tsx │ │ │ │ ├── phone-in-talk-fill.tsx │ │ │ │ ├── phone-in-talk.tsx │ │ │ │ ├── phone-incoming-fill.tsx │ │ │ │ ├── phone-incoming.tsx │ │ │ │ ├── phone-missed-fill.tsx │ │ │ │ ├── phone-missed.tsx │ │ │ │ ├── phone-outgoing-fill.tsx │ │ │ │ ├── phone-outgoing.tsx │ │ │ │ ├── photo-camera-fill.tsx │ │ │ │ ├── photo-camera.tsx │ │ │ │ ├── photo-fill.tsx │ │ │ │ ├── photo.tsx │ │ │ │ ├── play-arrow-fill.tsx │ │ │ │ ├── play-arrow.tsx │ │ │ │ ├── play-circle-fill.tsx │ │ │ │ ├── play-circle.tsx │ │ │ │ ├── poll-Icon.tsx │ │ │ │ ├── poll-fill.tsx │ │ │ │ ├── poll.tsx │ │ │ │ ├── presentation-file-type.tsx │ │ │ │ ├── rearrange-fill.tsx │ │ │ │ ├── rearrange.tsx │ │ │ │ ├── refresh-fill.tsx │ │ │ │ ├── refresh.tsx │ │ │ │ ├── reply-all-fill.tsx │ │ │ │ ├── reply-all.tsx │ │ │ │ ├── reply-fill.tsx │ │ │ │ ├── reply.tsx │ │ │ │ ├── retry-fill.tsx │ │ │ │ ├── retry.tsx │ │ │ │ ├── schedule-fill.tsx │ │ │ │ ├── schedule.tsx │ │ │ │ ├── screen-share-fill.tsx │ │ │ │ ├── screen-share.tsx │ │ │ │ ├── search-fill.tsx │ │ │ │ ├── search.tsx │ │ │ │ ├── send-fill.tsx │ │ │ │ ├── send.tsx │ │ │ │ ├── settings-fill.tsx │ │ │ │ ├── settings.tsx │ │ │ │ ├── share-fill.tsx │ │ │ │ ├── share.tsx │ │ │ │ ├── shield-fill.tsx │ │ │ │ ├── shield.tsx │ │ │ │ ├── smileys-&-people.tsx │ │ │ │ ├── spreadsheet-file-type.tsx │ │ │ │ ├── star-fill.tsx │ │ │ │ ├── star.tsx │ │ │ │ ├── sticker-fill.tsx │ │ │ │ ├── sticker.tsx │ │ │ │ ├── stop-circle-fill.tsx │ │ │ │ ├── stop-circle.tsx │ │ │ │ ├── stop-fill.tsx │ │ │ │ ├── stop-screen-share-fill.tsx │ │ │ │ ├── stop-screen-share.tsx │ │ │ │ ├── stop.tsx │ │ │ │ ├── subdirectory-arrow-left-fill.tsx │ │ │ │ ├── subdirectory-arrow-left.tsx │ │ │ │ ├── subdirectory-arrow-right-fill.tsx │ │ │ │ ├── subdirectory-arrow-right.tsx │ │ │ │ ├── sunny-fill.tsx │ │ │ │ ├── sunny.tsx │ │ │ │ ├── symbols.tsx │ │ │ │ ├── text-file-type.tsx │ │ │ │ ├── thumb-down-fill.tsx │ │ │ │ ├── thumb-down.tsx │ │ │ │ ├── thumb-up-fill.tsx │ │ │ │ ├── thumb-up.tsx │ │ │ │ ├── translate-fill.tsx │ │ │ │ ├── translate.tsx │ │ │ │ ├── travel-&-places.tsx │ │ │ │ ├── unknown-file-type.tsx │ │ │ │ ├── upload-fill.tsx │ │ │ │ ├── upload.tsx │ │ │ │ ├── user-empty-icon.tsx │ │ │ │ ├── video-call-fill.tsx │ │ │ │ ├── video-call.tsx │ │ │ │ ├── video-file-type.tsx │ │ │ │ ├── videocam-fill.tsx │ │ │ │ ├── videocam-off-fill.tsx │ │ │ │ ├── videocam-off.tsx │ │ │ │ ├── videocam.tsx │ │ │ │ ├── visibility-off-fill.tsx │ │ │ │ ├── visibility-off.tsx │ │ │ │ ├── volume-down-fill.tsx │ │ │ │ ├── volume-down.tsx │ │ │ │ ├── volume-mute-fill.tsx │ │ │ │ ├── volume-mute.tsx │ │ │ │ ├── volume-off-fill.tsx │ │ │ │ ├── volume-off.tsx │ │ │ │ ├── volume-up-fill.tsx │ │ │ │ ├── volume-up.tsx │ │ │ │ ├── warning-fill.tsx │ │ │ │ ├── warning.tsx │ │ │ │ ├── wifi-fill.tsx │ │ │ │ ├── wifi.tsx │ │ │ │ ├── zip-file-type.tsx │ │ │ │ ├── zoom-in-map-fill.tsx │ │ │ │ ├── zoom-in-map.tsx │ │ │ │ ├── zoom-out-map-fill.tsx │ │ │ │ └── zoom-out-map.tsx │ │ │ └── icon-mapping.tsx │ │ ├── index.ts │ │ ├── libs │ │ │ ├── ImageZoom │ │ │ │ ├── ReactNativeZoomableView.tsx │ │ │ │ ├── ReactNativeZoomableViewWithGestures.tsx │ │ │ │ ├── helper.ts │ │ │ │ ├── index.tsx │ │ │ │ └── types │ │ │ │ │ └── index.ts │ │ │ └── VideoPlayer │ │ │ │ ├── DRMType.js │ │ │ │ ├── FilterType.js │ │ │ │ ├── TextTrackType.js │ │ │ │ └── VideoResizeMode.js │ │ ├── modals │ │ │ ├── CometChatMessageOption.ts │ │ │ ├── CometChatMessageTemplate.ts │ │ │ └── index.ts │ │ ├── resources │ │ │ ├── CometChatLocalize │ │ │ │ ├── CometChatLocalize.ts │ │ │ │ ├── index.ts │ │ │ │ └── resources │ │ │ │ │ ├── ar │ │ │ │ │ └── translation.json │ │ │ │ │ ├── de │ │ │ │ │ └── translation.json │ │ │ │ │ ├── en │ │ │ │ │ └── translation.json │ │ │ │ │ ├── es │ │ │ │ │ └── translation.json │ │ │ │ │ ├── fr │ │ │ │ │ └── translation.json │ │ │ │ │ ├── hi │ │ │ │ │ └── translation.json │ │ │ │ │ ├── hu │ │ │ │ │ └── translation.json │ │ │ │ │ ├── lt │ │ │ │ │ └── translation.json │ │ │ │ │ ├── ms │ │ │ │ │ └── translation.json │ │ │ │ │ ├── pt │ │ │ │ │ └── translation.json │ │ │ │ │ ├── ru │ │ │ │ │ └── translation.json │ │ │ │ │ ├── sv │ │ │ │ │ └── translation.json │ │ │ │ │ ├── zh-tw │ │ │ │ │ └── translation.json │ │ │ │ │ └── zh │ │ │ │ │ └── translation.json │ │ │ ├── CometChatSoundManager │ │ │ │ ├── CometChatSoundManager.js │ │ │ │ ├── index.ts │ │ │ │ ├── resources │ │ │ │ │ ├── incomingcall.wav │ │ │ │ │ ├── incomingmessage.wav │ │ │ │ │ ├── incomingothermessage.wav │ │ │ │ │ ├── index.js │ │ │ │ │ ├── outgoingcall.wav │ │ │ │ │ └── outgoingmessage.wav │ │ │ │ └── sound.js │ │ │ └── index.ts │ │ ├── utils │ │ │ ├── CometChatMessageHelper │ │ │ │ └── index.ts │ │ │ ├── CometChatMessagePreview │ │ │ │ ├── CometChatMessagePreview.tsx │ │ │ │ ├── MessagePreviewStyle.js │ │ │ │ ├── index.ts │ │ │ │ ├── resources │ │ │ │ │ ├── close.png │ │ │ │ │ └── index.ts │ │ │ │ └── style.ts │ │ │ ├── CommonUtils.ts │ │ │ ├── MessageUtils.tsx │ │ │ ├── NetworkUtils.tsx │ │ │ ├── PermissionUtil.ts │ │ │ ├── conversationUtils.ts │ │ │ ├── icsToJson.js │ │ │ └── index.ts │ │ └── views │ │ │ ├── CometChatAICard │ │ │ ├── CometChatAICard.tsx │ │ │ └── resources │ │ │ │ ├── errormessage.png │ │ │ │ ├── index.ts │ │ │ │ └── nomessage.png │ │ │ ├── CometChatActionSheet │ │ │ ├── ActionItem.ts │ │ │ ├── CometChatActionSheet.tsx │ │ │ ├── hooks.ts │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── grid.png │ │ │ │ ├── index.ts │ │ │ │ └── list.png │ │ │ └── style.ts │ │ │ ├── CometChatAudioBubble │ │ │ ├── AnimatedAudioWaves.tsx │ │ │ ├── CometChatAudioBubble.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── index.ts │ │ │ │ ├── pause.png │ │ │ │ └── play.png │ │ │ └── style.ts │ │ │ ├── CometChatAvatar │ │ │ ├── CometChatAvatar.tsx │ │ │ ├── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatBadge │ │ │ ├── CometChatBadge.tsx │ │ │ ├── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatBottomSheet │ │ │ ├── CometChatBottomSheet.tsx │ │ │ └── index.ts │ │ │ ├── CometChatConfirmDialog │ │ │ ├── CometChatConfirmDialog.tsx │ │ │ ├── index.ts │ │ │ └── style.ts │ │ │ ├── CometChatDate │ │ │ ├── CometChatDate.tsx │ │ │ ├── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatDateSeperator │ │ │ ├── CometChatDateSeparator.tsx │ │ │ ├── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatDeletedBubble │ │ │ ├── CometChatDeletedBubble.tsx │ │ │ ├── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatEmojiKeyboard │ │ │ ├── CometChatEmojiKeyboard.tsx │ │ │ ├── Emoji.ts │ │ │ ├── EmojiCategory.ts │ │ │ ├── emojis.ts │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── activity.png │ │ │ │ ├── animals.png │ │ │ │ ├── flags.png │ │ │ │ ├── food.png │ │ │ │ ├── index.ts │ │ │ │ ├── objects.png │ │ │ │ ├── smileys.png │ │ │ │ ├── symbols.png │ │ │ │ └── travel.png │ │ │ └── style.ts │ │ │ ├── CometChatFileBubble │ │ │ ├── CometChatFileBubble.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── download.png │ │ │ │ ├── file_upload.png │ │ │ │ └── index.ts │ │ │ └── style.ts │ │ │ ├── CometChatImageBubble │ │ │ ├── CometChatImageBubble.tsx │ │ │ ├── CometChatImageLoader.tsx │ │ │ ├── assets │ │ │ │ ├── index.ts │ │ │ │ └── spineer.png │ │ │ └── index.ts │ │ │ ├── CometChatImageViewerModal │ │ │ ├── ImageViewerModal.tsx │ │ │ ├── index.tsx │ │ │ └── resources │ │ │ │ ├── Back.png │ │ │ │ └── index.ts │ │ │ ├── CometChatList │ │ │ ├── CometChatList.tsx │ │ │ ├── Header.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── Spinner.png │ │ │ │ ├── check.png │ │ │ │ ├── checkmark.png │ │ │ │ └── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatListItem │ │ │ ├── CometChatListItem.tsx │ │ │ ├── index.ts │ │ │ └── style.ts │ │ │ ├── CometChatMediaRecorder │ │ │ ├── AnimatingMic.tsx │ │ │ ├── CometChatAudioPlayer.tsx │ │ │ ├── CometChatAudioPreview │ │ │ │ └── CometChatAudioPreview.tsx │ │ │ ├── CometChatMediaRecorder.tsx │ │ │ ├── Timer.tsx │ │ │ ├── index.ts │ │ │ └── style.ts │ │ │ ├── CometChatMessageBubble │ │ │ ├── CometChatMessageBubble.tsx │ │ │ ├── index.ts │ │ │ └── style.ts │ │ │ ├── CometChatMessageInput │ │ │ ├── CometChatMessageInput.tsx │ │ │ ├── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatQuickReactions │ │ │ ├── CometChatQuickReactions.tsx │ │ │ ├── QuickReactionsStyle.tsx │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── AddReactions.png │ │ │ │ └── index.ts │ │ │ ├── CometChatReactionList │ │ │ ├── CometChatReactionList.tsx │ │ │ ├── ReactionListStyle.tsx │ │ │ ├── Skeleton.tsx │ │ │ ├── index.ts │ │ │ └── resources │ │ │ │ ├── Spineer.png │ │ │ │ └── index.ts │ │ │ ├── CometChatReactions │ │ │ ├── CometChatReactions.tsx │ │ │ ├── index.ts │ │ │ └── style.ts │ │ │ ├── CometChatReceipt │ │ │ ├── CometChatReceipt.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── blue-double-tick-icon.png │ │ │ │ ├── error.png │ │ │ │ ├── grey-double-tick-icon.png │ │ │ │ ├── grey-tick-icon.png │ │ │ │ ├── index.ts │ │ │ │ └── sending.png │ │ │ └── style.ts │ │ │ ├── CometChatStatusIndicator │ │ │ ├── CometChatStatusIndicator.tsx │ │ │ ├── index.ts │ │ │ ├── private.png │ │ │ ├── protected.png │ │ │ └── styles.ts │ │ │ ├── CometChatSuggestionList │ │ │ ├── CometChatSuggestionList.tsx │ │ │ ├── Skeleton.tsx │ │ │ ├── SuggestionItem.ts │ │ │ ├── index.ts │ │ │ └── style.ts │ │ │ ├── CometChatTextBubble │ │ │ ├── CometChatTextBubble.tsx │ │ │ └── index.ts │ │ │ ├── CometChatTooltipMenu │ │ │ ├── CometChatTooltipMenu.tsx │ │ │ ├── index.ts │ │ │ └── styles.ts │ │ │ ├── CometChatVideoBubble │ │ │ ├── CometChatVideoBubble.tsx │ │ │ ├── index.ts │ │ │ ├── resources │ │ │ │ ├── default_image.png │ │ │ │ ├── index.ts │ │ │ │ └── play.png │ │ │ └── style.ts │ │ │ ├── CometChatVideoPlayer │ │ │ ├── CometChatVideoPlayer.tsx │ │ │ └── index.tsx │ │ │ ├── ErrorEmptyView │ │ │ └── ErrorEmptyView.tsx │ │ │ └── index.ts │ └── theme │ │ ├── CometChatThemeHelper.ts │ │ ├── context.ts │ │ ├── default │ │ ├── color │ │ │ ├── dark.ts │ │ │ └── light.ts │ │ ├── index.ts │ │ ├── resources │ │ │ └── icons │ │ │ │ ├── Base_Icon.png │ │ │ │ ├── collaborative_document_1x.png │ │ │ │ ├── collaborative_document_2x.png │ │ │ │ ├── collaborative_document_3x.png │ │ │ │ ├── collaborative_whiteboard_1x.png │ │ │ │ ├── collaborative_whiteboard_2x.png │ │ │ │ ├── collaborative_whiteboard_3x.png │ │ │ │ ├── dark_error_icon.png │ │ │ │ ├── index.ts │ │ │ │ ├── light_error_icon.png │ │ │ │ └── thread_replies.png │ │ ├── spacing.ts │ │ └── typography.ts │ │ ├── hook.ts │ │ ├── index.ts │ │ ├── provider.tsx │ │ └── type.ts │ └── tsconfig.json └── screenshots └── overview_cometchat_screens.png /examples/SampleApp/.bundle/config: -------------------------------------------------------------------------------- 1 | BUNDLE_PATH: "vendor/bundle" 2 | BUNDLE_FORCE_RUBY_PLATFORM: 1 3 | -------------------------------------------------------------------------------- /examples/SampleApp/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native', 4 | }; 5 | -------------------------------------------------------------------------------- /examples/SampleApp/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | arrowParens: 'avoid', 3 | bracketSameLine: true, 4 | bracketSpacing: false, 5 | singleQuote: true, 6 | trailingComma: 'all', 7 | }; 8 | -------------------------------------------------------------------------------- /examples/SampleApp/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/SampleApp/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 4 | ruby ">= 2.6.10" 5 | 6 | # Exclude problematic versions of cocoapods and activesupport that causes build failures. 7 | gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' 8 | gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' 9 | gem 'xcodeproj', '< 1.26.0' 10 | gem 'concurrent-ruby', '< 1.3.4' 11 | -------------------------------------------------------------------------------- /examples/SampleApp/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/debug.keystore -------------------------------------------------------------------------------- /examples/SampleApp/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/drawable/ic_notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/drawable/ic_notification.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/drawable/ic_notification2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/drawable/ic_notification2.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/drawable/ic_notification4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/drawable/ic_notification4.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | 5 | -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | sampleapp 3 | 4 | -------------------------------------------------------------------------------- /examples/SampleApp/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/SampleApp/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /examples/SampleApp/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /examples/SampleApp/android/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { includeBuild("../../../node_modules/@react-native/gradle-plugin") } 2 | plugins { id("com.facebook.react.settings") } 3 | extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } 4 | rootProject.name = 'SampleApp' 5 | include ':app' 6 | includeBuild('../../../node_modules/@react-native/gradle-plugin') 7 | -------------------------------------------------------------------------------- /examples/SampleApp/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sampleapp", 3 | "displayName": "sampleapp" 4 | } 5 | -------------------------------------------------------------------------------- /examples/SampleApp/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:@react-native/babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /examples/SampleApp/gesture-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/gesture-handler.js -------------------------------------------------------------------------------- /examples/SampleApp/gesture-handler.native.js: -------------------------------------------------------------------------------- 1 | // Only import react-native-gesture-handler on native platforms 2 | import 'react-native-gesture-handler'; -------------------------------------------------------------------------------- /examples/SampleApp/ios/.xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /examples/SampleApp/ios/CometChat React native.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/CometChat React native.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat React native.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat React native.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120 1.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_180x180.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_40x40.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_58x58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_58x58.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_60x60.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_80x80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_80x80.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_87x87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/ios/SampleApp/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_87x87.png -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/SampleApp/ios/SampleApp/SampleApp.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/SampleApp/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'react-native', 3 | }; 4 | -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/ArrowBack.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/Close.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/Dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/Dark.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/EU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/EU.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/India.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/India.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/Light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/Light.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/US.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/US.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/VideoCam.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/bug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/bug.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/captainamerica.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/captainamerica.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/cyclops.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/cyclops.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/google.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/ironman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/ironman.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/spiderman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/spiderman.png -------------------------------------------------------------------------------- /examples/SampleApp/src/assets/icons/wolverine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleApp/src/assets/icons/wolverine.png -------------------------------------------------------------------------------- /examples/SampleApp/src/components/calls/icons/call-made.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleApp/src/components/calls/icons/call-received.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleApp/src/components/calls/icons/play-arrow.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleApp/src/declarations.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png' { 2 | const value: any; 3 | export default value; 4 | } 5 | -------------------------------------------------------------------------------- /examples/SampleApp/src/navigation/AuthContext.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export interface AuthContextProps { 4 | isLoggedIn: boolean; 5 | setIsLoggedIn: React.Dispatch>; 6 | } 7 | 8 | export const AuthContext = React.createContext({ 9 | isLoggedIn: false, 10 | setIsLoggedIn: () => {}, 11 | }); 12 | -------------------------------------------------------------------------------- /examples/SampleApp/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../node_modules/@react-native/typescript-config/tsconfig.json", 3 | } 4 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/.bundle/config: -------------------------------------------------------------------------------- 1 | BUNDLE_PATH: "vendor/bundle" 2 | BUNDLE_FORCE_RUBY_PLATFORM: 1 3 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | root: true, 3 | extends: '@react-native', 4 | }; 5 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | arrowParens: 'avoid', 3 | bracketSameLine: true, 4 | bracketSpacing: false, 5 | singleQuote: true, 6 | trailingComma: 'all', 7 | }; 8 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 4 | ruby ">= 2.6.10" 5 | 6 | # Exclude problematic versions of cocoapods and activesupport that causes build failures. 7 | gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' 8 | gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' 9 | gem 'xcodeproj', '< 1.26.0' 10 | gem 'concurrent-ruby', '< 1.3.4' 11 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/debug.keystore -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/drawable/ic_notification.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/drawable/ic_notification.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/drawable/ic_notification2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/drawable/ic_notification2.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/drawable/ic_notification4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/drawable/ic_notification4.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #FFFFFF 4 | 5 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | sampleapp 3 | 4 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/android/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { includeBuild("../../../node_modules/@react-native/gradle-plugin") } 2 | plugins { id("com.facebook.react.settings") } 3 | extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } 4 | rootProject.name = 'SampleAppWithPushNotifications' 5 | include ':app' 6 | includeBuild('../../../node_modules/@react-native/gradle-plugin') 7 | include ':react-native-callkeep' 8 | project(':react-native-callkeep').projectDir = new File(rootProject.projectDir, '../../../node_modules/react-native-callkeep/android') 9 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "sampleapp", 3 | "displayName": "sampleapp" 4 | } 5 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:@react-native/babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/gesture-handler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/gesture-handler.js -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/gesture-handler.native.js: -------------------------------------------------------------------------------- 1 | // Only import react-native-gesture-handler on native platforms 2 | import 'react-native-gesture-handler'; -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/.xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/CometChat React native.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/CometChat React native.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "RNVoipPushNotificationManager.h" 2 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat React native.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat React native.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120 1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120 1.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_120x120.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_180x180.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_180x180.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_40x40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_40x40.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_58x58.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_58x58.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_60x60.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_80x80.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_80x80.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_87x87.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/AppIcon.appiconset/CometChat_React_Native_87x87.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/SampleAppWithPushNotifications-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "RNVoipPushNotificationManager.h" 2 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/ios/SampleAppWithPushNotifications/SampleAppWithPushNotifications.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | aps-environment 6 | development 7 | 8 | 9 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'react-native', 3 | }; 4 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/Dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/Dark.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/EU.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/EU.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/India.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/India.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/Light.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/Light.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/US.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/US.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/VideoCam.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/bug.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/bug.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/captainamerica.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/captainamerica.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/cyclops.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/cyclops.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/google.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/google.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/ironman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/ironman.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/spiderman.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/spiderman.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/assets/icons/wolverine.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/examples/SampleAppWithPushNotifications/src/assets/icons/wolverine.png -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/components/calls/icons/call-made.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/components/calls/icons/call-received.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/components/calls/icons/play-arrow.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/declarations.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png' { 2 | const value: any; 3 | export default value; 4 | } 5 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/src/navigation/AuthContext.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export interface AuthContextProps { 4 | isLoggedIn: boolean; 5 | setIsLoggedIn: React.Dispatch>; 6 | } 7 | 8 | export const AuthContext = React.createContext({ 9 | isLoggedIn: false, 10 | setIsLoggedIn: () => {}, 11 | }); 12 | -------------------------------------------------------------------------------- /examples/SampleAppWithPushNotifications/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../node_modules/@react-native/typescript-config/tsconfig.json", 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@cometchat/chat-uikit-react-native", 3 | "version": "5.0.0", 4 | "private": true, 5 | "workspaces": [ 6 | "examples/*" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /packages/ChatUiKit/.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | *.log 3 | npm-debug.log 4 | 5 | # Runtime data 6 | tmp 7 | build 8 | lib 9 | 10 | # Dependency directory 11 | node_modules 12 | *.DS_Store 13 | example/development2 14 | example/development 15 | # Build file for local testing 16 | cometchat-pro-react-native-ui-kit-1.0.0.tgz 17 | package-lock.json 18 | Pods 19 | .idea 20 | .gradle 21 | example3 22 | 23 | # Yarn 24 | .yarn/* 25 | !.yarn/patches 26 | !.yarn/plugins 27 | !.yarn/releases 28 | !.yarn/sdks 29 | !.yarn/versions 30 | -------------------------------------------------------------------------------- /packages/ChatUiKit/.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "arrowParens": "always", 3 | "bracketSpacing": true, 4 | "bracketSameLine": false, 5 | "jsxSingleQuote": true, 6 | "quoteProps": "as-needed", 7 | "singleQuote": false, 8 | "semi": true, 9 | "printWidth": 100, 10 | "useTabs": false, 11 | "tabWidth": 2, 12 | "trailingComma": "es5" 13 | } 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/LICENSE.md: -------------------------------------------------------------------------------- 1 | Copyright (c) 2023 CometChat Inc. 2 | 3 | License agreement: https://www.cometchat.com/legal-terms-of-service -------------------------------------------------------------------------------- /packages/ChatUiKit/SUPPORT.md: -------------------------------------------------------------------------------- 1 | # Getting Support 2 | 3 | The quickest way to get support is to contact us via your CometChat Pro Dashboard. 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/.settings/org.eclipse.buildship.core.prefs: -------------------------------------------------------------------------------- 1 | arguments=--init-script /var/folders/p1/vlgvwyns2hnfl144fry7310m0000gn/T/db3b08fc4a9ef609cb16b96b200fa13e563f396e9bb1ed0905fdab7bc3bc513b.gradle --init-script /var/folders/p1/vlgvwyns2hnfl144fry7310m0000gn/T/52cde0cfcf3e28b8b7510e992210d9614505e0911af0c190bd590d7158574963.gradle 2 | auto.sync=false 3 | build.scans.enabled=false 4 | connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER) 5 | connection.project.dir= 6 | eclipse.preferences.version=1 7 | gradle.user.home= 8 | java.home=/opt/homebrew/Cellar/openjdk@17/17.0.12/libexec/openjdk.jdk/Contents/Home 9 | jvm.arguments= 10 | offline.mode=false 11 | override.workspace.settings=true 12 | show.console.view=true 13 | show.executions.view=true 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/gradle.properties: -------------------------------------------------------------------------------- 1 | CometchatUiKit_kotlinVersion=1.7.0 2 | CometchatUiKit_minSdkVersion=21 3 | CometchatUiKit_targetSdkVersion=31 4 | CometchatUiKit_compileSdkVersion=31 5 | CometchatUiKit_ndkversion=21.4.7075529 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /packages/ChatUiKit/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'example' 2 | apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | include ':app' 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/src/main/java/com/scalablevideoview/BuildConfig.java: -------------------------------------------------------------------------------- 1 | package com.scalablevideoview; 2 | 3 | public final class BuildConfig { 4 | public static final boolean DEBUG = false; 5 | public static final String LIBRARY_PACKAGE_NAME = "com.yqritc.scalablevideoview"; 6 | public static final String BUILD_TYPE = "release"; 7 | 8 | public BuildConfig() { 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/src/main/java/com/scalablevideoview/PivotPoint.java: -------------------------------------------------------------------------------- 1 | package com.scalablevideoview; 2 | 3 | public enum PivotPoint { 4 | LEFT_TOP, 5 | LEFT_CENTER, 6 | LEFT_BOTTOM, 7 | CENTER_TOP, 8 | CENTER, 9 | CENTER_BOTTOM, 10 | RIGHT_TOP, 11 | RIGHT_CENTER, 12 | RIGHT_BOTTOM 13 | } 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/src/main/java/com/scalablevideoview/ScalableType.java: -------------------------------------------------------------------------------- 1 | package com.scalablevideoview; 2 | 3 | public enum ScalableType { 4 | NONE, 5 | 6 | FIT_XY, 7 | FIT_START, 8 | FIT_CENTER, 9 | FIT_END, 10 | 11 | LEFT_TOP, 12 | LEFT_CENTER, 13 | LEFT_BOTTOM, 14 | CENTER_TOP, 15 | CENTER, 16 | CENTER_BOTTOM, 17 | RIGHT_TOP, 18 | RIGHT_CENTER, 19 | RIGHT_BOTTOM, 20 | 21 | LEFT_TOP_CROP, 22 | LEFT_CENTER_CROP, 23 | LEFT_BOTTOM_CROP, 24 | CENTER_TOP_CROP, 25 | CENTER_CROP, 26 | CENTER_BOTTOM_CROP, 27 | RIGHT_TOP_CROP, 28 | RIGHT_CENTER_CROP, 29 | RIGHT_BOTTOM_CROP, 30 | 31 | START_INSIDE, 32 | CENTER_INSIDE, 33 | END_INSIDE 34 | } 35 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/src/main/java/com/scalablevideoview/Size.java: -------------------------------------------------------------------------------- 1 | package com.scalablevideoview; 2 | 3 | public class Size { 4 | 5 | private int mWidth; 6 | private int mHeight; 7 | 8 | public Size(int width, int height) { 9 | mWidth = width; 10 | mHeight = height; 11 | } 12 | 13 | public int getWidth() { 14 | return mWidth; 15 | } 16 | 17 | public int getHeight() { 18 | return mHeight; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /packages/ChatUiKit/android/src/main/res/xml/filepaths.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/imageresolver.d.ts: -------------------------------------------------------------------------------- 1 | declare module "*.png" { 2 | const value: any; 3 | export = value; 4 | } -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/CometChatSoundModule.h: -------------------------------------------------------------------------------- 1 | #if __has_include() 2 | #import 3 | #else 4 | #import "RCTBridgeModule.h" 5 | #endif 6 | 7 | #import 8 | 9 | #if __has_include() 10 | #import 11 | #else 12 | #import "RCTEventEmitter.h" 13 | #endif 14 | 15 | @interface CometChatSoundModule : RCTEventEmitter 16 | @property (nonatomic, weak) NSNumber *_key; 17 | @end 18 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/CometchatUiKit.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface CometchatUiKit : NSObject 4 | 5 | @end 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/CometchatUiKit.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/CometchatUiKit.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/CommonUtil.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface CometChatCommonUtil : NSObject 4 | @end -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/CommonUtil.m: -------------------------------------------------------------------------------- 1 | #import "CommonUtil.h" 2 | 3 | @implementation CometChatCommonUtil 4 | 5 | RCT_EXPORT_MODULE(CommonUtil); 6 | 7 | RCT_EXPORT_METHOD(getSafeAreaInsets:(RCTPromiseResolveBlock)resolve 8 | rejecter:(RCTPromiseRejectBlock)reject) 9 | { 10 | dispatch_async(dispatch_get_main_queue(), ^{ 11 | if (@available(iOS 11.0, *)) { 12 | UIWindow *window = [[UIApplication sharedApplication] keyWindow]; 13 | UIEdgeInsets safeInsets = window.safeAreaInsets; 14 | resolve(@{ 15 | @"top" : @(safeInsets.top), 16 | @"bottom" : @(safeInsets.bottom), 17 | }); 18 | } else { 19 | resolve(@{ 20 | @"top" : @0, 21 | @"bottom" : @0, 22 | }); 23 | } 24 | }); 25 | } 26 | 27 | @end 28 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/FileManager.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import 4 | 5 | @interface CometChatFileManager : RCTEventEmitter 6 | 7 | @end 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/SoundPlayer.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import 4 | 5 | @interface CometChatSoundPlayer : RCTEventEmitter 6 | 7 | @end 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/TimeZoneCodeManager.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface TimeZoneCodeManager : NSObject 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/TimeZoneCodeManager.m: -------------------------------------------------------------------------------- 1 | #import "TimeZoneCodeManager.h" 2 | #import 3 | 4 | @implementation TimeZoneCodeManager { 5 | 6 | } 7 | 8 | // This macro makes the module available to JavaScript 9 | RCT_EXPORT_MODULE(TimeZoneCodeManager); 10 | 11 | // Export your method to JavaScript using RCT_EXPORT_METHOD 12 | RCT_EXPORT_METHOD(getCurrentTimeZone:(RCTResponseSenderBlock)callback) { 13 | dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0), ^{ 14 | // Get the time zone string 15 | NSString *timeZone = [[NSTimeZone localTimeZone] name]; 16 | 17 | // Call the callback block with the time zone string 18 | callback(@[timeZone]); 19 | }); 20 | } 21 | 22 | @end 23 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/Video/CCRCTVideoManager.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface CCRCTVideoManager : RCTViewManager 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/Video/CCRCTVideoPlayerViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // RCTVideoPlayerViewController.h 3 | // RCTVideo 4 | // 5 | // Created by Stanisław Chmiela on 31.03.2016. 6 | // Copyright © 2016 Facebook. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "CCRCTVideo.h" 11 | #import "CCRCTVideoPlayerViewControllerDelegate.h" 12 | 13 | @interface CCRCTVideoPlayerViewController : AVPlayerViewController 14 | @property (nonatomic, weak) id rctDelegate; 15 | 16 | // Optional paramters 17 | @property (nonatomic, weak) NSString* preferredOrientation; 18 | @property (nonatomic) BOOL autorotate; 19 | 20 | @end 21 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/Video/CCRCTVideoPlayerViewControllerDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import "AVKit/AVKit.h" 3 | 4 | @protocol CCRCTVideoPlayerViewControllerDelegate 5 | - (void)videoPlayerViewControllerWillDismiss:(AVPlayerViewController *)playerViewController; 6 | - (void)videoPlayerViewControllerDidDismiss:(AVPlayerViewController *)playerViewController; 7 | @end 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/Video/UIView+FindUIViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+FindUIViewController.h 3 | // RCTVideo 4 | // 5 | // Created by Stanisław Chmiela on 31.03.2016. 6 | // Copyright © 2016 Facebook. All rights reserved. 7 | // 8 | // Source: http://stackoverflow.com/a/3732812/1123156 9 | 10 | #import 11 | 12 | @interface UIView (FindUIViewController) 13 | - (UIViewController *) firstAvailableUIViewController; 14 | - (id) traverseResponderChainForUIViewController; 15 | @end 16 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/VideoManager.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | @interface CometChatVideoManager : NSObject 5 | 6 | @end 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/VideoPickerModule.h: -------------------------------------------------------------------------------- 1 | // VideoPickerModule.h 2 | 3 | #import 4 | #import 5 | 6 | @interface VideoPickerModule : NSObject 7 | @end -------------------------------------------------------------------------------- /packages/ChatUiKit/ios/WebViewManager.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | 5 | @interface WebViewManager : NSObject 6 | 7 | @end 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatConversations } from "./CometChatConversations"; 2 | 3 | export { Skeleton } from "./Skeleton"; 4 | 5 | export { getConversationStyleLight, getConversationStyleDark } from "./style"; 6 | 7 | export type { 8 | ConversationInterface 9 | } from "./CometChatConversations"; -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/back.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/blue-double-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/blue-double-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/delete.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/error.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/grey-double-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/grey-double-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/grey-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/grey-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/new.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/password.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/private.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/rightTick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/rightTick.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/sending.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/sending.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatConversations/resources/spineer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatConversations/resources/spineer.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroupMembers/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatGroupMembers } from "./CometChatGroupMembers"; 2 | export type {CometChatGroupMembersInterface} from "./CometChatGroupMembers"; -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroupMembers/resources/banIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroupMembers/resources/banIcon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroupMembers/resources/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroupMembers/resources/check.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroupMembers/resources/downArrowIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroupMembers/resources/downArrowIcon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroupMembers/resources/index.ts: -------------------------------------------------------------------------------- 1 | import banIcon from "./banIcon.png"; 2 | import checkIcon from "./check.png"; 3 | import downArrowIcon from "./downArrowIcon.png"; 4 | import kickIcon from "./kickIcon.png"; 5 | import rightTickIcon from "./rightTick.png"; 6 | 7 | export { banIcon, checkIcon, downArrowIcon, kickIcon, rightTickIcon }; 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroupMembers/resources/kickIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroupMembers/resources/kickIcon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroupMembers/resources/rightTick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroupMembers/resources/rightTick.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatGroups, CometChatGroupsInterface } from "./CometChatGroups"; 2 | import { getGroupListStyleLight, getUserGroupStyleDark } from "./GroupsStyle"; 3 | 4 | export { CometChatGroups, getGroupListStyleLight, getUserGroupStyleDark }; 5 | export type { CometChatGroupsInterface }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/back.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/check.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/create.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/create.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/index.ts: -------------------------------------------------------------------------------- 1 | import backIcon from "./back.png"; 2 | import checkIcon from "./check.png"; 3 | import closeIcon from "./close.png"; 4 | import createIcon from "./create.png"; 5 | import moreIcon from "./more.png"; 6 | import passwordGroupIcon from "./password.png"; 7 | import privateGroupIcon from "./private.png"; 8 | import rightTickIcon from "./rightTick.png"; 9 | import searchIcon from "./search.png"; 10 | import loadingIcon from "./spineer.png"; 11 | 12 | export { 13 | backIcon, 14 | checkIcon, 15 | closeIcon, 16 | createIcon, 17 | loadingIcon, 18 | moreIcon, 19 | passwordGroupIcon, 20 | privateGroupIcon, 21 | rightTickIcon, 22 | searchIcon, 23 | }; 24 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/more.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/password.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/private.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/rightTick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/rightTick.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/search.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/resources/spineer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatGroups/resources/spineer.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatGroups/style.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | export const Style = StyleSheet.create({ 4 | container: { 5 | height: "100%", 6 | }, 7 | listContainer: { 8 | flex: 1, 9 | justifyContent: "center", 10 | alignItems: "center", 11 | }, 12 | listStyle: { 13 | flex: 1, 14 | backgroundColor: "transparent", 15 | marginStart: 8, 16 | marginEnd: 8, 17 | }, 18 | }); 19 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatMessageComposer, 3 | CometChatMessageComposerInterface, 4 | } from "./CometChatMessageComposer"; 5 | 6 | export { 7 | CometChatMessageComposer, 8 | }; 9 | 10 | export type { 11 | CometChatMessageComposerInterface, 12 | }; 13 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/Info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/Info.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/ai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/ai.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/circle_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/circle_add.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/emoji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/emoji.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/heart.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/image.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/index.ts: -------------------------------------------------------------------------------- 1 | import AI from "./ai.png"; 2 | import ADD from "./circle_add.png"; 3 | import CLOSE from "./close.png"; 4 | import EMOJI from "./emoji.png"; 5 | import HEART from "./heart.png"; 6 | import IMAGE from "./image.png"; 7 | import INFO from "./Info.png"; 8 | import MICROPHONE from "./microphone.png"; 9 | import SEND from "./send_message.png"; 10 | import STICKER from "./stickers.png"; 11 | 12 | export const ICONS = { 13 | HEART, 14 | SEND, 15 | EMOJI, 16 | ADD, 17 | IMAGE, 18 | CLOSE, 19 | STICKER, 20 | MICROPHONE, 21 | AI, 22 | INFO, 23 | }; 24 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/microphone.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/send_message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/send_message.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageComposer/resources/stickers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageComposer/resources/stickers.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageHeader/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatMessageHeader, CometChatMessageHeaderInterface } from "./CometChatMessageHeader"; 2 | export { CometChatMessageHeader }; 3 | export type {CometChatMessageHeaderInterface}; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageInformation/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatMessageInformation, 3 | CometChatMessageInformationInterface, 4 | } from "./CometChatMessageInformation"; 5 | 6 | export { 7 | CometChatMessageInformation, 8 | }; 9 | 10 | export type { 11 | CometChatMessageInformationInterface, 12 | }; 13 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageInformation/resources/Spineer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageInformation/resources/Spineer.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageInformation/resources/index.ts: -------------------------------------------------------------------------------- 1 | import LoadingIcon from "./Spineer.png"; 2 | 3 | export { LoadingIcon }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatMessageList, 3 | CometChatMessageListActionsInterface, 4 | CometChatMessageListProps, 5 | } from "./CometChatMessageList"; 6 | 7 | export { 8 | CometChatMessageList, 9 | }; 10 | 11 | export type { 12 | CometChatMessageListActionsInterface, 13 | CometChatMessageListProps 14 | }; 15 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageList/resources/back.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageList/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/downArrowIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageList/resources/downArrowIcon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/index.ts: -------------------------------------------------------------------------------- 1 | import backIcon from "./back.png"; 2 | import closeIcon from "./close.png"; 3 | import downArrowIcon from "./downArrowIcon.png"; 4 | import LeftArrowCurve from "./leftarrowcurve.png"; 5 | import RightArrowCurve from "./rightarrowcurve.png"; 6 | import rightArrowIcon from "./rightArrowIcon.png"; 7 | import loadingIcon from "./spineer.png"; 8 | 9 | export { 10 | LeftArrowCurve, 11 | RightArrowCurve, 12 | backIcon, 13 | closeIcon, 14 | downArrowIcon, 15 | loadingIcon, 16 | rightArrowIcon, 17 | }; 18 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/leftarrowcurve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageList/resources/leftarrowcurve.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/rightArrowIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageList/resources/rightArrowIcon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/rightarrowcurve.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageList/resources/rightarrowcurve.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatMessageList/resources/spineer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatMessageList/resources/spineer.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatThreadHeaderInterface, 3 | CometChatThreadHeader 4 | } from "./CometChatThreadHeader"; 5 | export { CometChatThreadHeader }; 6 | export type { 7 | CometChatThreadHeaderInterface 8 | }; 9 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/resources/Back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatThreadHeader/resources/Back.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatThreadHeader/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/resources/index.ts: -------------------------------------------------------------------------------- 1 | import BACK from "./Back.png"; 2 | import CLOSE from "./close.png"; 3 | import MORE from "./more.png"; 4 | import PROTECTED from "./password.png"; 5 | import PRIVATE from "./private.png"; 6 | import RIGHT_ARROW from "./right-arrow.png"; 7 | export const ICONS = { 8 | BACK, 9 | CLOSE, 10 | PROTECTED, 11 | PRIVATE, 12 | RIGHT_ARROW, 13 | MORE, 14 | }; 15 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/resources/more.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatThreadHeader/resources/more.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/resources/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatThreadHeader/resources/password.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/resources/private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatThreadHeader/resources/private.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatThreadHeader/resources/right-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/CometChatThreadHeader/resources/right-arrow.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/CometChatUsers/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatUsers, 3 | CometChatUsersActionsInterface, 4 | CometChatUsersInterface, 5 | } from "./CometChatUsers"; 6 | 7 | export { CometChatUsers }; 8 | export type { 9 | CometChatUsersInterface, 10 | CometChatUsersActionsInterface 11 | }; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CallEvents.ts: -------------------------------------------------------------------------------- 1 | export const CallUIEvents = { 2 | ccCallFailed: "ccCallFailed", 3 | ccCallInitiated: "ccCallInitiated", 4 | ccCallRejected: "ccCallRejected", 5 | ccCallAccepted: "ccCallAccepted", 6 | ccCallEnded: "ccCallEnded", 7 | ccCallJoined: "ccCallJoined", 8 | ccOutgoingCall: "ccOutgoingCall", 9 | ccShowOngoingCall: "ccShowOngoingCall", 10 | }; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CallingPackage.ts: -------------------------------------------------------------------------------- 1 | declare const require: any; 2 | 3 | let isCallingPackageInstalled, CometChatCalls; 4 | 5 | try { 6 | // Attempt to require the package 7 | CometChatCalls = require("@cometchat/calls-sdk-react-native")?.CometChatCalls; 8 | isCallingPackageInstalled = true; 9 | 10 | // If no error is thrown, the package is installed 11 | // console.log('calls sdk is installed.'); 12 | } catch (error) { 13 | isCallingPackageInstalled = false; 14 | // If an error is thrown, the package is not installed 15 | // console.log('calls sdk is not installed.'); 16 | } 17 | 18 | export const CallingPackage = { 19 | isCallingPackageInstalled, 20 | CometChatCalls, 21 | }; 22 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallBubble/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatMeetCallBubble, CometChatMeetCallBubbleInterface } from "./CometChatCallBubble"; 2 | export { 3 | CometChatMeetCallBubble, 4 | }; 5 | export type { 6 | CometChatMeetCallBubbleInterface 7 | }; 8 | 9 | export { getGroupCallBubbleStyle } from "./styles"; 10 | export type { GroupCallBubbleStyles } from "./styles"; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallBubble/resources/avatar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallBubble/resources/avatar.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallBubble/resources/incomingaudiocall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallBubble/resources/incomingaudiocall.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallBubble/resources/incomingvideocall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallBubble/resources/incomingvideocall.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallBubble/resources/index.ts: -------------------------------------------------------------------------------- 1 | import Avatar from "./avatar.png"; 2 | import IncomingAudioCall from "./incomingaudiocall.png"; 3 | import IncomingVideoCall from "./incomingvideocall.png"; 4 | 5 | export { Avatar, IncomingAudioCall, IncomingVideoCall }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallButtons/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatCallButtonConfiguration, 3 | CometChatCallButtonConfigurationInterface, 4 | } from "./CometChatCallButtonConfiguration"; 5 | import { CometChatCallButtons, CometChatCallButtonsInterface } from "./CometChatCallButtons"; 6 | 7 | export type { CallButtonStyle } from "./style"; 8 | 9 | export { CometChatCallButtonConfiguration, CometChatCallButtons }; 10 | 11 | export type { CometChatCallButtonsInterface, CometChatCallButtonConfigurationInterface }; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatCallLogs, CometChatCallLogsConfigurationInterface } from "./CometChatCallLogs"; 2 | 3 | export { CometChatCallLogs }; 4 | export { getCallLogsStyleDark, getCallLogsStyleLight } from "./style"; 5 | 6 | export type { CometChatCallLogsConfigurationInterface }; 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Back.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Info.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Selection.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Selection.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/Spinner.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/check.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/incomingcall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/incomingcall.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/incomingvideo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/incomingvideo.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/missedcall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/missedcall.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/missedvideo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/missedvideo.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/outgoingcall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/outgoingcall.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatCallLogs/resources/outgoingvideo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatCallLogs/resources/outgoingvideo.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatIncomingCall/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatIncomingCall, CometChatIncomingCallInterface } from "./CometChatIncomingCall"; 2 | 3 | export { 4 | CometChatIncomingCall, 5 | }; 6 | 7 | export type { 8 | CometChatIncomingCallInterface, 9 | }; 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/Call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/Call.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/incomingaudiocall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/incomingaudiocall.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/incomingvideocall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/incomingvideocall.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatIncomingCall/resources/index.ts: -------------------------------------------------------------------------------- 1 | import AcceptCall from "./Call.png"; 2 | import DeclineIcon from "./close.png"; 3 | import AudioCall from "./incomingaudiocall.png"; 4 | import VideoCall from "./incomingvideocall.png"; 5 | 6 | export { AcceptCall, AudioCall, DeclineIcon, VideoCall }; 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatOngoingCall/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatOngoingCall, CometChatOngoingCallInterface } from "./CometChatOngoingCall"; 2 | 3 | export { CometChatOngoingCall}; 4 | export type {CometChatOngoingCallInterface }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatOutgoingCall/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatOutgoingCall } from "./CometChatOutgoingCall"; 2 | export type { CometChatOutgoingCallInterface } from "./CometChatOutgoingCall"; 3 | export { OutgoingCallConfiguration } from "./OutgoingCallConfiguration"; 4 | export { getOutgoingCallStyle } from "./styles"; 5 | export type { OutgoingCallStyle } from "./styles"; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatOutgoingCall/resources/Close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/CometChatOutgoingCall/resources/Close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/CometChatOutgoingCall/resources/index.ts: -------------------------------------------------------------------------------- 1 | import DeclineIcon from "./Close.png"; 2 | 3 | export { DeclineIcon }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/resources/Call.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/resources/Call.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/resources/Video.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/resources/Video.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/resources/index.ts: -------------------------------------------------------------------------------- 1 | import AudioIcon from "./Call.png"; 2 | import VideoIcon from "./Video.png"; 3 | import NextArrowIcon from "./nextarrow.png"; 4 | 5 | export { AudioIcon, NextArrowIcon, VideoIcon }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/calls/resources/nextarrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/calls/resources/nextarrow.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeBubble/resources/index.ts: -------------------------------------------------------------------------------- 1 | import WhiteBoard from "./whiteboard.png"; 2 | 3 | export const WHITEBOARDICON = { WhiteBoard }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeBubble/resources/whiteboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/CollaborativeBubble/resources/whiteboard.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeDocument/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatCollaborativeBubble } from "../CollaborativeBubble/CometChatCollaborativeBubble"; 2 | import { CollaborativeDocumentExtension } from "./CollaborativeDocumentExtension"; 3 | import { CollaborativeDocumentExtensionDecorator } from "./CollaborativeDocumentExtensionDecorator"; 4 | 5 | export { 6 | CollaborativeDocumentExtension, 7 | CollaborativeDocumentExtensionDecorator, 8 | CometChatCollaborativeBubble as CometChatCollaborativeDocumentBubble, 9 | }; 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeDocument/resources/collaborative_document.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/CollaborativeDocument/resources/collaborative_document.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeDocument/resources/collaborative_document_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/CollaborativeDocument/resources/collaborative_document_2x.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeDocument/resources/index.ts: -------------------------------------------------------------------------------- 1 | import CollaborativeDocument from "./collaborative_document.png"; 2 | import CollaborativeDocument2X from "./collaborative_document_2x.png"; 3 | 4 | export const DOCUMENTICON = CollaborativeDocument; 5 | export const DOCUMENTICON2X = CollaborativeDocument2X; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeWhiteboard/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatCollaborativeBubble } from "../CollaborativeBubble/CometChatCollaborativeBubble"; 2 | import { CollaborativeWhiteboardExtension } from "./CollaborativeWhiteboardExtension"; 3 | import { CollaborativeWhiteboardExtensionDecorator } from "./CollaborativeWhiteboardExtensionDecorator"; 4 | 5 | export { 6 | CollaborativeWhiteboardExtension, 7 | CollaborativeWhiteboardExtensionDecorator, 8 | CometChatCollaborativeBubble as CometChatCollaborativeWhiteBoardBubble, 9 | }; 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/CollaborativeWhiteboard/resources/collaborative_whiteboard.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeWhiteboard/resources/index.ts: -------------------------------------------------------------------------------- 1 | import CollaborativeWhiteboard from "./collaborative_whiteboard.png"; 2 | import WhiteBoard from "./whiteboard.png"; 3 | 4 | export const WHITEBOARDICON = WhiteBoard; 5 | export const COLLABORATIVEWHITEBOARDICON = CollaborativeWhiteboard; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/CollaborativeWhiteboard/resources/whiteboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/CollaborativeWhiteboard/resources/whiteboard.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/LinkPreview/index.ts: -------------------------------------------------------------------------------- 1 | import { LinkPreviewBubble, LinkPreviewBubbleInterface } from "./LinkPreviewBubble"; 2 | import { LinkPreviewExtension } from "./LinkPreviewExtension"; 3 | import { LinkPreviewExtensionDecorator } from "./LinkPreviewExtensionDecorator"; 4 | 5 | export { 6 | LinkPreviewBubble, 7 | LinkPreviewExtension, 8 | LinkPreviewExtensionDecorator, 9 | }; 10 | 11 | export type { 12 | LinkPreviewBubbleInterface, 13 | }; 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/LinkPreview/resources/defaultImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/LinkPreview/resources/defaultImage.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/LinkPreview/resources/index.ts: -------------------------------------------------------------------------------- 1 | import DefaultLinkPreview from "./defaultImage.png"; 2 | 3 | export { DefaultLinkPreview }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/MessageTranslation/index.ts: -------------------------------------------------------------------------------- 1 | import { MessageTranslationBubble } from "./MessageTranslationBubble"; 2 | import { MessageTranslationExtensionDecorator } from "./MessageTranslationDecorator"; 3 | import { 4 | MessageTranslationExtension, 5 | } from "./MessageTranslationExtension"; 6 | 7 | export { 8 | MessageTranslationBubble, 9 | MessageTranslationExtension, 10 | MessageTranslationExtensionDecorator, 11 | }; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/MessageTranslation/resources/index.ts: -------------------------------------------------------------------------------- 1 | import TRANSLATE from "./translate.png"; 2 | 3 | export const ICONS = { 4 | TRANSLATE, 5 | }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/MessageTranslation/resources/translate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/MessageTranslation/resources/translate.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/PollsConfigurations.ts: -------------------------------------------------------------------------------- 1 | export interface PollsConfigurationInterface { 2 | title?: string; 3 | questionPlaceholderText?: string; 4 | answerPlaceholderText?: string; 5 | answerHelpText?: string; 6 | addAnswerText?: string; 7 | } 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatCreatePoll, CometChatCreatePollInterface } from "./Polls"; 2 | import { PollsConfigurationInterface } from "./PollsConfigurations"; 3 | import { PollsExtension } from "./PollsExtension"; 4 | export { 5 | CometChatCreatePoll, 6 | PollsExtension, 7 | }; 8 | export type { 9 | CometChatCreatePollInterface, 10 | PollsConfigurationInterface, 11 | }; -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/Polls/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/resources/document.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/Polls/resources/document.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/resources/index.ts: -------------------------------------------------------------------------------- 1 | import CLOSE from "./close.png"; 2 | import DOCUMENT from "./document.png"; 3 | import KICK from "./kickIcon.png"; 4 | import TICK from "./rightTick.png"; 5 | import WARNING from "./warning.png"; 6 | 7 | export const ICONS = { 8 | CLOSE, 9 | TICK, 10 | WARNING, 11 | KICK, 12 | DOCUMENT, 13 | }; 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/resources/kickIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/Polls/resources/kickIcon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/resources/rightTick.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/Polls/resources/rightTick.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Polls/resources/warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/Polls/resources/warning.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/CometChatStickerKeyboard/StickerKeyboardConfiguration.ts: -------------------------------------------------------------------------------- 1 | import { CometChat } from "@cometchat/chat-sdk-react-native"; 2 | 3 | /** 4 | * @class StickerKeyboardConfiguration 5 | * @description StickerKeyboardConfiguration class is used for defining the StickerKeyboard templates. 6 | * @param {Function} onPress 7 | * @param {Object} style 8 | */ 9 | 10 | class StickerKeyboardConfiguration { 11 | onPress: (item: CometChat.CustomMessage) => void; 12 | constructor({ onPress = (item: CometChat.CustomMessage) => {} }) { 13 | this.onPress = onPress; 14 | } 15 | } 16 | 17 | export { StickerKeyboardConfiguration }; 18 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/CometChatStickerKeyboard/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatStickerKeyboard } from "./CometChatStickerKeyboard"; 2 | import { StickerKeyboardConfiguration } from "./StickerKeyboardConfiguration"; 3 | 4 | export { CometChatStickerKeyboard, StickerKeyboardConfiguration }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/CometChatStickerKeyboard/resources/close.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/StickerConfiguration.ts: -------------------------------------------------------------------------------- 1 | import { ImageStyle } from "react-native"; 2 | 3 | export interface StickerConfigurationInterface { 4 | style?: ImageStyle; 5 | } 6 | 7 | export class StickerConfiguration implements StickerConfigurationInterface { 8 | style?: ImageStyle; 9 | 10 | constructor({ style = {} }: StickerConfigurationInterface) { 11 | this.style = style; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/StickersBubble.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { Image, ImageStyle } from "react-native"; 3 | 4 | export interface CometChatStickerBubbleProps { 5 | /** 6 | * image url pass as {uri: "dummyUrl"} 7 | */ 8 | url: string; 9 | /** 10 | * place holder image 11 | */ 12 | name?: string; 13 | /** 14 | * style object of type ImageBubbleStyleInterface 15 | */ 16 | style?: ImageStyle; 17 | } 18 | 19 | export const CometChatStickerBubble = (props: CometChatStickerBubbleProps) => { 20 | const { url, style} = props; 21 | 22 | 23 | return ( 24 | 29 | ); 30 | }; 31 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/index.ts: -------------------------------------------------------------------------------- 1 | import { StickerConfigurationInterface } from "./StickerConfiguration"; 2 | import { CometChatStickerBubble, CometChatStickerBubbleProps } from "./StickersBubble"; 3 | import { StickersExtension } from "./StickersExtension"; 4 | import { StickersExtensionDecorator } from "./StickersExtensionDecorator"; 5 | 6 | export { 7 | CometChatStickerBubble, 8 | StickersExtension, 9 | StickersExtensionDecorator, 10 | }; 11 | 12 | export type { 13 | StickerConfigurationInterface, 14 | CometChatStickerBubbleProps 15 | }; 16 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/resources/Stickers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/Stickers/resources/Stickers.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/Stickers/resources/index.ts: -------------------------------------------------------------------------------- 1 | import StickerIcon from "./Stickers.png"; 2 | 3 | export { StickerIcon }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/ThumbnailGeneration/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | ThumbnailGenerationExtension, 3 | } from "./ThumbnailGenerationExtension"; 4 | 5 | export {ThumbnailGenerationExtension }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/ThumbnailGeneration/resources/default_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/ThumbnailGeneration/resources/default_image.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/ThumbnailGeneration/resources/empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/extensions/ThumbnailGeneration/resources/empty.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/extensions/ThumbnailGeneration/resources/index.ts: -------------------------------------------------------------------------------- 1 | import defaultThumbnail from "./default_image.png"; 2 | 3 | export { defaultThumbnail }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/CometChatUiKit/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatUIKit } from "./CometChatUIKit"; 2 | import { CometChatUIKitHelper } from "./CometChatUIKitHelper"; 3 | import { UIKitSettings } from "./UIKitSettings"; 4 | 5 | export { CometChatUIKit, CometChatUIKitHelper, UIKitSettings }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/Back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/Back.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/BackArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/BackArrow.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/blue-double-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/blue-double-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/calendar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/calendar.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/checkmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/checkmark.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/clock-alert.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/clock-alert.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/clock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/clock.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/earth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/earth.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/empty-slot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/empty-slot.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/error.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/forwardArrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/forwardArrow.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/grey-double-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/grey-double-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/grey-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/grey-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/assets/images/sending.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/assets/images/sending.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/base/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | AdditionalParams, 3 | ConversationType, 4 | MessageBubbleAlignmentType, 5 | MessageListAlignmentType, 6 | MessageTimeAlignmentType, 7 | SelectionMode, 8 | } from "./Types"; 9 | 10 | export type { 11 | MessageListAlignmentType, 12 | SelectionMode, 13 | ConversationType, 14 | AdditionalParams, 15 | MessageBubbleAlignmentType, 16 | MessageTimeAlignmentType, 17 | }; 18 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/base/vars.ts: -------------------------------------------------------------------------------- 1 | interface IThis { 2 | safeAreaInsets: { 3 | top: number | null; 4 | bottom: number | null; 5 | }; 6 | } 7 | 8 | export const commonVars: IThis = { 9 | safeAreaInsets: { 10 | top: null, 11 | bottom: null, 12 | }, 13 | }; 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/events/conversations.ts: -------------------------------------------------------------------------------- 1 | export enum CometChatConversationEvents { 2 | ccConversationDeleted = "ccConversationDeleted", 3 | } 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/events/groups.ts: -------------------------------------------------------------------------------- 1 | export enum CometChatGroupsEvents { 2 | ccGroupMemberKicked = "ccGroupMemberKicked", 3 | ccGroupMemberBanned = "ccGroupMemberBanned", 4 | ccGroupMemberUnBanned = "ccGroupMemberUnBanned", 5 | ccGroupMemberScopeChanged = "ccGroupMemberScopeChanged", 6 | ccGroupMemberJoined = "ccGroupMemberJoined", 7 | ccGroupMemberAdded = "ccGroupMemberAdded", 8 | ccGroupCreated = "ccGroupCreated", 9 | ccGroupDeleted = "ccGroupDeleted", 10 | } 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/events/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatUIEventHandler } from "./CometChatUIEventHandler/CometChatUIEventHandler"; 2 | import { CometChatUIEvents } from "./CometChatUIEvents"; 3 | import { CometChatConversationEvents } from "./conversations"; 4 | import { CometChatGroupsEvents } from "./groups"; 5 | import { MessageEvents } from "./messages"; 6 | 7 | export { 8 | CometChatConversationEvents, 9 | CometChatGroupsEvents, 10 | CometChatUIEventHandler, 11 | CometChatUIEvents, 12 | MessageEvents, 13 | }; 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/formatters/CometChatMentionsFormatter/MentionTextStyle.ts: -------------------------------------------------------------------------------- 1 | import { StyleProp, TextStyle } from "react-native"; 2 | /** 3 | * MentionTextStyle 4 | * Stores the styles for user mention. 5 | * @param textStyle: TextStyle 6 | * @param loggedInUserTextStyle: TextStyle 7 | */ 8 | export class MentionTextStyle { 9 | textStyle?: StyleProp; 10 | loggedInUserTextStyle?: StyleProp; 11 | constructor(props: MentionTextStyle) { 12 | Object.assign(this, props); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/formatters/CometChatMentionsFormatter/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatMentionsFormatter } from "./CometChatMentionsFormatter"; 2 | import { MentionTextStyle } from "./MentionTextStyle"; 3 | 4 | export { CometChatMentionsFormatter, MentionTextStyle }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/formatters/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatMentionsFormatter, MentionTextStyle } from "./CometChatMentionsFormatter"; 2 | import { CometChatTextFormatter } from "./CometChatTextFormatter"; 3 | import { CometChatUrlsFormatter } from "./CometChatUrlsFormatter"; 4 | 5 | export { 6 | CometChatMentionsFormatter, 7 | CometChatTextFormatter, 8 | CometChatUrlsFormatter, 9 | MentionTextStyle, 10 | }; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/ExtensionsDataSource.tsx: -------------------------------------------------------------------------------- 1 | import { CometChat } from "@cometchat/chat-sdk-react-native"; 2 | 3 | abstract class ExtensionsDataSource { 4 | abstract addExtension(): void; 5 | abstract getExtensionId(): string; 6 | 7 | enable(): void { 8 | CometChat.isExtensionEnabled(this.getExtensionId()).then((enabled: Boolean) => { 9 | if (enabled) this.addExtension(); 10 | }); 11 | } 12 | } 13 | 14 | export { ExtensionsDataSource }; 15 | 16 | // export interface ExtensionsDataSource { 17 | // enable() 18 | // } 19 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/index.ts: -------------------------------------------------------------------------------- 1 | import { ChatConfigurator } from "./ChatConfigurator"; 2 | import { DataSource } from "./DataSource"; 3 | import { DataSourceDecorator } from "./DataSourceDecorator"; 4 | import { ExtensionsDataSource } from "./ExtensionsDataSource"; 5 | import { MessageDataSource } from "./MessageDataSource"; 6 | export { 7 | ChatConfigurator, 8 | DataSourceDecorator, 9 | ExtensionsDataSource, 10 | MessageDataSource, 11 | }; 12 | export type { 13 | DataSource, 14 | }; 15 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/audio-file.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/audio-file.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/circle_add.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/circle_add.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/copy.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/delete.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/delete.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/edit.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/emoji.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/emoji.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/file_upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/file_upload.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/forward.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/heart.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/heart.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/image.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/info.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/location.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/location.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/messageInPrivate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/messageInPrivate.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/microphone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/microphone.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/pause.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/play.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/reply.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/reply.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/send_message.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/send_message.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/share.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/share.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/stop_player.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/stop_player.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/thread.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/thread.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/framework/resources/video_upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/framework/resources/video_upload.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/helper/Toast.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { StyleSheet, Text, View } from "react-native"; 3 | 4 | export const Toast = (props: { message: string }) => { 5 | return ( 6 | 7 | {props.message} 8 | 9 | ); 10 | }; 11 | 12 | const ToastStyle = StyleSheet.create({ 13 | container: { 14 | position: "absolute", 15 | backgroundColor: "rgba(95,95,95,1)", 16 | borderWidth: 1, 17 | borderColor: "rgba(0,0,0,0.8)", 18 | zIndex: 10000, 19 | margin: 16, 20 | padding: 16, 21 | borderRadius: 18, 22 | alignSelf: "center", 23 | justifyContent: "center", 24 | bottom: 16, 25 | }, 26 | }); 27 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/add.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/arrow-forward.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/base-icon.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { G, Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 10 | 11 | 12 | 13 | 14 | 15 | ); 16 | export default SvgComponent; 17 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/bookmark.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/call-made.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/call-received.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/check.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/chevron-left.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/chevron-right.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/edit.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/keyboard-arrow-down.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/keyboard-arrow-up.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/near-me-fill.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/near-me.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/pause.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/play-arrow.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/poll-Icon.tsx: -------------------------------------------------------------------------------- 1 | import type { SvgProps } from "react-native-svg"; 2 | import Svg, { G, Path } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 6 | 7 | 8 | 9 | ); 10 | export default SvgComponent; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/poll-fill.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/poll.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/rearrange-fill.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 11 | 12 | ); 13 | export default SvgComponent; 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/rearrange.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 11 | 12 | ); 13 | export default SvgComponent; 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/send.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/shield-fill.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/sticker-fill.tsx: -------------------------------------------------------------------------------- 1 | import type { SvgProps } from "react-native-svg"; 2 | import Svg, { Path } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | 11 | ); 12 | export default SvgComponent; 13 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/stop.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/videocam.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/icons/components/volume-mute.tsx: -------------------------------------------------------------------------------- 1 | import Svg, { Path } from "react-native-svg"; 2 | import type { SvgProps } from "react-native-svg"; 3 | const SvgComponent = ({ height, width, color }: SvgProps) => ( 4 | 5 | 9 | 10 | ); 11 | export default SvgComponent; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/libs/ImageZoom/index.tsx: -------------------------------------------------------------------------------- 1 | import ReactNativeZoomableView from "./ReactNativeZoomableView"; 2 | import ReactNativeZoomableViewWithGestures from "./ReactNativeZoomableViewWithGestures"; 3 | import type { ReactNativeZoomableViewProps, ZoomableViewEvent } from "./types"; 4 | 5 | export { 6 | ReactNativeZoomableView, 7 | ReactNativeZoomableViewProps, 8 | ReactNativeZoomableViewWithGestures, 9 | ZoomableViewEvent, 10 | }; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/libs/VideoPlayer/DRMType.js: -------------------------------------------------------------------------------- 1 | export default { 2 | WIDEVINE: 'widevine', 3 | PLAYREADY: 'playready', 4 | CLEARKEY: 'clearkey', 5 | FAIRPLAY: 'fairplay' 6 | }; 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/libs/VideoPlayer/FilterType.js: -------------------------------------------------------------------------------- 1 | export default { 2 | NONE: '', 3 | INVERT: 'CIColorInvert', 4 | MONOCHROME: 'CIColorMonochrome', 5 | POSTERIZE: 'CIColorPosterize', 6 | FALSE: 'CIFalseColor', 7 | MAXIMUMCOMPONENT: 'CIMaximumComponent', 8 | MINIMUMCOMPONENT: 'CIMinimumComponent', 9 | CHROME: 'CIPhotoEffectChrome', 10 | FADE: 'CIPhotoEffectFade', 11 | INSTANT: 'CIPhotoEffectInstant', 12 | MONO: 'CIPhotoEffectMono', 13 | NOIR: 'CIPhotoEffectNoir', 14 | PROCESS: 'CIPhotoEffectProcess', 15 | TONAL: 'CIPhotoEffectTonal', 16 | TRANSFER: 'CIPhotoEffectTransfer', 17 | SEPIA: 'CISepiaTone', 18 | }; 19 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/libs/VideoPlayer/TextTrackType.js: -------------------------------------------------------------------------------- 1 | export default { 2 | SRT: 'application/x-subrip', 3 | TTML: 'application/ttml+xml', 4 | VTT: 'text/vtt', 5 | }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/libs/VideoPlayer/VideoResizeMode.js: -------------------------------------------------------------------------------- 1 | export default { 2 | contain: 'contain', 3 | cover: 'cover', 4 | stretch: 'stretch', 5 | }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/modals/CometChatMessageOption.ts: -------------------------------------------------------------------------------- 1 | import { CometChat } from "@cometchat/chat-sdk-react-native"; 2 | import { ImageSourcePropType, ImageStyle, TextStyle, ViewStyle } from "react-native"; 3 | import { ActionItemInterface } from "../views"; 4 | 5 | export type CometChatMessageOption = ActionItemInterface & { 6 | id: string; 7 | title: string; 8 | icon?: JSX.Element | ImageSourcePropType; 9 | CustomView?: (message: CometChat.BaseMessage) => JSX.Element; 10 | onPress?: (message: CometChat.BaseMessage) => void; 11 | style?: Partial<{ 12 | containerStyle: ViewStyle; 13 | iconStyle: ImageStyle; 14 | iconContainerStyle: ViewStyle; 15 | titleStyle: TextStyle; 16 | }>; 17 | }; 18 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/modals/index.ts: -------------------------------------------------------------------------------- 1 | export type { CometChatMessageOption } from "./CometChatMessageOption"; 2 | import { CometChatMessageTemplate } from "./CometChatMessageTemplate"; 3 | 4 | export { 5 | CometChatMessageTemplate 6 | }; 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatLocalize/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatLocalize, localize } from "./CometChatLocalize"; 2 | 3 | export { CometChatLocalize, localize }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatSoundManager/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatSoundManager } from "./CometChatSoundManager.js"; 2 | export { CometChatSoundManager }; 3 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/incomingcall.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/incomingcall.wav -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/incomingmessage.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/incomingmessage.wav -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/incomingothermessage.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/incomingothermessage.wav -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/index.js: -------------------------------------------------------------------------------- 1 | export { default as incomingMessageAlert } from "./incomingmessage.wav"; 2 | export { default as incomingOtherMessageAlert } from "./incomingothermessage.wav"; 3 | export { default as outgoingMessageAlert } from "./outgoingmessage.wav"; 4 | export { default as incomingCallAlert } from "./incomingcall.wav"; 5 | export { default as outgoingCallAlert } from "./outgoingcall.wav"; -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/outgoingcall.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/outgoingcall.wav -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/outgoingmessage.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/resources/CometChatSoundManager/resources/outgoingmessage.wav -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/resources/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatLocalize, localize } from "./CometChatLocalize"; 2 | import { CometChatSoundManager } from "./CometChatSoundManager"; 3 | 4 | export { CometChatLocalize, CometChatSoundManager, localize }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/utils/CometChatMessagePreview/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatMessagePreview } from "./CometChatMessagePreview"; 2 | import { MessagePreviewStyle } from "./MessagePreviewStyle"; 3 | 4 | export { CometChatMessagePreview, MessagePreviewStyle } -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/utils/CometChatMessagePreview/resources/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/utils/CometChatMessagePreview/resources/close.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/utils/CometChatMessagePreview/resources/index.ts: -------------------------------------------------------------------------------- 1 | import Close from "./close.png"; 2 | 3 | export { Close }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/utils/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatSoundManager } from "../resources/CometChatSoundManager"; 2 | import { CometChatMessagePreview, MessagePreviewStyle } from "./CometChatMessagePreview"; 3 | import { CometChatConversationUtils } from "./conversationUtils"; 4 | export { 5 | CometChatConversationUtils, 6 | CometChatMessagePreview, 7 | CometChatSoundManager, 8 | MessagePreviewStyle, 9 | }; 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAICard/resources/errormessage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatAICard/resources/errormessage.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAICard/resources/index.ts: -------------------------------------------------------------------------------- 1 | import ErrorMessageIcon from "./errormessage.png"; 2 | import NoMessageIcon from "./nomessage.png"; 3 | 4 | export { ErrorMessageIcon, NoMessageIcon }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAICard/resources/nomessage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatAICard/resources/nomessage.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatActionSheet/ActionItem.ts: -------------------------------------------------------------------------------- 1 | import { ImageSourcePropType, ImageStyle, StyleProp, TextStyle, ViewStyle } from "react-native"; 2 | import { ActionSheetStyle } from "../../../theme/type"; 3 | 4 | export interface ActionItemInterface { 5 | id: string; 6 | title?: string; 7 | icon?: JSX.Element | ImageSourcePropType; 8 | onPress?: Function; 9 | style?: Partial<{ 10 | containerStyle: ViewStyle; 11 | iconStyle: ImageStyle; 12 | iconContainerStyle: ViewStyle; 13 | titleStyle: TextStyle; 14 | }>; 15 | } 16 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatActionSheet/hooks.ts: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { ActionItemInterface } from "./ActionItem"; 3 | import { CometChatActionSheetInterface } from "./CometChatActionSheet"; 4 | 5 | export const Hooks = ( 6 | props: CometChatActionSheetInterface, 7 | setActionList: React.Dispatch> 8 | ) => { 9 | React.useEffect(() => { 10 | setActionList(props.actions); 11 | }, [props.actions]); 12 | }; 13 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatActionSheet/index.ts: -------------------------------------------------------------------------------- 1 | export type { ActionItemInterface } from "./ActionItem"; 2 | export { CometChatActionSheet } from "./CometChatActionSheet"; 3 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatActionSheet/resources/grid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatActionSheet/resources/grid.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatActionSheet/resources/index.ts: -------------------------------------------------------------------------------- 1 | import GRID from "./grid.png"; 2 | import LIST from "./list.png"; 3 | 4 | export const ICONS = { 5 | GRID, 6 | LIST, 7 | }; 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatActionSheet/resources/list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatActionSheet/resources/list.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatActionSheet/style.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | export const Style = StyleSheet.create({ 4 | listContainer: { 5 | borderRadius: 8, 6 | overflow: "hidden" 7 | }, 8 | }); 9 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAudioBubble/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatAudioBubble, CometChatAudioBubbleInterface } from "./CometChatAudioBubble"; 2 | import { getAudioBubbleStyleLight, getAudioBubbleStyleDark } from "./style"; 3 | 4 | export { 5 | getAudioBubbleStyleLight, 6 | getAudioBubbleStyleDark, 7 | CometChatAudioBubble 8 | }; 9 | 10 | export type { 11 | CometChatAudioBubbleInterface 12 | }; -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAudioBubble/resources/index.ts: -------------------------------------------------------------------------------- 1 | import defaultPauseIcon from "./pause.png"; 2 | import defaultPlayIcon from "./play.png"; 3 | 4 | export { defaultPauseIcon, defaultPlayIcon }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAudioBubble/resources/pause.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatAudioBubble/resources/pause.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAudioBubble/resources/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatAudioBubble/resources/play.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatAvatar/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatAvatar } from "./CometChatAvatar"; 2 | export { getAvatarStyle } from "./styles"; 3 | export type {AvatarStyle} from "./styles"; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatBadge/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatBadge } from "./CometChatBadge"; 2 | export type { CometChatBadgeProps } from "./CometChatBadge"; 3 | export { getBadgeStyle } from "./styles"; 4 | export type { BadgeStyle } from "./styles"; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatBottomSheet/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatBottomSheet, CometChatBottomSheetInterface } from "./CometChatBottomSheet"; 2 | 3 | export { CometChatBottomSheet }; 4 | export type {CometChatBottomSheetInterface}; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatConfirmDialog/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatConfirmDialog, CometChatConfirmDialogInterface } from "./CometChatConfirmDialog"; 2 | export { CometChatConfirmDialog }; 3 | export type { CometChatConfirmDialogInterface }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatDate/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatDate } from "./CometChatDate"; 2 | export type {CometChatDateInterface} from "./CometChatDate"; 3 | export { getDateStyleLight, getDateStyleDark } from "./styles"; 4 | export type { DateStyle } from "./styles"; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatDateSeperator/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatDateSeparator } from "./CometChatDateSeparator"; 2 | export { 3 | getDateSeparatorStyleLight, 4 | getDateSeparatorStyleDark, 5 | } from "./styles"; 6 | export type { CometChatDateSeparatorInterface } from "./CometChatDateSeparator"; 7 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatDeletedBubble/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatDeletedBubble } from "./CometChatDeletedBubble"; 2 | export type { CometChatDeletedBubbleInterface } from "./CometChatDeletedBubble"; 3 | 4 | export { getDeletedBubbleStyle } from "./styles"; 5 | export type { DeletedBubbleStyle } from "./styles"; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/Emoji.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @class CometChatEmoji 3 | * @description CometChatEmoji class is used for defining the emoji. 4 | * 5 | * @param {String} char 6 | * @param {Array} keywords 7 | */ 8 | class CometChatEmoji { 9 | char = ""; 10 | keywords = []; 11 | constructor({ char, keywords }) { 12 | this.char = char; 13 | this.keywords = keywords; 14 | } 15 | } 16 | 17 | export { CometChatEmoji }; 18 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/EmojiCategory.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * @class CometChatEmojiCategory 3 | * @description CometChatEmojiCategory class is used for defining the category. 4 | * @param {String} id 5 | * @param {String} name 6 | * @param {String} symbol 7 | * @param {Object} emojis 8 | */ 9 | class CometChatEmojiCategory { 10 | id = ""; 11 | name = ""; 12 | symbol = ""; 13 | emojis = {}; 14 | constructor({ id, name, emojis, symbol }) { 15 | this.id = id; 16 | this.name = name; 17 | this.emojis = emojis; 18 | this.symbol = symbol; 19 | } 20 | } 21 | 22 | export { CometChatEmojiCategory }; 23 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatEmojiKeyboard } from "./CometChatEmojiKeyboard"; 2 | 3 | export { CometChatEmojiKeyboard }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/activity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/activity.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/animals.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/animals.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/flags.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/flags.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/food.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/food.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/index.ts: -------------------------------------------------------------------------------- 1 | import activity from "./activity.png"; 2 | import animals from "./animals.png"; 3 | import flags from "./flags.png"; 4 | import food from "./food.png"; 5 | import objects from "./objects.png"; 6 | import smileys from "./smileys.png"; 7 | import symbols from "./symbols.png"; 8 | import travel from "./travel.png"; 9 | 10 | export { activity, animals, flags, food, objects, smileys, symbols, travel }; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/objects.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/objects.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/smileys.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/smileys.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/symbols.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/symbols.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/travel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatEmojiKeyboard/resources/travel.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatFileBubble/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatFileBubble, CometChatFileBubbleInterface } from "./CometChatFileBubble"; 2 | import { getFileBubbleStyleLight, getFileBubbleStyleDark } from "./style"; 3 | 4 | export { 5 | CometChatFileBubble, 6 | getFileBubbleStyleLight, 7 | getFileBubbleStyleDark, 8 | }; 9 | 10 | export type { 11 | CometChatFileBubbleInterface, 12 | }; 13 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatFileBubble/resources/download.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatFileBubble/resources/download.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatFileBubble/resources/file_upload.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatFileBubble/resources/file_upload.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatFileBubble/resources/index.ts: -------------------------------------------------------------------------------- 1 | import downloadIcon from "./download.png"; 2 | import fileIcon from "./file_upload.png"; 3 | 4 | export { downloadIcon, fileIcon }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatImageBubble/assets/index.ts: -------------------------------------------------------------------------------- 1 | import Spinner from "./spineer.png"; 2 | 3 | export const ICONS = { 4 | Spinner, 5 | }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatImageBubble/assets/spineer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatImageBubble/assets/spineer.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatImageBubble/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatImageBubble, CometChatImageBubbleInterface } from "./CometChatImageBubble"; 2 | 3 | export { 4 | CometChatImageBubble, 5 | }; 6 | 7 | export type { 8 | CometChatImageBubbleInterface, 9 | }; 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatImageViewerModal/index.tsx: -------------------------------------------------------------------------------- 1 | export { ImageViewerModal } from "./ImageViewerModal"; 2 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatImageViewerModal/resources/Back.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatImageViewerModal/resources/Back.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatImageViewerModal/resources/index.ts: -------------------------------------------------------------------------------- 1 | import backIcon from "./Back.png"; 2 | 3 | export const ICONS = { 4 | backIcon, 5 | }; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatList/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatList, 3 | CometChatListActionsInterface, 4 | CometChatListProps, 5 | CometChatListStylesInterface, 6 | } from "./CometChatList"; 7 | export { 8 | CometChatList, 9 | }; 10 | 11 | export type { 12 | CometChatListActionsInterface, 13 | CometChatListStylesInterface, 14 | CometChatListProps, 15 | } 16 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatList/resources/Spinner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatList/resources/Spinner.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatList/resources/check.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatList/resources/check.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatList/resources/checkmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatList/resources/checkmark.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatList/resources/index.ts: -------------------------------------------------------------------------------- 1 | import SPINNER from "./Spinner.png"; 2 | import CHECK from "./check.png"; 3 | import CHECK_MARK from "./checkmark.png"; 4 | export const ICONS = { 5 | SPINNER, 6 | CHECK, 7 | CHECK_MARK, 8 | }; 9 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatListItem/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatListItem, CometChatListItemInterface } from "./CometChatListItem"; 2 | export { CometChatListItem}; 3 | export type {CometChatListItemInterface}; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatMediaRecorder/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatMediaRecorder, CometChatMediaRecorderInterface } from "./CometChatMediaRecorder"; 2 | export { CometChatMediaRecorder }; 3 | 4 | export type { CometChatMediaRecorderInterface }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatMessageBubble/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatMessageBubble, CometChatMessageBubbleInterface } from "./CometChatMessageBubble"; 2 | 3 | export { CometChatMessageBubble }; 4 | export type {CometChatMessageBubbleInterface}; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatMessageBubble/style.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatMessageBubble/style.ts -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatMessageInput/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatMessageInput, 3 | CometChatMessageInputInterface, 4 | } from "./CometChatMessageInput"; 5 | export { 6 | CometChatMessageInput, 7 | }; 8 | export type { 9 | CometChatMessageInputInterface, 10 | }; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatMessageInput/styles.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | export const styles = StyleSheet.create({ 4 | textInput: { 5 | fontSize: 15, 6 | fontWeight: "400", 7 | padding: 10, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatQuickReactions/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatQuickReactions 3 | } from "./CometChatQuickReactions"; 4 | 5 | export { 6 | CometChatQuickReactions 7 | }; 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatQuickReactions/resources/AddReactions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatQuickReactions/resources/AddReactions.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatQuickReactions/resources/index.ts: -------------------------------------------------------------------------------- 1 | import ADDREACTION from "./AddReactions.png"; 2 | export const ICONS = { ADDREACTION }; 3 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReactionList/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatReactionList, CometChatReactionListInterface } from "./CometChatReactionList"; 2 | 3 | export { 4 | CometChatReactionList, 5 | }; 6 | 7 | export type { 8 | CometChatReactionListInterface 9 | }; 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReactionList/resources/Spineer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatReactionList/resources/Spineer.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReactionList/resources/index.ts: -------------------------------------------------------------------------------- 1 | import LoadingIcon from "./Spineer.png"; 2 | 3 | export { LoadingIcon }; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReactions/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatReactions, CometChatReactionsInterface } from "./CometChatReactions"; 2 | 3 | export { 4 | CometChatReactions 5 | }; 6 | 7 | export type { 8 | CometChatReactionsInterface 9 | }; -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReceipt/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatReceipt } from "./CometChatReceipt"; 2 | 3 | export type { ReceiptStyles } from "./style"; 4 | 5 | export type { CometChatReceiptInterface } from "./CometChatReceipt"; 6 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/blue-double-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/blue-double-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/error.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/grey-double-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/grey-double-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/grey-tick-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/grey-tick-icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/index.ts: -------------------------------------------------------------------------------- 1 | import WAITING from "./sending.png"; 2 | import GREY_TICK from "./grey-tick-icon.png"; 3 | import GREY_DOUBLE_TICK from "./grey-double-tick-icon.png"; 4 | import BLUE_DOUBLE_TICK from "./blue-double-tick-icon.png"; 5 | import ERROR_TICK from "./error.png"; 6 | 7 | export const ICONS = { 8 | WAITING, 9 | GREY_TICK, 10 | GREY_DOUBLE_TICK, 11 | BLUE_DOUBLE_TICK, 12 | ERROR_TICK, 13 | }; 14 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/sending.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatReceipt/resources/sending.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatStatusIndicator/index.ts: -------------------------------------------------------------------------------- 1 | export { CometChatStatusIndicator } from "./CometChatStatusIndicator"; 2 | 3 | export type { CometChatStatusIndicatorInterface } from "./CometChatStatusIndicator"; 4 | 5 | export {getStatusIndicatorStyles } from "./styles"; 6 | 7 | export type {StatusIndicatorStyles} from "./styles"; 8 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatStatusIndicator/private.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatStatusIndicator/private.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatStatusIndicator/protected.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatStatusIndicator/protected.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatSuggestionList/index.ts: -------------------------------------------------------------------------------- 1 | import { 2 | CometChatSuggestionList, 3 | CometChatSuggestionListInterface, 4 | } from "./CometChatSuggestionList"; 5 | import { SuggestionItem } from "./SuggestionItem"; 6 | 7 | export { CometChatSuggestionList, SuggestionItem }; 8 | 9 | export type { 10 | CometChatSuggestionListInterface 11 | }; 12 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatTextBubble/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatTextBubble, CometChatTextBubbleInterface } from "./CometChatTextBubble"; 2 | 3 | 4 | export { 5 | CometChatTextBubble, 6 | }; 7 | 8 | export type { 9 | CometChatTextBubbleInterface, 10 | }; 11 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatTooltipMenu/index.ts: -------------------------------------------------------------------------------- 1 | export { tooltipStyles } from "./styles"; 2 | 3 | export { CometChatTooltipMenu } from "./CometChatTooltipMenu"; 4 | export type {MenuItemInterface} from "./CometChatTooltipMenu"; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatTooltipMenu/styles.ts: -------------------------------------------------------------------------------- 1 | import { StyleSheet } from "react-native"; 2 | 3 | export const tooltipStyles = StyleSheet.create({ 4 | overlay: { 5 | flex: 1, 6 | backgroundColor: 'transparent', 7 | justifyContent: 'center', 8 | alignItems: 'center', 9 | }, 10 | menu: { 11 | position: 'absolute', 12 | shadowOffset: { 13 | width: 0, 14 | height: 8, 15 | }, 16 | shadowOpacity: 0.025, 17 | shadowRadius: 4, 18 | elevation: 3, 19 | }, 20 | menuItem: { 21 | fontSize: 16, 22 | paddingVertical: 5, 23 | }, 24 | }); 25 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatVideoBubble/index.ts: -------------------------------------------------------------------------------- 1 | import { CometChatVideoBubble, CometChatVideoBubbleInterface } from "./CometChatVideoBubble"; 2 | 3 | export { 4 | CometChatVideoBubble, 5 | }; 6 | 7 | export type { 8 | CometChatVideoBubbleInterface 9 | }; 10 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatVideoBubble/resources/default_image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatVideoBubble/resources/default_image.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatVideoBubble/resources/index.ts: -------------------------------------------------------------------------------- 1 | import defaultThumbnail from "./default_image.png"; 2 | import defaultPlayIcon from "./play.png"; 3 | 4 | export { defaultPlayIcon, defaultThumbnail }; 5 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatVideoBubble/resources/play.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/shared/views/CometChatVideoBubble/resources/play.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/shared/views/CometChatVideoPlayer/index.tsx: -------------------------------------------------------------------------------- 1 | export { CometChatVideoPlayer } from "./CometChatVideoPlayer"; 2 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/context.ts: -------------------------------------------------------------------------------- 1 | import { createContext } from "react"; 2 | import { DeepPartial } from "../shared/helper/types"; 3 | import { defaultDarkTheme, defaultLightTheme } from "./default"; 4 | import { CometChatTheme } from "./type"; 5 | 6 | export interface ThemeProviderValue { 7 | dark: DeepPartial; 8 | light: DeepPartial; 9 | mode: "dark" | "light" | "auto"; 10 | } 11 | 12 | export const themeProviderDefaultValue: ThemeProviderValue = { 13 | dark: defaultDarkTheme, 14 | light: defaultLightTheme, 15 | mode: "auto", 16 | }; 17 | 18 | export const ThemeContext = createContext(themeProviderDefaultValue); 19 | 20 | export const CompThemeContext = createContext>({}); 21 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/Base_Icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/Base_Icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/collaborative_document_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/collaborative_document_1x.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/collaborative_document_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/collaborative_document_2x.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/collaborative_document_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/collaborative_document_3x.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/collaborative_whiteboard_1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/collaborative_whiteboard_1x.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/collaborative_whiteboard_2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/collaborative_whiteboard_2x.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/collaborative_whiteboard_3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/collaborative_whiteboard_3x.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/dark_error_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/dark_error_icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/index.ts: -------------------------------------------------------------------------------- 1 | import THREAD_REPLIES from "./thread_replies.png"; 2 | 3 | import COLLAB_DOCUMENT_1X from "./collaborative_document_1x.png"; 4 | import COLLAB_DOCUMENT_2X from "./collaborative_document_2x.png"; 5 | import COLLAB_DOCUMENT_3X from "./collaborative_document_3x.png"; 6 | 7 | import COLLAB_WHITEBOARD_1X from "./collaborative_whiteboard_1x.png"; 8 | import COLLAB_WHITEBOARD_2X from "./collaborative_whiteboard_2x.png"; 9 | import COLLAB_WHITEBOARD_3X from "./collaborative_whiteboard_3x.png"; 10 | 11 | export const DEFAULT_ICONS = { 12 | THREAD_REPLIES, 13 | COLLAB_DOCUMENT_1X, 14 | COLLAB_DOCUMENT_2X, 15 | COLLAB_DOCUMENT_3X, 16 | COLLAB_WHITEBOARD_1X, 17 | COLLAB_WHITEBOARD_2X, 18 | COLLAB_WHITEBOARD_3X 19 | }; 20 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/light_error_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/light_error_icon.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/default/resources/icons/thread_replies.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/packages/ChatUiKit/src/theme/default/resources/icons/thread_replies.png -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/hook.ts: -------------------------------------------------------------------------------- 1 | import { useContext } from "react"; 2 | import { DeepPartial } from "../shared/helper/types"; 3 | import { CompThemeContext, ThemeContext } from "./context"; 4 | import { CometChatTheme } from "./type"; 5 | 6 | export const useTheme = (): CometChatTheme => { 7 | const theme = useContext(ThemeContext); 8 | return theme.mode === "dark" ? theme.dark as CometChatTheme: theme.light as CometChatTheme; 9 | }; 10 | 11 | export const useThemeInternal = () => { 12 | const theme = useContext(ThemeContext); 13 | return theme; 14 | }; 15 | 16 | export const useCompTheme = (): DeepPartial => { 17 | const theme = useContext(CompThemeContext); 18 | return theme; 19 | }; 20 | -------------------------------------------------------------------------------- /packages/ChatUiKit/src/theme/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./CometChatThemeHelper"; 2 | export { useTheme } from "./hook"; 3 | export { CometChatThemeProvider } from "./provider"; 4 | -------------------------------------------------------------------------------- /packages/ChatUiKit/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": true, 4 | "allowSyntheticDefaultImports": true, 5 | "experimentalDecorators": true, 6 | "jsx": "react-native", 7 | "module": "ES6", 8 | "moduleResolution": "node", 9 | "noImplicitAny": false, 10 | "noImplicitReturns": true, 11 | "noImplicitThis": true, 12 | "noUnusedLocals": false, 13 | "sourceMap": true, 14 | "target": "ESNext", 15 | "lib": ["ESNext", "DOM","ES6"], 16 | "skipLibCheck": true, 17 | "resolveJsonModule": true, 18 | "outDir": "lib", 19 | "declaration": true 20 | }, 21 | "include": ["src", "imageresolver.d.ts"] 22 | } 23 | -------------------------------------------------------------------------------- /screenshots/overview_cometchat_screens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cometchat/cometchat-uikit-react-native/6338a00ca777ebc0a2ce627601f07e4fb8b93179/screenshots/overview_cometchat_screens.png --------------------------------------------------------------------------------