Class: Fastlane::Helper::ReactNativeReleaseHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/fastlane/plugin/react_native_release/helper/react_native_release_helper.rb

Constant Summary collapse

FASTLANE_CRYPTEX_KEY =
'fastlane_vars'
APP_CRYPTEX_KEY =
'app_vars'
APP_ENV_PATH =
'.env'
VALID_NAMESPACES =

empty string denotes root namespace

['alpha', 'beta', 'release', '']
ANDROID_KEYSTORE_CRYPTEX_KEY =
'ANDROID_KEYSTORE'
ANDROID_KEYSTORE_PATH =
"../app/android.keystore"
GOOGLE_PLAY_CREDENTIALS_CRYPTEX_KEY =
'GOOGLE_PLAY_CREDS'
FASTLANE_SESSION_CRYPTEX_KEY =
'FASTLANE_SESSION'

Class Method Summary collapse

Class Method Details

.app_key_for(namespace) ⇒ Object

returns an app key for a specific namespace. Ex: beta_app_vars



18
19
20
21
22
# File 'lib/fastlane/plugin/react_native_release/helper/react_native_release_helper.rb', line 18

def self.app_key_for(namespace)
  return APP_CRYPTEX_KEY if namespace.strip.empty?

  "#{namespace}_#{APP_CRYPTEX_KEY}"
end