Example of a React-Native native component in iOS using Swift and in Android using Java.
$ git clone git@github.com:calitb/RN-NativeViews.git
$ npm i
Open AwesomeProject/ios/AwesomeProject.xcodeproj
in Xcode and import AwesomeProject/android/
into Android Studio and run the projects.