Sha256: ba0ff250c2997a0ae03d8edaa81d6fd0ab0c75482fc8db9c5dee1e5e950f05a4

Contents?: true

Size: 731 Bytes

Versions: 29

Compression:

Stored size: 731 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
        []
      end

      def self.category
        :deprecated
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fastlane-2.8.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.7.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.6.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.5.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.4.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.3.1 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.3.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.2.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.1.3 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.1.2 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.1.1 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.1.0 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.0.5 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.0.4 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.0.3 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.0.2 fastlane/lib/fastlane/actions/notify.rb
fastlane-2.0.1 fastlane/lib/fastlane/actions/notify.rb
fastlane-1.111.0 lib/fastlane/actions/notify.rb
fastlane-1.110.0 lib/fastlane/actions/notify.rb
fastlane-1.109.0 lib/fastlane/actions/notify.rb