Hello Guys, My name is Amanpreet Singh. I am senior iOS Developer from Delhi (India) having 4.5+ years of experience in mobile application development. I had created many apps from scratch in e-commerce, travel and education domain and had also worked on many maintenance projects. In part time, I love to share iOS programming related stuffs and latest news, updates on Apple products.
In this article we will learn how can we achieve communication between React Native and Swift code. As we know React Native (RN) is great for building cross platform apps, but during development of react native app we might come across a situation where we need to call native code written in swift. This is where bridge module comes in, which allows us to communicate with the native layer of the application. If we are developing app in React Native for iOS and Android platform then we need to create a bridge for each platform. In this article we will discuss creation of React Native Bridge for iOS only. So Let’s start To better understand the concept we will create sample DemoApp in react native using react native CLI. Below are the commands to setup new project in react native. · react-native init DemoApp · cd DemoApp · react-native run-ios On running the app on iOS s...
Comments
Post a Comment