|
@@ -47,6 +47,10 @@ public abstract class NavigationApplication extends Application {
|
47
|
47
|
return reactGateway.isInitialized();
|
48
|
48
|
}
|
49
|
49
|
|
|
50
|
+ public void onReactInitialized(ReactContext reactContext) {
|
|
51
|
+ // nothing
|
|
52
|
+ }
|
|
53
|
+
|
50
|
54
|
public String getJsEntryFileName() {
|
51
|
55
|
return "index.android";
|
52
|
56
|
}
|
|
@@ -57,12 +61,6 @@ public abstract class NavigationApplication extends Application {
|
57
|
61
|
|
58
|
62
|
public abstract boolean isDebug();
|
59
|
63
|
|
60
|
|
- /**
|
61
|
|
- * override to listen to react initialization event
|
62
|
|
- */
|
63
|
|
- public void onReactInitialized(ReactContext reactContext) {
|
64
|
|
- // nothing
|
65
|
|
- }
|
66
|
64
|
|
67
|
65
|
@Nullable
|
68
|
66
|
public abstract List<ReactPackage> createAdditionalReactPackages();
|