https://github.com/jivnov/bluetooth-offline-chat
Chat application based on Firebase and Multipeer Connectivity framework
https://github.com/jivnov/bluetooth-offline-chat
coredata firebase multipeerconnectivity swift swiftui
Last synced: 11 months ago
JSON representation
Chat application based on Firebase and Multipeer Connectivity framework
- Host: GitHub
- URL: https://github.com/jivnov/bluetooth-offline-chat
- Owner: jivnov
- License: mit
- Created: 2023-05-15T16:44:59.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-03T12:43:14.000Z (over 1 year ago)
- Last Synced: 2025-06-23T19:46:11.061Z (12 months ago)
- Topics: coredata, firebase, multipeerconnectivity, swift, swiftui
- Language: Swift
- Homepage:
- Size: 790 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Bluetooth Chat is an iOS app that allows users to engage in chat conversations using the Firebase messaging and Multipeer Connectivity framework.
## Features
- Dark mode support
- Localization EN and PL
- Chat with other users online or using Bluetooth/Local Network connectivity.
- Messages are stored in a local database, allowing users to view their chat history and read old messages. The database automatically synchronizes after returning online.
- Ensured app security by implementing passcode and biometric authentication for device locking.
## Tech details
- Fully SwiftUI
- Utilizes the Firebase and Multipeer Connectivity framework to establish direct connections between devices, enabling real-time chat.
- Uses Firestore to store and manage chat messages within a local database.
- The Combine framework is used to enable instant updates of the message history.
- Enhances security by storing passwords using the Keychain.
- Implements Local Authentication to leverage biometric login for enhanced user convenience and security.
## Installation
- Clone this repository.
- Open the project in Xcode.
- Run the app on a physical device or simulator running iOS 16 or higher.
## Usage
- Login or create an account with any email.
- Enable or disable offline mode in the settings.
- Choose a chat and start chatting!
## License
This project is licensed under the MIT License. See the LICENSE file for details.