apptex_chat 1.2.0 copy "apptex_chat: ^1.2.0" to clipboard
apptex_chat: ^1.2.0 copied to clipboard

This Package is for making the chat system more easy and user friendly. and control chat features within one click.

This Package will give you a unique and pre-designed chatting system based on Firebase Firestore and Firebase Cloud. It also has Push Notifications and a Custom Editable theme for both screens, such as Home Screen and Chat Screen.

Home Screen : It has all the Users which are recently contacted..

Chat Screen : Ofcourse, a chat screen to chat. No explaination needed but, Yes you can change colors and themes

Features #

  1. Easy to use
  2. Direct Integration
  3. Firebase with only two listeners
  4. Pre-Build UI
  5. Start Chat with single function.
  6. No Extra Database needed
  7. Push Notifications
  8. All Chatting Features

Getting started #

Okay so its not that complicated. First you have to execute this line of code at the begining of the project where you get the user detials..

You can place it on the Login page / Controller.

Usage #

Step 1 : Firebase Configuration

  1. Install Firebase in your project
  2. Download firebase.json and firebase.infoplist file for your project from firebase.
  3. Inilize firebase in the main function.

Step 2 : Initialize AppTexChat

  1. Call AppTexChat.init(); in main(); For Example
//This is your main function
void main() {
 WidgetsFlutterBinding.ensureInitialized();
 Firebase.initializeApp();
 AppTexChat.init();
 runApp(const MyApp());
}

Step 3 : Login your current User at Login State Changes

  1. When the Auth User is Signed-up or Logged in, Use it there. For example
// Here you can set the current user to the Apptex chat, ProfileURl is Optional
   AppTexChat.instance.Login_My_User(
                     FullName: "{Currect User Name}",
                     your_uuid: "{uuid}",
                     profileUrl: "{profile url}");

Step 4 : Start Chat with some user

  1. Just Call this function to start chat.
  2. Ka-Bo0om! That's it. Chat Started.
// Here you pass the BuildContext, and the reciever name and UUID to which user you want to talk to.
  AppTexChat.instance.Start_Chat_With(context,
                   receiver_name: other.name,
                   receiver_id: other.uuid,
                   receiver_profileUrl: other.url);

Step 5 : Open HomeScreen

  1. To open all chats connected to that specific user, just go to this chat screen.
  2. Use this line
// Here you pass the BuildContext to open upa all chats.
 AppTexChat.instance.OpenMessages(context);

Optional : Get AllChats Widget

  1. To get the Widget for all of the chats.
  2. Use this line
// Here you pass the BuildContext to open upa all chats.
 AppTexChat.instance.GetMyMessages(context);

Features Status #

  1. Chating ✅
  2. Voice recording ✅
  3. Images ✅
  4. Videos 🚫
  5. Document 🚫
  6. Location 🚫

Additional information #

More is about to Come:

Features that will be added later:

  1. Voice Notes
  2. Push Notifications
  3. Make it for web

Frameworks Used #

  1. Firebase Firestore
  2. Firebase Cloud storage

Contributors #


Sayed Muhammad Idrees

💻 🎨

Shah Raza

💻

Jamshid Ali

💻

Help Maintenance #

Buy Me A Coffee

15
likes
0
pub points
73%
popularity

Publisher

unverified uploader

This Package is for making the chat system more easy and user friendly. and control chat features within one click.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

audio_waveforms, cached_network_image, cloud_firestore, firebase_core, firebase_storage, flutter, get, image_picker, permission_handler

More

Packages that depend on apptex_chat