Sha256: a95297e78eafd14255b962baebd67f6b214b7e94d0b47e3c1816b17758be563e

Contents?: true

Size: 511 Bytes

Versions: 4

Compression:

Stored size: 511 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

4 entries across 4 versions & 1 rubygems

Version Path
fastlane-2.74.1 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.74.0 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.74.0.beta.20180108010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb
fastlane-2.74.0.beta.20180107010004 snapshot/lib/snapshot/fixes/hardware_keyboard_fix.rb