React Native
8 Notes
The primary difference between React Native and Cordova based apps is that Cordova based apps run inside a webview while React Native apps render using native views. React Native apps have direct access to all the Native APIs and views offered by the underlying mobile OS. Thus, React Native apps have the same feel and performance as that of a native application.
1- Install Nodejs (Refer to NodeJs topic in my notes) 2- sudo npm install -g react-native-cli 3- Configure Android development environment using my notes, in Android category.
1- react-native init my_project 2- cd my_project 3- react-native start (in a shell) 4- react-native run-android (in another shell)
cd to "android" folder inside your react native project: ./gradlew installDebug --debug ./gradlew installDebug --stacktrace
http://repo.metova.com/nexus/content/groups/public/com/
Add the following line to gradle.properties: org.gradle.jvmargs=-DsocksProxyHost=127.0.0.1 -DsocksProxyPort=1080
https://dl.google.com/dl/android/maven2/index.html
https://facebook.github.io/watchman/docs/install.html 1- apt install libtool-bin automake autotools-dev 2- git clone https://github.com/facebook/watchman.git 3- cd watchman 4- git checkout v4.9.0 # the latest stable release 5- ./autogen.sh 6- ./configure 7- make 8- sudo make install