From 48623f749cb0e799a58e4942001a10e7e25139df Mon Sep 17 00:00:00 2001 From: Joshua Pinter Date: Fri, 6 Jan 2017 22:43:34 -0800 Subject: [PATCH] Add trailing curly bracket. Summary: Closes https://github.com/facebook/react-native/pull/11763 Differential Revision: D4390599 fbshipit-source-id: 5e58c2469d9110af4668c335b959ef20a5898031 --- docs/NativeModulesAndroid.md | 2 ++ 1 file changed, 2 insertions(+) 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`.