mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
refactor: read android secrets from environment
This commit is contained in:
@@ -7,17 +7,23 @@ BACKEND_VERSION="2.0.0" # Minimum backend version th
|
||||
APP_LINK_HOST="your.deep.link.host.tld" # Your host used for universal (deep) links
|
||||
APP_URL_SCHEME="de.anyschool.app" # Custom url scheme for native app versions
|
||||
|
||||
# Android specific configuration
|
||||
|
||||
ANDROID_PACKAGE_NAME="de.anyschool.app.droid" # e.g. com.krausefx.app
|
||||
|
||||
|
||||
# iOS specific sonfiguration
|
||||
|
||||
LOCATION_USAGE_DESCRIPTION="Die Ortungsdienste werden für die Kartenansichten und bessere Suchergebnisse benötigt"
|
||||
LOCATION_USAGE_DESCRIPTION="Ortungsdienste werden für die Kartenansichten und bessere Suchergebnisse benötigt"
|
||||
CALENDAR_USAGE_DESCRIPTION="Zugriff auf Kalender wird für die Synchronisierung deiner Uni Termine benötigt"
|
||||
IOS_BUNDLE_IDENTIFIER="com.anyschool.app.ios" # The bundle identifier of your ios app
|
||||
APPLE_ID="example@domain.tld" # Your Apple Developer email address
|
||||
ITC_TEAM_ID="123412345" # App Store Connect Team ID
|
||||
TEAM_ID="ABCDEV1234" # Developer Team ID
|
||||
PROVISIONING_PROFILE_NAME="App Deployment Profile" # Name of the apps own provisioning profile used for signing
|
||||
|
||||
|
||||
# Android specific configuration
|
||||
|
||||
ANDROID_PACKAGE_NAME="de.anyschool.app.android" # Your Google Playconsole app package name
|
||||
|
||||
# Provide the following environment variables in a secure fashion.
|
||||
# Don't change the following lines!
|
||||
ANDROID_KEYSTORE_PASSWORD="${ANDROID_KEYSTORE_PASSWORD:-'unsed'}" # Passwort to your keyfile
|
||||
ANDROID_KEYSTORE_KEY_ALIAS="${ANDROID_KEYSTORE_KEY_ALIAS:-'unsed'}" # Name/Alias of the key used for signing within the keyfile
|
||||
ANDROID_KEYSTORE_KEY_PASSWORD="${ANDROID_KEYSTORE_KEY_PASSWORD:-'unsed'}" # Passwort to the this very key
|
||||
|
||||
@@ -41,10 +41,10 @@ platform :android do
|
||||
build_type: "Release",
|
||||
print_command: false,
|
||||
properties: {
|
||||
"android.injected.signing.store.file" => "../../../playstore.keystore",
|
||||
"android.injected.signing.store.password" => "",
|
||||
"android.injected.signing.key.alias" => "",
|
||||
"android.injected.signing.key.password" => "",
|
||||
"android.injected.signing.store.file" => "/build/playstore.keystore",
|
||||
"android.injected.signing.store.password" => ENV['ANDROID_KEYSTORE_PASSWORD'],
|
||||
"android.injected.signing.key.alias" => ENV['ANDROID_KEYSTORE_KEY_ALIAS'],
|
||||
"android.injected.signing.key.password" => ENV['ANDROID_KEYSTORE_KEY_PASSWORD'],
|
||||
"versionCode" => version_code,
|
||||
"versionName" => package_json['version']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user