Vydia / react-native-background-upload

Upload files in your React Native app even while it's backgrounded. Supports Android and iOS, including camera roll assets.
MIT License
735 stars 335 forks source link

Adds return info for addListener #109

Closed maxschmeling closed 5 years ago

maxschmeling commented 5 years ago

This change makes it more obvious how to remove a listener that has been added. It took me a little digging to realize that I needed to call subscription.remove() instead of there being a removeListener method.

StevePotter commented 5 years ago

Thank you!