react-native-media-player
react-native-media-player copied to clipboard
Prevent NPE on onHostResume
This call to helper.onResume() was causing intermittent NPE's They happened during app initialization but I could not identify the reason; usually after a reload Adding a null check on onHostPause as well, just in case
If helper
is null, it means start()
may also do something unexpected. I think we need to track this problem.