This is a simple iOS chat application built using Firebase Firestore as the backend. It allows users to send messages to other users in real-time.
- User create an account with email.
- User authentication with Google Sign-In.
- Real-time chat with another User.
- Show timestamp of the message.
- Send and View Image and Video.
- Send and View Location.
- Group chat functionality.
- Push notifications.
- Offline support for messaging.
- Clone the repository:
git clone https://github.com/yourusername/chat-app.git
cd chat-app
- Install the required dependencies using Cocoapods:
pod install
-
Open the
ChatApp.xcworkspace
file in Xcode. -
Set up Firebase in your project:
- Create a new Firebase project on the Firebase Console.
- Follow the instructions to add your iOS app to the project.
- Download the
GoogleService-Info.plist
file and add it to your Xcode project.
-
Enable Google Sign-In in the Firebase Console:
- Go to the Authentication section and enable Google as a sign-in method.
-
Run the app in the simulator or on a physical device.
This app uses Firebase for real-time messaging. The necessary Firebase configurations can be found in the AppDelegate.swift
file. Make sure to replace the placeholders with your own Firebase credentials.
FirebaseApp.configure()
let db = Firestore.firestore()
- Launch the app on your iOS device or simulator.
- Sign in with your Google account(coming soon) or Create an account.
- Start sending and receiving messages in real-time.
Copyright © 2023, Amr Mohamad. Released under the MIT License.