Fixed an issue where restart/reset scanner from the same view was not working because of codeFound condition. Removing this condition raised another problem of found(code:) being called multiple times for a single scan. To solve this issue, used scanInterval so that found(code:) not called multiple times.
Fixed an issue where restart/reset scanner from the same view was not working because of codeFound condition. Removing this condition raised another problem of found(code:) being called multiple times for a single scan. To solve this issue, used scanInterval so that found(code:) not called multiple times.