Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Application/App/Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,12 @@ let project = Project(
debug: [
"APP_ENVIRONMENT": "staging",
"APS_ENVIRONMENT": "development",
"FIRESTORE_DATABASE_ID": "staging",
"FIRESTORE_DATABASE_ID": "(default)",
],
staging: [
"APP_ENVIRONMENT": "staging",
"APS_ENVIRONMENT": "production",
"FIRESTORE_DATABASE_ID": "staging",
"FIRESTORE_DATABASE_ID": "(default)",
],
release: [
"APP_ENVIRONMENT": "prod",
Expand Down
18 changes: 13 additions & 5 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ TESTFLIGHT_CONFIGURATION = "Staging"
APPSTORE_CONFIGURATION = "Release"
TESTFLIGHT_APP_ENVIRONMENT = "staging"
APPSTORE_APP_ENVIRONMENT = "prod"
TESTFLIGHT_DATABASE_ID = "staging"
TESTFLIGHT_DATABASE_ID = "(default)"
APPSTORE_DATABASE_ID = "prod"
TESTFLIGHT_FUNCTION_API_BASE_URL = "https://asia-northeast3-devlog-c87b6.cloudfunctions.net/stagingApi/api"
TESTFLIGHT_FUNCTION_API_BASE_URL = "https://asia-northeast3-devlog-staging.cloudfunctions.net/api/api"
APPSTORE_FUNCTION_API_BASE_URL = "https://asia-northeast3-devlog-c87b6.cloudfunctions.net/prodApi/api"
TESTFLIGHT_FIREBASE_PROJECT_ID = "devlog-staging"
TESTFLIGHT_GOOGLE_APP_ID = "1:686659799179:ios:eba4e86096153f0539ec8e"
Comment thread
opficdev marked this conversation as resolved.
VERSION_XCCONFIG_PATH = File.expand_path(
"../Application/Shared/Version.xcconfig",
__dir__
Expand Down Expand Up @@ -413,7 +415,9 @@ platform :ios do
build_for_store(
configuration: TESTFLIGHT_CONFIGURATION,
database_id: TESTFLIGHT_DATABASE_ID,
function_api_base_url: TESTFLIGHT_FUNCTION_API_BASE_URL
function_api_base_url: TESTFLIGHT_FUNCTION_API_BASE_URL,
firebase_project_id: TESTFLIGHT_FIREBASE_PROJECT_ID,
google_app_id: TESTFLIGHT_GOOGLE_APP_ID
)

upload_testflight_build
Expand All @@ -423,7 +427,9 @@ platform :ios do
build_for_store(
configuration: TESTFLIGHT_CONFIGURATION,
database_id: TESTFLIGHT_DATABASE_ID,
function_api_base_url: TESTFLIGHT_FUNCTION_API_BASE_URL
function_api_base_url: TESTFLIGHT_FUNCTION_API_BASE_URL,
firebase_project_id: TESTFLIGHT_FIREBASE_PROJECT_ID,
google_app_id: TESTFLIGHT_GOOGLE_APP_ID
)
end

Expand Down Expand Up @@ -474,7 +480,9 @@ platform :ios do
app_environment: TESTFLIGHT_APP_ENVIRONMENT,
bundle_id: APP_IDENTIFIER,
database_id: TESTFLIGHT_DATABASE_ID,
function_api_base_url: TESTFLIGHT_FUNCTION_API_BASE_URL
function_api_base_url: TESTFLIGHT_FUNCTION_API_BASE_URL,
firebase_project_id: TESTFLIGHT_FIREBASE_PROJECT_ID,
google_app_id: TESTFLIGHT_GOOGLE_APP_ID
}
)

Expand Down
Loading