Sha256: 9e8a97e6406c3e0299c127b81cc17c8ed4172f9a8f84e03fac2f2566322b51f6

Contents?: true

Size: 512 Bytes

Versions: 13

Compression:

Stored size: 512 Bytes

Contents

require_relative '../module'

module Snapshot
  module Fixes
    # Having "Connect Hardware Keyboard" enabled causes issues with entering text in secure textfields
    # Fixes https://github.com/fastlane/snapshot/issues/433

    class HardwareKeyboardFix
      def self.patch
        UI.verbose("Patching simulator to work with secure text fields")

        Helper.backticks("defaults write com.apple.iphonesimulator ConnectHardwareKeyboard 0", print: FastlaneCore::Globals.verbose?)
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fastlane-2.77.0.beta.20180117010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.1 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0.beta.20180116010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0.beta.20180115010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0.beta.20180114010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0.beta.20180113010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0.beta.20180112010003 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0.beta.20180111010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.76.0.beta.20180110010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.75.1 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.75.0 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.75.0.beta.20180109010003 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb