For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

stopQr

Stops the QR flow in the desktop view.

Details

Stops the QR flow on desktop once capture on the mobile device is complete.

Syntax: stopQr() => Promise<void>

Syntax

await provider.stopQr();

Description

Properly closes the QR session in the originating browser. Requires the qr.

property to be enabled. Call stopQr() when the capture process is complete (e.g., in the extractionFinish event of the last widget). This method closes the QR session, publishes the QrWidget + finish status, and emits emitFinishQr so you can continue the flow.

Considerations

This method must be called when the mobile capture flow is complete.

To continue the logic on desktop after closing, listen for emitFinishQr (or emitTrackStatus with FacephiComponent.QrWidget and ComponentStatus.finish).


Example

Last updated