You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 26, 2020. It is now read-only.
I initialize some of the listeners usingaddListener in componentDidMount of a particular screen container. This particular app does a loop to process multiple tags. However, I don't want a user to be able to read NFC for the app at any random screen in the process. Is there already a way to remove the binding that was added, perhaps calling something on componentWillUnmount?
Would you suggest an alternative is just starting the listener once on app load and checking for the particular screen is the that is in view?
The text was updated successfully, but these errors were encountered:
I initialize some of the listeners using
addListener
incomponentDidMount
of a particular screen container. This particular app does a loop to process multiple tags. However, I don't want a user to be able to read NFC for the app at any random screen in the process. Is there already a way to remove the binding that was added, perhaps calling something oncomponentWillUnmount
?Would you suggest an alternative is just starting the listener once on app load and checking for the particular screen is the that is in view?
The text was updated successfully, but these errors were encountered: