Closed aziziaziz closed 1 year ago
Sure thing, this is already implemented:
enableTorch(): Promise<void>;
disableTorch(): Promise<void>;
toggleTorch(): Promise<void>;
getTorchState(): Promise<TorchStateResult>;
Unfortunately it is currently not documented ;)
Thank you so much for the quick reply. I've implemented it and it is working perfect!
Was searching high and low for the documentation about this. 😂
Thanks again for your help.
The application that we're building now is actually for lorry drivers, and they need to scan a QR code on a document. They always reported that it is very difficult for them to scan at night as the light source is very low.
Is there by any chance that we can enable/on the flash while scanning? If it is already implemented, can anyone please guide me on how to do it cause I can't find anywhere regarding the flash in the documentation. If it is not yet implemented, is there any plan to implement it?
Thanks in advance guys. Really appreciate it.