Last active
December 1, 2021 17:02
-
-
Save shafayathossain/096c12a25fb89f2bf6859bf8bf8f3508 to your computer and use it in GitHub Desktop.
`before_all` block of fastfile
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
fastlane_require "dotenv" | |
PACKAGE_NAME = "<package name here>" | |
FIREBASE_APP_ID = "<firebase app id here>" | |
KEYSTORE_PATH = nil | |
FIREBASE_KEY_PATH = nil | |
PLAYSTORE_KEY_PATH = nil | |
BUNDLE_FILE_PATH = nil | |
UPDATED_VERSION_CODE = nil | |
before_all do | |
Dotenv.overload ".env.secret" | |
KEYSTORE_PATH = Dir.pwd + "/../certificates/<keystore_name>.jks" | |
FIREBASE_KEY_PATH = Dir.pwd + "/../certificates/firebase-app-distribution-key.json" | |
PLAYSTORE_KEY_PATH = Dir.pwd + "/../certificates/playstore-app-distribution-key.json" | |
BUNDLE_FILE_PATH = Dir.pwd + "/../app/outputs/bundle/release/app-release.aab" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment