showCaptureView()
Show the native camera capture view overlay.
AilaCordovaPlugin.showCaptureView()
Returns
Promise that resolves when the view is shown.
Example
// Show camera overlay for MRZ scanning
AilaCordovaPlugin.showCaptureView()
.then(() => {
AilaCordovaPlugin.displayMRZGuides(true);
AilaCordovaPlugin.scanStart();
});
Related
- hideCaptureView - Hide the overlay
- setCaptureViewFrame - Position the overlay