Problem Statement
How can a native module send events to JavaScript in React Native?
Explanation
Native modules use the RCTDeviceEventEmitter on iOS or ReactContext’s sendEvent method on Android to emit events.
This is useful when native code needs to notify JS about background tasks, downloads, or hardware events.