Created
January 1, 2019 21:03
-
-
Save ryardley/2b84ba2f75c1202344987f2bc0f87114 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // alter your android/app/src/main/java/com/cppreactnative/MainApplication.java | |
| import com.cppreactnative.helloworld.HelloWorldPackage; // Add this import statement | |
| //... | |
| @Override | |
| protected List<ReactPackage> getPackages() { | |
| return Arrays.<ReactPackage>asList( | |
| new MainReactPackage(), | |
| new HelloWorldPackage() // add this line to the list of packages. | |
| ); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment