Submitted by shrop on
If you use Firebase with Flutter apps (Android and iOS), you should consider ignoring two files to prevent unauthorized access and information disclosure when committing code to a git repository.
The files are:
GoogleService-Info.plist - iOS
google-services.json - Android
Here is an example of how I ignored these in a Github repo: https://github.com/shrop/contenta_flutter/pull/11/files