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