Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add useHIDClear capability and setting #952

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ppken
Copy link

@ppken ppken commented Nov 6, 2024

Addresses: appium/appium#20727

Added useHIDClear capability and setting to be able to enable / disable text clear by HIDEvent.

@@ -141,6 +141,10 @@ + (NSArray *)routes
[FBConfiguration forceSimulatorSoftwareKeyboardPresence];
}

if (capabilities[FB_CAP_USE_HID_CLEAR]) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not really needed to add a capability for it. Settings could also be set upon session startup

@@ -35,3 +35,4 @@
NSString* const FB_SETTING_ANIMATION_COOL_OFF_TIMEOUT = @"animationCoolOffTimeout";
NSString* const FB_SETTING_MAX_TYPING_FREQUENCY = @"maxTypingFrequency";
NSString* const FB_SETTING_RESPECT_SYSTEM_ALERTS = @"respectSystemAlerts";
NSString* const FB_SETTING_USE_HID_CLEAR = @"useHIDClear";

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how about changing the name to useClearTextShortcut ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants