Skip to content

Latest commit

 

History

History
223 lines (162 loc) · 6.16 KB

README.md

File metadata and controls

223 lines (162 loc) · 6.16 KB

Chatify a Chat App with Firebase

Project Overview

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.

Table of Contents

Features

  • 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.

Demo

Features

Start New Chat
Zooming an Image Message
Zooming a Video Message
View a Location Message
Play Video Message inside
a Bubble message

Delete Messages

Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/chat-app.git
cd chat-app
  1. Install the required dependencies using Cocoapods:
pod install
  1. Open the ChatApp.xcworkspace file in Xcode.

  2. 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.
  3. Enable Google Sign-In in the Firebase Console:

    • Go to the Authentication section and enable Google as a sign-in method.
  4. Run the app in the simulator or on a physical device.

Firebase Configuration

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()

Usage

  1. Launch the app on your iOS device or simulator.
  2. Sign in with your Google account(coming soon) or Create an account.
  3. Start sending and receiving messages in real-time.

License

License: MIT

Copyright © 2023, Amr Mohamad. Released under the MIT License.