Last active
April 5, 2020 17:41
-
-
Save Ehsanul-Hoque/3968f480a0176856fa8286e56c1fdea3 to your computer and use it in GitHub Desktop.
Constants for automating app
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
# Constants | |
COMPANY_INFO_FILE = 'companyInfo.json' | |
GRADLE_PROPERTIES_FILE = 'gradle.properties' | |
KEYSTORE_FOLDER = 'keystore/' | |
KEYSTORE_PROPERTIES_FILE_NAME_SUFFIX = '_keystore.properties' | |
APP_ICON_FILE = 'app/src/main/res/drawable/app_icon.png' | |
APP_BUILD_GRADLE_FILE = 'app/build.gradle' | |
RELEASE_APK_FOLDER = 'app/build/outputs/apk/release/' | |
RELEASE_APK_FILE_NAME = 'app-release.apk' | |
# Property names in gradle.properties file | |
GRADLE_KEY_APP_NAME = "APP_NAME" | |
GRADLE_KEY_APPLICATION_ID = "APPLICATION_ID" | |
GRADLE_KEY_THEME_COLOR = "THEME_COLOR" | |
GRADLE_KEY_KEYSTORE_INFO_FILE = "KEYSTORE_INFO_FILE" | |
# Keys in companyInfo.json file | |
JSON_KEY_ID = "id" | |
JSON_KEY_APP_NAME = "app_name" | |
JSON_KEY_PACKAGE_NAME = "package_name" | |
JSON_KEY_THEME_COLOR = "theme_color" | |
JSON_KEY_APP_ICON = "app_icon" | |
JSON_KEY_KEYSTORE_OWNER = "keystore_owner" | |
JSON_KEY_KEYSTORE_OU = "keystore_organizational_unit" | |
JSON_KEY_ORGANIZATION = "keystore_organization" | |
JSON_KEY_COUNTRY = "keystore_country" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment