Tag Archives: React

How to pass data from swift to react native using emitter?

By | February 19, 2025

Passing Data from Swift to React Native Using Event Emitters To share data between your Swift native code and React Native JavaScript, you’ll need to use the React Native event emitter system. This creates a communication bridge between the native and JavaScript layers. Let me walk you through the process step by step. Setting Up… Read More »

How to expose swift class to react native class?

By | September 10, 2024

There will be situations where you have to expose your Swift class to React Native. To do this, you need to use some Obj-C Macros available in React Native. To use these Obj-C Macros, you need a new Obj-C file: You have to import RCTBridgeModule, so that you can use the Macros to bridge the native… Read More »

How to Monitor network requests in a React Native/React Application?

By | August 9, 2018

So how do we normally monitor all the operations in a react native applications. All the networks, redux state etc. So you will need a plugin/package for this. Its called Reactotron. Here is the github page for Reactotron. What is Reactotron? A macOS, Windows, and Linux app for inspecting your React JS and React Native… Read More »