Sha256: 4d51391b06e8f731139e810d182381347128aedd50d2eae244b9e1eb9873a197

Contents?: true

Size: 1.35 KB

Versions: 16

Compression:

Stored size: 1.35 KB

Contents

module Fastlane
  module Actions
    module SharedValues
    end

    class CheckAppStoreMetadataAction < Action
      def self.run(config)
        require 'precheck'
        Precheck.config = config
        Precheck.config[:api_key] ||= Actions.lane_context[SharedValues::APP_STORE_CONNECT_API_KEY]
        return Precheck::Runner.new.run
      end

      def self.description
        "Check your app's metadata before you submit your app to review (via _precheck_)"
      end

      def self.details
        "More information: https://fastlane.tools/precheck"
      end

      def self.available_options
        require 'precheck/options'
        Precheck::Options.available_options
      end

      def self.return_value
        return "true if precheck passes, else, false"
      end

      def self.authors
        ["taquitos"]
      end

      def self.is_supported?(platform)
        platform == :ios
      end

      def self.example_code
        [
          'check_app_store_metadata(
            negative_apple_sentiment: [level: :skip], # Set to skip to not run the `negative_apple_sentiment` rule
            curse_words: [level: :warn] # Set to warn to only warn on curse word check failures
          )',
          'precheck   # alias for "check_app_store_metadata"'
        ]
      end

      def self.category
        :app_store_connect
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fastlane-2.178.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.177.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.176.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.175.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.174.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.173.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.172.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.171.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.170.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.169.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.168.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.167.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.166.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.165.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.164.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb
fastlane-2.163.0 fastlane/lib/fastlane/actions/check_app_store_metadata.rb