Release Barcode Scanner on navigation

Hi,

How to release memory of Barcode reader before navigate to next screen?

hello!

you can use withNavigationFocus to unmount the barcode scanner when the screen is not focused: https://reactnavigation.org/docs/en/with-navigation-focus.html

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.