Sha256: a75b41350e5359d667fefbe87b8d78061347813890470f1a9832b4ef5e157be0

Contents?: true

Size: 1.03 KB

Versions: 189

Compression:

Stored size: 1.03 KB

Contents

module Fastlane
  module Actions
    class OptOutCrashReportingAction < Action
      def self.run(params)
        ENV['FASTLANE_OPT_OUT_CRASH_REPORTING'] = "YES"
        UI.message("Disabled crash reporting")
      end

      def self.description
        "This will prevent reports from being uploaded when _fastlane_ crashes"
      end

      def self.details
        [
          "By default, fastlane will send a report when it crashes",
          "The stack trace is sanitized so no personal information is sent.",
          "Learn more at https://github.com/fastlane/fastlane#crash-reporting",
          "Add `opt_out_crash_reporting` at the top of your Fastfile to disable crash reporting"
        ].join(' ')
      end

      def self.authors
        ['mpirri', 'ohayon']
      end

      def self.is_supported?(platform)
        true
      end

      def self.example_code
        [
          'opt_out_crash_reporting # add this to the top of your Fastfile'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

189 entries across 189 versions & 1 rubygems

Version Path
fastlane-2.55.0.beta.20170829010003 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.54.3 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.55.0.beta.20170826010003 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.54.2 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.55.0.beta.20170825010003 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.54.1 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.55.0.beta.20170824010002 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.55.0.beta.20170823010002 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb
fastlane-2.54.0 fastlane/lib/fastlane/actions/opt_out_crash_reporting.rb