UserAgent UI Customization

HYPR SDK for iOS

User Agent Strings

Currently there are five strings available for customization at HYPRUserAgent They can be set via the userAgentStrings property of the HYPRViewConfiguration class.

PropertyDescription
registerRemoteDeviceAlertTitleText will be displayed as a screen title.
registerRemoteDeviceAlertTextFieldPlaceholderText will be displayed as a placeholder value.
registerRemoteDeviceAlertCancelButtonTitleCancellation button text.
registerRemoteDeviceAlertSubmitButtonTitleConfirmation button text.
OOBAuthenticationScreenConfirmationMessageConfirmation message displayed to the user when authentication is initiated.

Example

HYPRUserAgentStrings* strings = [HYPRViewConfiguration userAgentStrings];
    
    strings.registerRemoteDeviceAlertTitle = @"Register remote device";
    strings.registerRemoteDeviceAlertTextFieldPlaceholder = @"Place for PIN";
    strings.registerRemoteDeviceAlertCancelButtonTitle = @"Cancel";
    strings.registerRemoteDeviceAlertSubmitButtonTitle = @"Go!";
    strings.OOBAuthenticationScreenConfirmationMessage = @"Are you sure? Are you sure? Are you sure?";

Here is the result of setting these strings:

  1. The alert for entering the PIN on registering the remote device (registerRemoteDeviceAlertTextFieldPlaceholder):
640
  1. The out-of-band confirmation message (OOBAuthenticationScreenConfirmationMessage):
640