cloud_functions
Firebase Cloud Functions를 사용할 수 있는 Flutter 플러그인입니다.
간단한 익명 그룹 채팅 앱
Firebase Cloud Functions를 사용할 수 있는 Flutter 플러그인입니다.
Firebase Database용 Flutter 플러그인으로, 클라우드 호스팅된 NoSQL 데이터베이스로 Android 및 iOS 클라이언트 간 실시간 데이터 동기화와 오프라인 액세스를 지원합니다.
Firebase Auth용 가짜입니다. Firebase 인증을 포함한 단위 테스트를 작성하려면 `google_sign_in_mocks`와 함께 사용하세요.
^2.11.0^3.4.1^5.6.1^5.3.4^1.19.1^5.1.0^3.1.0^11.0.1^15.1.6^12.3.5{"sdk":"flutter"}^19.0.0^15.1.2^1.1.2^0.15.0^6.1.2^2.3.3^3.6.1^0.4.0{"sdk":"flutter"}^6.0.0^0.14.1^5.1.0^0.14.0{"git":"https://github.com/gnowoel/fake_firebase_database"}{"sdk":"flutter"}아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.
A simple anonymous group chat app for comfortably talking to strangers. Try the web app or get the Android version from Google Play.
screenshots
:see_no_evil: Anonymous
There is no login button. You do not need to enter any personal information to participate in a chat. Just open the app and join the room.
:cyclone: Random
You don't know who you're going to meet, and you don't know where they're coming from. All you know is that people here are willing to listen.
:droplet: Ephemeral
You can open your heart and share your happiness or sadness. In an hour, everyone goes their separate ways, like strangers you met on a train.
:lock: Private
No one but the participants can see your conversations. Expired rooms are not publicly accessible, and all records will eventually be deleted.
The technical details can be found in the blog post:
Create a new Firebase project, and enable the following services:
In order to use Cloud Functions, we need to upgrade the project to the Blaze plan (pay-as-you-go).
Clone the repo:
$ git clone https://github.com/gnowoel/talktive.git
$ cd talktive
Configure FlutterFire:
$ firebase login
$ dart pub global activate flutterfire_cli
$ flutterfire configure
Configure Firebase:
$ firebase init
Select the following services:
For "Functions", select:
For "Emulators", select:
Watch and compile Cloud Functions code (from the functions directory):
$ npm run build:watch
Start Emulators Suite, and take a note of the URL for the HTTP request:
$ firebase emulators:start
Trigger the scheduler once with an HTTP request, using the URL from the previous step:
$ curl http://local/path/torequestedCleanup
Create predefined topic categories:
$ curl http://local/path/to/setupTribes
Optionally start a device simulator or emulator, for example:
$ flutter emulators --launch apple_ios_simulator
Optionally run the unit and integration tests:
$ flutter test
$ flutter test integration_test
Start the app:
$ flutter run
Deploy Security Rules for Realtime Database, Cloud Firestore and Firebase Storage:
$ firebase deploy --only database,firestore,storage
Deploy Cloud Functions (from the functions directory):
$ npm run deploy
Create predefined topic categories:
$ curl https://remote/path/to/setupTribes
Build the web release of the Flutter app:
$ flutter build web
Upload the build/web directory to your hosting service of choice.