Release Barcode Scanner on navigation

#1

Hi,

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

0 Likes

#2

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

0 Likes

closed #3

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

0 Likes