Awesome Open Source
Awesome Open Source

App Store







App Store



  1. Open the FalconMessenger.xcworkspace in Xcode.

  2. Change the Bundle Identifier to match your domain.

  3. Go to Firebase and create new project.

  4. Select "Add Firebase to your iOS app" option, type the bundle Identifier & click continue.

  5. Download "GoogleService-Info.plist" file and add to the project. Make sure file name is "GoogleService-Info.plist".

  6. Enable reCaptcha:
    6.1. Go to your GoogleService-Info.plist;
    6.2. Find the key REVERSED_CLIENT_ID and copy its value;
    6.3. Go to Project/targets/info/URLTypes;
    6.4. Paste the Value to URL schemes field;
    6.5. Select Editor in the Role field.

  7. Go to Firebase Console, select your project, choose "Authentication" from left menu

  8. Select "SIGN-IN METHOD" and enable "Phone" option.

  9. Add Firebase storage rules:

     service firebase.storage {
       match /b/{bucket}/o {
         match /{allPaths=**} {
           allow read, write;
         }
       }
     }
    
  10. Add Firebase Realtime Database Rules:

    { 
      "rules": {
        ".read": "auth != null",
        ".write": "auth != null",
    
    
         "users": {
    	".indexOn": "phoneNumber",
    	"$user_id": {
    	  // grants write access to the owner of this user account
    	  // whose uid must exactly match the key ($user_id)
    	  ".write": "$user_id === auth.uid"
    
    	}
        }
      }   
    }
    

Note before next step: if you don't have cocoapods installed on your computer, you have to install it first. You can do it by opening the terminal and running "sudo gem install cocoapods" (without quotation marks), then do the step 8. If you already have cocoapods installed, ignore this note.

  1. Open the terminal, navigate to project folder and run "pod update" (without quotation marks).

  2. Install Firebase Cloud Functions.
    Important Note: Cloud functions a responsible for Sending Group messages and fetching Falcon Users. So it's quite important for you to configure everything poperly.

    Step-by-Step guide is availible here: https://firebase.google.com/docs/functions/
    Video Guide: https://www.youtube.com/watch?v=DYfP-UIKxH0

  3. Copy and Paste Cloud functions from provided Index.js file to your own Index.js file.

  4. Change in your index.js file DatabeseURL: to Yours

    admin.initializeApp ({
        credential: admin.credential.applicationDefault(),
        databaseURL: 'https://your-Databse-URL.firebaseio.com'
    });
    
  5. Run "Firebase Delpoy" in the terminal from your cloud Functions Directory to configure Cloud Functions.

  6. If you do not have paid Apple Developer Account , you might also see this error: "Your development team, "Name", does not support the Push Notifications capability".
    To fix this, go to Project->Targets->FalconMessenger->Capabilities and Deselect Push Notifications option





LICENSE.md LICENSE.md


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
Swift (95,399) 
Ios (19,249) 
Firebase (9,357) 
Telegram (4,542) 
Chat (3,260) 
Wechat (1,890) 
Messaging (1,218) 
Chat Application (1,043) 
Whatsapp (999) 
Messenger (791) 
Message (683) 
Firebase Storage (508) 
Firebase Cloud Messaging (292) 
Chatapp (259) 
Related Projects
Advertising 📦 9
All Projects
Application Programming Interfaces 📦 120
Applications 📦 181
Artificial Intelligence 📦 72
Blockchain 📦 70
Build Tools 📦 111
Cloud Computing 📦 79
Code Quality 📦 28
Collaboration 📦 30
Command Line Interface 📦 48
Community 📦 81
Companies 📦 60
Compilers 📦 60
Computer Science 📦 74
Configuration Management 📦 39
Content Management 📦 167
Control Flow 📦 197
Data Formats 📦 77
Data Processing 📦 266
Data Storage 📦 132
Economics 📦 60
Frameworks 📦 198
Games 📦 122
Graphics 📦 103
Hardware 📦 148
Integrated Development Environments 📦 47
Learning Resources 📦 147
Legal 📦 28
Libraries 📦 119
Lists Of Projects 📦 21
Machine Learning 📦 336
Mapping 📦 61
Marketing 📦 15
Mathematics 📦 55
Media 📦 228
Messaging 📦 97
Networking 📦 304
Operating Systems 📦 84
Operations 📦 120
Package Managers 📦 52
Programming Languages 📦 229
Runtime Environments 📦 96
Science 📦 42
Security 📦 375
Social Media 📦 26
Software Architecture 📦 70
Software Development 📦 68
Software Performance 📦 57
Software Quality 📦 127
Text Editors 📦 45
Text Processing 📦 131
User Interface 📦 310
User Interface Components 📦 465
Version Control 📦 29
Virtualization 📦 68
Web Browsers 📦 38
Web Servers 📦 25
Web User Interface 📦 194