Just curious: How come tasks are scheduled on top of Headless JS (and Background Fetch for iOS) rather than emit and listen for events (using RCTDeviceEventEmitter and NativeEventEmitter)? Wouldn't this require no additional dependency and bypass Android scheduling restrictions as well?
Just curious: How come tasks are scheduled on top of Headless JS (and Background Fetch for iOS) rather than emit and listen for events (using
RCTDeviceEventEmitter
andNativeEventEmitter
)? Wouldn't this require no additional dependency and bypass Android scheduling restrictions as well?