frostney / react-native-create-library

:notebook: Command line tool to create a React Native library with a single command
MIT License
1.45k stars 114 forks source link

what is the package for emitDeviceEvent in android? #70

Closed roysG closed 6 years ago

maicki commented 6 years ago

@roysG Hey! It's build right into React Native. You can find a good blog post about it here: https://blog.callstack.io/sending-events-to-javascript-from-your-native-module-in-react-native-29244f890e04 or if you want to have it a bit abstracted away you can look into this library: https://github.com/maicki/react-native-event-bridge