常用的通信方式如下。
1. 通过 RCTDeviceEventEmitter事件通信。
2. 通过回调函数异步通信。
3. 通过 Promise规范实现通信。
4. 通过原生 Android直接向 ReactNative传递常量数据。