MIT License

项目介绍

RMizin/FalconMessenger 是一个托管在 GitHub 上的开源项目,主要使用 Swift 编写,采用 MIT License 许可证,目前获得 432 个 Star、110 次 Fork。

仓库全名
RMizin/FalconMessenger
开源许可证
MIT License
Star 数
432
Fork 数
110
未关闭 Issue
13

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

FalconMessenger 用什么语言开发?

主要使用 Swift 编写,采用 MIT License 许可证,目前有 432 个 Star。

FalconMessenger 可以免费商用吗?

仓库采用 MIT License 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 FalconMessenger 的源码?

可以直接克隆仓库:git clone https://github.com/RMizin/FalconMessenger.git,默认分支为 main;安装与运行步骤见仓库 README。

FalconMessenger 最近还在维护吗?

仓库最近一次更新为 2021年2月9日,当前有 13 个未关闭 Issue;Star 数为 432,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

🌟🌟🌟🌟🌟 Falcon Messenger is a Fast and Beautiful cloud-based messaging app. With iOS and IPadOS Support.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

语言占比

JavaScript
Ruby
Swift

Release

贡献者

README

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

评论

暂无评论