Nicola Zaghini - Solution Architect | Senior Software Engineer, Phorest Salon Software
The objective of the workshop is to provide basic understanding of the React Native framework and the React designs principles by building a Native App for iOS and Android platform.
For a smoother and faster start of the workshop, please make sure you have your env setup and a running React Native App by following the sections below.
Setup your machine by following the instructions available at official React Native getting started link. Click on Building Projects with Native Code tab, select your Operating System and desired target platform(s), then follow the setup instructions.
VSCode is the IDE that will be used during the course. Unless you have strong preferences on other IDEs it is suggested to have it installed before the start of the Workshop. You can download and install VSCode from here.
Create the App
Create an application with the command react-native init MyMovies and run it via react-native run-ios and/or react-native run-android as per the getting started guide. In case of issues consult the troubleshoot section of the guide or refer to StackOverflow with the encountered issue.
Please note that Java 8 is the actual supported Java version for Android. If you have already upgraded to Java 9 you can either downgrade or keep both, but carefully setup the env to only use Java 8 for Android builds.
You may get confused between react-native init and create-react-native init . The first is the usual way you create a react native project with native dependencies and that's the approach used during the Workshop. The latter is a simplified setup which allows running iOS and Android react native without the need of Xcode or Android Studio to actually compile your app. Both are valid approaches and please note from the latter you can eject to the former. Still, the Workshop will just cover the react-native init setup.