Enable/Disabling Hardware Keyboard in iOS Simulator

Something new?

I am also using Detox and I tried
defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool true
and with defaults write com.apple.iphonesimulator ConnectHardwareKeyboard -bool false
And after that run detox test

Neither of the two ways worked.
I still have the problem that the software keyboard is shown