Browse Source

Update installation-android.md

Guy Carmeli 7 years ago
parent
commit
67add6643f
1 changed files with 2 additions and 4 deletions
  1. 2
    4
      docs/installation-android.md

+ 2
- 4
docs/installation-android.md View File

59
 
59
 
60
 		protected List<ReactPackage> getPackages() {
60
 		protected List<ReactPackage> getPackages() {
61
 			// Add additional packages you require here
61
 			// Add additional packages you require here
62
+			// No need to add RnnPackage and MainReactPackage
62
 			return Arrays.<ReactPackage>asList(
63
 			return Arrays.<ReactPackage>asList(
63
 				// eg. new VectorIconsPackage()
64
 				// eg. new VectorIconsPackage()
64
 			);
65
 			);
66
 
67
 
67
 		@Override
68
 		@Override
68
 		public List<ReactPackage> createAdditionalReactPackages() {
69
 		public List<ReactPackage> createAdditionalReactPackages() {
69
-			return this.getPackages();
70
+			return getPackages();
70
 		}
71
 		}
71
-		// No need to add RnnPackage and MainReactPackage
72
-		// Simply return null if you do not have additional packages:
73
-		// return null;
74
 	}
72
 	}
75
 	```
73
 	```
76
 
74