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
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