Closed sduduzog closed 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.
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.
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 buildresolves #16