react-native-background-upload icon indicating copy to clipboard operation
react-native-background-upload copied to clipboard

Consider using NativeEventEmitter instead of DeviceEventEmitter

Open cristianoccazinsp opened this issue 6 years ago • 1 comments

Any reason DeviceEventEmitter is being used? I've been testing using the recommended NativeEventEmitter and it seems to work fine. https://facebook.github.io/react-native/docs/native-modules-ios#sending-events-to-javascript

Might also want to consider the following optimization from the docs: https://facebook.github.io/react-native/docs/native-modules-ios#optimizing-for-zero-listeners

cristianoccazinsp avatar Jul 13 '19 21:07 cristianoccazinsp

bump

pribeh avatar Dec 06 '19 15:12 pribeh