Facebook has finally recognized the complexities involved with the process of building and running React Native project across all the platforms. Thus, the social media giant has today launched a new React Native-based cross-platform tool which enables you to develop Android and iOS apps on any operating system.
Talking about the same in an official blog post, Adam Perry, software engineer at Expo said,
This was probably one of the biggest headache for developers and Facebook has now eliminated the same with the release of its Create React Native App tool. The said functionality has been implemented using Expo, which makes it possible for developers to run CRNA projects without compiling native code and control native UI components on both mobile platforms. This aims to make mobile app development as intuitive and natural as web apps.
To get started with CRNA, you’ll first need to install the tool using a handful of command-line instructions. Then, create your project and launch the React Native packager. This will show you a QR code that’s automatically generated using the Expo Android or iOS app on your mobile device. You’re now all set to start building your mobile app using any standard React Native APIs or Expo SDK.
Further, you will also have access to APIs for functions such as camera, video, contacts, and more. But, it also bring along support for some popular libraries like Airbnb’s react-native-maps, or Facebook authentication. However, if you want to include any other native dependency in your project then you’ll have to eject the code (similar to Create React App) and carry forward your project in Xcode or Android Studio. This will also be the process if you want to build IPAs and APKs for publishing your app.
To know more about CRNA projects and download, click here to access the Github repository.
This post first appeared on Hotstar Takes On Netflix, Launches Hotstar Premium To Offer US TV Shows And Movies, 'Unspoiled' | The Tech Portal, please read the originial post: here