在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):janoodleFTW/timy-messenger开源软件地址(OpenSource Url):https://github.com/janoodleFTW/timy-messenger开源编程语言(OpenSource Language):Dart 82.5%开源软件介绍(OpenSource Introduction):Timy appAn amazing open-source group messaging app build with flutter. Main Features
Project StructureThis is a Flutter mobile app targeting Android and iOS. The code for the Flutter app is contained in the folder As well, this repo hosts a series of Firebase config files and cloud functions. The documentation for Firebase part is inside the Prerequisites & Getting StartedClientTo build and run the mobile apps you’ll need to install Flutter and its dependencies. To verify your installation run in the project’s root directory:
The app is optimised for Android and iOS phones in portrait mode. IMPORTANT: The project only supports Flutter version 1.10.5, you will have to change your configuration to it. We cannot make sure that other Flutter versions will work.
Note: Additionally you’ll need to setup the backend and add the GoogleService-Info of your Firebase app to your clients as described below. Backend (Firebase)The backend is build using Firebase’s Note: The following steps assume you’re using Firebases’ free B1. Setup sign-in method & adding usersAn initial sign-in method needs to be configured.
Adding a user Currently, users need to be added manually.
Please copy the Note: You’ll need to have at least one user configured to use the app. B2. Configure firebase appNext, you’ll need to configure your firebase app for Flutter as described in Add Firebase to an App / Flutter iOS
NOTE: If you’re building for release you’ll additionally need to add a GoogleService-Info-Prod.plist pointing to your production Firebase app. Android Follow the instructions in B3. Create and setup databaseIn the firebase console select At this point, you need to run and perform login once on the App, it will create a user document inside the You will see an empty screen. To fix that, continue this setup. You may need to restart the app after the setup is done. Create group collection
We’ve now setup our first test group. In addition to this step, we’ll need to setup a default Add the new created Group id to the User document
Create channel sub-collection
Your Firestore database should look like this (with different ids) B4. Deploy firebase functionsNavigate to the
Some features of the app can be used without Cloud Functions running, but some others will not work. We recommend you to perform this step to enjoy all features. B5. Final stepsLogin with the user you’ve created above. Next create your first Create an event
At the root level of your database you should now see a collection called Now we’re ready to deploy all other parts of our backend using:
DeploymentThe app is setup to work with a development and production environment. We suggest you create a different Firebase app for each environment. When building for release the app will automatically use the production configuration that you’ve configured in step External resources
AboutThe concept for Timy was created and developed by kaalita and philippmoeser. The initial version is a MVP messaging app focusing on organising events among groups. We hope this project can be a reference or building block for your next flutter app. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论