diff --git a/docs/NativeModulesAndroid.md b/docs/NativeModulesAndroid.md index 3989dfc0d3c..5c951904ab7 100644 --- a/docs/NativeModulesAndroid.md +++ b/docs/NativeModulesAndroid.md @@ -119,6 +119,8 @@ class AnExampleReactPackage implements ReactPackage { return modules; } + +} ``` The package needs to be provided in the `getPackages` method of the `MainApplication.java` file. This file exists under the android folder in your react-native application directory. The path to this file is: `android/app/src/main/java/com/your-app-name/MainApplication.java`.