Skip to content

Consider using NativeEventEmitter instead of DeviceEventEmitter #153

@cristianoccazinsp

Description

@cristianoccazinsp

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions