janoodleFTW / timy-messenger

Timy - open source mobile app for groups to communicate and organize themselves. Built with flutter.
Apache License 2.0
2.08k stars 464 forks source link

Added Firebase setup steps for android #21

Closed sduduzog closed 5 years ago

sduduzog commented 5 years ago

I prepared this while I implemented the steps. I hope they are verbose enough. The whole setup doesn't require any code alterations. Only files touched in the making of this PR are only the README, the added google-service.json from following the steps and the untracked files by successfully building both the debug build and a release build

resolves #16

sduduzog commented 5 years ago

@miquelbeltran I also at first felt the debug variant was complicating things, but there is a use case for the separate projects that make sense, i.e. you don't want data from development and debugging showing up in your release build analytics.

miquelbeltran commented 5 years ago

The original idea was not to have two apps, but to have two different Firebase projects for Debug and Release, because even when you have two apps in a single Firebase project the Firestore database is the same, something we wanted to avoid. We never implemented analytics.