cometchat-sample-app-flutter
cometchat-sample-app-flutter copied to clipboard
Voice & Video Calling and Text Chat App for Flutter
Flutter Sample App by CometChat
This reference application showcases the integration of CometChat's Flutter UI Kit within an Flutter framework. It provides developers with examples of implementing real-time messaging and voice and video calling features in their Flutter-based applications.
Prerequisites
- XCode for iOS and Android Studio for Android
- pod (CocoaPods) for iOS
- Android device or emulator with Android version 5.0 or above.
- An iOS device or emulator with iOS 12.0 or above.
- Sign up for a CometChat account to get your app credentials:
App ID,Region, andAuth Key
Installation
-
Clone the repository:
git clone https://github.com/cometchat/cometchat-sample-app-flutter.git -
Navigate to the project directory:
cd cometchat-sample-app-flutter -
Install flutter dependencies
flutter pub get -
Enter your CometChat
App ID,Region, andAuth Keyin the lib/app_constants.dart file: https://github.com/cometchat/cometchat-sample-app-flutter/blob/b67064409ec5c875aca74fd2eff5e80968c485c7/lib/app_constants.dart#L1-L5 -
For iOS, install dependencies after navigating to ios :
cd ios pod install -
Open a Simulator or connect a physical device.
-
Run the app on a device or emulator from the repo root.
flutter run
Help and Support
For issues running the project or integrating with our UI Kits, consult our documentation or create a support ticket or seek real-time support via the CometChat Dashboard.