I am looking into using EAS (expo Application Services) to submit a build to the Google Play Store. As per the docs, a serviceAccountKeyPath is required:
https://docs.expo.dev/submit/eas-json/#serviceaccountkeypath
I have successfully submitted a build by running eas submit -p android and entering the path to the JSON service account key when prompted.
As this is sensitive information, I don't want it to be added to my git repo. Should I just add it to my .gitignore, or is there a better way e.g. store it within my expo account somehow?
You can avoid needing to set serviceAccountKeyPath, even with your first call to eas submit, by uploading your credentials in the Expo UI.
From your project dashboard in the Expo UI:
app.config.js file)Now the Google Service Account Key will be stored in Expo and you don't need to figure out how to store it in your repository, CI system, etc.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With