Commit 3a409b9f authored by Robin Fischer's avatar Robin Fischer

Add param to upload Crashlytics debug symbols

parent ca43a9e6
......@@ -34,6 +34,9 @@ module Fastlane
plist_command = "/usr/libexec/PlistBuddy -x -c \"Set :CFBundleShortVersionString #{params[:version_name]}\" #{params[:plist_path]}"
FastlaneCore::CommandExecutor.execute(command: plist_command, print_all: true, print_command: true)
unless params[:upload_crashlytics_debug_symbols].nil?
command << " /p:FirebaseCrashlyticsUploadSymbolsEnabled=#{params[:upload_crashlytics_debug_symbols]}"
if fl_platform == :android
......@@ -148,6 +151,17 @@ module Fastlane
type: String,
key: :upload_crashlytics_debug_symbols,
description: "Upload debug symbols to Crashlytics to decifer native crashes",
optional: true,
is_string: false,
verify_block: proc do |value|
UI.user_error!("Invalid value #{value}. It must either be true or false") unless [true, false].include?(value)
key: :android_manifest_path,
optional: true,
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment