class Snapshot::Fixes::HardwareKeyboardFix

Having “Connect Hardware Keyboard” enabled causes issues with entering text in secure textfields Fixes github.com/fastlane/snapshot/issues/433

Public Class Methods

patch() click to toggle source
# File lib/snapshot/fixes/hardware_keyboard_fix.rb, line 7
def self.patch
  UI.verbose "Patching simulator to work with secure text fields"

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