I am new to React Native.
I am trying to call a react native method from native code without having any UI components from RN.
The idea is to add a DeviceEmitter listener at application start and later on post events from Native code.
The question is where should I put JS code to add DeviceEmitter listener at app start?