Skip to main content

displayMRZGuides()

Shows or hides the MRZ guidance UI in the AilaCaptureView.

This allows the AilaCaptureView to be used for barcode or MRZ scanning. Defaults to false.

AilaCordovaPlugin.displayMRZGuides(shouldShow)

Parameters

  • shouldShow (Boolean, required) - Whether to show the MRZ guides

Returns

Promise that resolves when guides are shown/hidden.

Example

// Show MRZ guides
AilaCordovaPlugin.displayMRZGuides(true);

// Hide MRZ guides
AilaCordovaPlugin.displayMRZGuides(false);