React Native - Communication with native modules (iOS)

React Native - Communication with native modules (iOS)

Today's post starts with a question, why create native modules using react native? If you work with mobile development, at some point you will bump into some lib, some sdk that only has versions for Android or iOS and you have the app already in progress with React Native. Given this scenario, the need to understand, study and learn to create communication using React Native arises, this is possible and with this we are able to extrapolate the common and start developing more powerful applications or even contribute by creating a package that did not exist to abstract the native SDK / Lib. To create the native modules we have two options, create a NPM/Yarn package or create the native module inside our app project.

React Native - Communication with native modules (iOS)
Iago Cavalcante
January 12, 2024