Created
June 29, 2019 23:53
-
-
Save ra9r/6c8eb1ef3cb7401ee87fc3eb62bed9e5 to your computer and use it in GitHub Desktop.
How to install GoogleService-Info.plist and google-services.json from env variables #codemagic #cicd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -e # exit on first failed commandset | |
echo $ANDROID_FIREBASE_SECRET | base64 --decode > $FCI_BUILD_DIR/android/app/google-services.json | |
echo $IOS_FIREBASE_SECRET | base64 --decode > $FCI_BUILD_DIR/ios/Runner/GoogleService-Info.plist | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment