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 has been archived by the owner on Dec 18, 2023. It is now read-only.
In the example - once activated, the SmsListener is only removed after an Sms is received.
What if an Sms isn't received? what if the app is closed?
This could lead to potential data leak.
You should remove the listener when the component unmounts - for example, using useEffect.
The example should be updated to represent this. I think it's really important.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In the example - once activated, the SmsListener is only removed after an Sms is received.
What if an Sms isn't received? what if the app is closed?
This could lead to potential data leak.
You should remove the listener when the component unmounts - for example, using useEffect.
The example should be updated to represent this. I think it's really important.
The text was updated successfully, but these errors were encountered: