feat: pass args on android cd

This commit is contained in:
Malo Léon 2023-08-08 18:28:03 +02:00
parent 9e56b4127e
commit fea0c153d4

View File

@ -18,7 +18,8 @@ module Fastlane
# Build the Android App Bundle
other_action.flutter_build(
build: 'appbundle'
build: 'appbundle',
build_args: params[:build_args]
)
UI.message("👉🏼 App built")
@ -61,7 +62,13 @@ module Fastlane
FastlaneCore::ConfigItem.new(key: :beta_type,
env_name: "ANDROID_CD_TEST_TYPE",
optional: false,
description: "Type of test (production, beta, alpha, internal)")
description: "Type of test (production, beta, alpha, internal)"),
FastlaneCore::ConfigItem.new(
key: :build_args,
description: 'An array of extra arguments for "flutter build"',
optional: true,
type: Array
)
]
end