This is a native iOS Messenger app, with audio/video calls and realtime chat conversations (full offline support).
1., Run pod install
first (the CocoaPods Frameworks and Libraries are not included in the repo). If you haven't used CocoaPods before, you can get started here. You might prefer to use the CocoaPods app over the command-line tool.
2., Create an account at Firebase and create a new project for your application.
3., Set up your Firebase Authentication sign-in methods.
4., Enable your Firebase Cloud Firestore by updating the Database Rules with the default values.
5., Create an Index with these settings.
6., Enable your Firebase Storage by updating the Storage Rules with the default values.
7., Download GoogleService-Info.plist
from your Firebase project and replace the existing file in your Xcode project.
8., For using push notification feature, create an account at OneSignal and replace the ONESIGNAL_APPID
define value in AppConstant.h
. You will also need to configure your Push certificate details.
9., For using audio and video call features, create an account at Sinch and replace the SINCH_KEY
and SINCH_SECRET
define values in AppConstant.h
. You will also need to configure your VoIP certificate details.
Do you have any questions or an idea? My email is [email protected] or you can find some more info at relatedcode.com
MIT License
Copyright (c) 2020 Related Code
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.