cloud_functions
Um plug-in do Flutter que permite usar Funções de Nuvem do Firebase.
Um aplicativo simples de bate-papo anônimo em grupo
Um plug-in do Flutter que permite usar Funções de Nuvem do Firebase.
Plugin Flutter para o Firebase Database, um banco de dados NoSQL hospedado em nuvem com sincronização em tempo real de dados entre clientes Android e iOS, além de acesso offline.
Mock para o Firebase Auth. Use este pacote com o `google_sign_in_mocks` para escrever testes unitários que envolvam a autenticação do Firebase.
^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"}Texto original em inglês. Visite o GitHub para a versão atual.
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.