Class: Snapshot::Fixes::HardwareKeyboardFix
- Inherits:
-
Object
- Object
- Snapshot::Fixes::HardwareKeyboardFix
- Defined in:
- lib/snapshot/fixes/hardware_keyboard_fix.rb
Overview
Having “Connect Hardware Keyboard” enabled causes issues with entering text in secure textfields Fixes github.com/fastlane/snapshot/issues/433
Class Method Summary collapse
Class Method Details
.patch ⇒ Object
7 8 9 10 11 |
# 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 |