|
@@ -1,28 +1,17 @@
|
1
|
1
|
package com.reactnativenavigation.controllers;
|
2
|
2
|
|
3
|
|
-import android.content.Intent;
|
4
|
|
-import android.os.Bundle;
|
5
|
|
-
|
6
|
|
-import com.facebook.react.bridge.Arguments;
|
7
|
|
-import com.facebook.react.bridge.Callback;
|
8
|
|
-import com.facebook.react.bridge.Promise;
|
9
|
|
-import com.facebook.react.bridge.WritableMap;
|
10
|
|
-import com.reactnativenavigation.NavigationApplication;
|
11
|
|
-import com.reactnativenavigation.params.ActivityParams;
|
12
|
|
-import com.reactnativenavigation.params.ContextualMenuParams;
|
13
|
|
-import com.reactnativenavigation.params.FabParams;
|
14
|
|
-import com.reactnativenavigation.params.LightBoxParams;
|
15
|
|
-import com.reactnativenavigation.params.ScreenParams;
|
16
|
|
-import com.reactnativenavigation.params.SlidingOverlayParams;
|
17
|
|
-import com.reactnativenavigation.params.SnackbarParams;
|
18
|
|
-import com.reactnativenavigation.params.TitleBarButtonParams;
|
19
|
|
-import com.reactnativenavigation.params.TitleBarLeftButtonParams;
|
20
|
|
-import com.reactnativenavigation.params.parsers.ActivityParamsParser;
|
21
|
|
-import com.reactnativenavigation.params.parsers.ScreenParamsParser;
|
22
|
|
-import com.reactnativenavigation.utils.OrientationHelper;
|
23
|
|
-import com.reactnativenavigation.views.SideMenu.Side;
|
24
|
|
-
|
25
|
|
-import java.util.List;
|
|
3
|
+import android.content.*;
|
|
4
|
+import android.os.*;
|
|
5
|
+
|
|
6
|
+import com.facebook.react.bridge.*;
|
|
7
|
+import com.reactnativenavigation.*;
|
|
8
|
+import com.reactnativenavigation.params.*;
|
|
9
|
+import com.reactnativenavigation.params.parsers.*;
|
|
10
|
+import com.reactnativenavigation.react.*;
|
|
11
|
+import com.reactnativenavigation.utils.*;
|
|
12
|
+import com.reactnativenavigation.views.SideMenu.*;
|
|
13
|
+
|
|
14
|
+import java.util.*;
|
26
|
15
|
|
27
|
16
|
public class NavigationCommandsHandler {
|
28
|
17
|
|
|
@@ -557,4 +546,9 @@ public class NavigationCommandsHandler {
|
557
|
546
|
}
|
558
|
547
|
});
|
559
|
548
|
}
|
|
549
|
+
|
|
550
|
+ public static void getLaunchArgs(Promise promise) {
|
|
551
|
+ Bundle bundle = LaunchArgs.instance.get();
|
|
552
|
+ promise.resolve(bundle);
|
|
553
|
+ }
|
560
|
554
|
}
|