A messaging iOS-application using Swift and Firebase
ChatApp
The application is a real-time chat using Firebase. It allows you send messages to your friends. Just sign up, choose a buddy and start chatting.
Compatibility
This project is written in Swift 5.0 and requires Xcode 13.
Sign Up or Login
You should enter a email and password. Password is encrypted after signing up.
Chatting
Share messages and get them back from your buddies.
How to run the app
- Open the FalconMessenger.xcworkspace in Xcode.
- Change the Bundle Identifier to match your domain.
- Go to Firebase and create new project.
- Select “Add Firebase to your iOS app” option, type the bundle Identifier & click continue.
- Download “GoogleService-Info.plist” file and add to the project. Make sure file name is “GoogleService-Info.plist”.
- Go to Firebase Console, select your project, choose “Authentication” from left menu
- Select “SIGN-IN METHOD” and enable “Phone” option.
- Add Firebase storage rules:
// Allow read/write access on all documents to any user signed in to the application
service cloud.firestore {
match /databases/{database}/documents {
match /{document=**} {
allow read, write: if request.auth != null;
}
}
}
- Open the terminal, navigate to project folder and run “pod update” (without quotation marks).