Sha256: 9d38d8fd4be2f739762b49584c4a16c86812fcd4f05b7805c5b2701cbf6f3c8d

Contents?: true

Size: 859 Bytes

Versions: 501

Compression:

Stored size: 859 Bytes

Contents

module Fastlane
  module Actions
    class NotifyAction < Action
      def self.run(params)
        require 'terminal-notifier'
        UI.important("It's recommended to use the new 'notification' method instead of 'notify'")

        text = params.join(' ')
        TerminalNotifier.notify(text, title: 'fastlane')
      end

      def self.description
        "Shows a macOS notification - use `notification` instead"
      end

      def self.author
        ["champo", "KrauseFx"]
      end

      def self.available_options
      end

      def self.is_supported?(platform)
        Helper.mac?
      end

      def self.example_code
        nil
      end

      def self.category
        :deprecated
      end

      def self.deprecated_notes
        "It's recommended to use the new `notification` action instead of `notify`"
      end
    end
  end
end

Version data entries

501 entries across 501 versions & 5 rubygems

Version Path
fastlane-2.225.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.224.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.223.1 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.223.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.222.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.221.1 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.221.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.220.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.219.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.218.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-security-patched-2.216.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.217.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.216.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.215.1 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.215.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-mercafacil-2.214.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.214.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.213.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.212.2 fastlane/lib/fastlane/actions/notify.rb
fastlane_pricing_fix-2.212.1 fastlane/lib/fastlane/actions/notify.rb