Daniel Zlotin преди 8 години
родител
ревизия
e32fef9d59
променени са 1 файла, в които са добавени 4 реда и са изтрити 6 реда
  1. 4
    6
      android/app/src/main/java/com/reactnativenavigation/NavigationApplication.java

+ 4
- 6
android/app/src/main/java/com/reactnativenavigation/NavigationApplication.java Целия файл

@@ -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();