From 34751f808f3ab4459a009c9a029845bcee43124c Mon Sep 17 00:00:00 2001 From: Boyko Mihail Date: Thu, 27 Feb 2020 11:43:19 +0300 Subject: [PATCH] Remove firebase app id --- xcode/commonFastfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xcode/commonFastfile b/xcode/commonFastfile index 60ffc3f..b24227f 100644 --- a/xcode/commonFastfile +++ b/xcode/commonFastfile @@ -53,7 +53,7 @@ private_lane :uploadToFirebase do |options| sh("yarn install") firebase_app_distribution( - app: get_firebase_app_identifier(options), + app: get_google_app_identifier(options), ipa_path: options[:ipa_path], groups: "touch-instinct", release_notes_file: releaseNotesFile, @@ -365,11 +365,11 @@ def symbolize_keys(hash) } end -def get_firebase_app_identifier(options) +def get_google_app_identifier(options) file_name_prefix = options[:type].capitalize appName = options[:appName] || $appName file_path = File.expand_path "../#{appName}/Resources/#{file_name_prefix}-GoogleService-Info.plist" - get_info_plist_value(path: file_path, key: "FIREBASE_APP_ID") + get_info_plist_value(path: file_path, key: "GOOGLE_APP_ID") end def set_xcconfig_for_configuration_of_project(xcconfig_name, configuration_name, xcodeproj_path)