Error when restaring the app due to deprecated method
Summary
The app crash when it resets (Main app component is unmounted) due to a deprecated method
It affects mostly development since it happens when the app is unmounted
Platform information
Both
What is the current bug behavior?
It throws an error when the app is remounted
What is the expected correct behavior?
It should unmount without errors
Relevant logs and/or screenshots
Possible fixes
Remove the removeListener method calls
Edited by Martin Santangelo