Closed AlexanderPodlesniyQs closed 3 years ago
This is not a bug, it's a feature meant to be released for a future version of the library 👍
@codlab was this ever added?
Closing this rather old ticket since it's now officially supported, almost every events are available. If some are missing (or will come but aren't yet), please open a new ticket 👍
Native Events are not emitted to JS on Android
After some research I've found 3 issues preventing event emitting.
I found solutions for all three above reasons. Maybe they are not best. 1, 2 are quite obvious: add module to export and add @Subscribe decorators.
context.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter.class) .emit(callback.name(), map.copy());
After these changes DeviceEventEmitter started to receive Voxeet events.