Understand library limitations
mainWhen integrating @yudiel/react-qr-scanner, be aware of the following constraints:
- Security: Requires
HTTPSorlocalhostdue to browser security restrictions. - iOS Audio: The first scan after page load may not play a beep sound due to iOS user-gesture requirements.
- SSR: The library is not compatible with Server-Side Rendering; it must be loaded on the client side.
- Mobile Hardware: Some mobile browsers cannot use the torch and zoom features at the same time. The library handles this by disabling the torch when zoom is activated.