Relative Content

Tag Archive for androidjsonflutterfirebaseapi-key

How can I use Environment Variables for my flutter/firebase API key, app id, etc. In my google-services.json and firebase.json file

I want to upload my flutter projects to GitHub, without publicizing my API keys, I have already secured my firebase_options.dart file by removing it entirely and creating a “. env” file separately and using the flutter_dotenv dependency and manually input the firebase Options as my app is purely for android. My issue is that afterwards i found out that I might also have to secure the google-services.json & firebase.json files to hide my API key.