From 85197a0326982f03291bd6fcb365e10a3118ba44 Mon Sep 17 00:00:00 2001 From: Martin Konicek Date: Wed, 23 Mar 2016 09:37:02 -0700 Subject: [PATCH] Add Modal to the main Java package Reviewed By: dmmiller Differential Revision: D3087508 fb-gh-sync-id: 066b8c4102f9669ed58e6cda1b0013e74a3627f8 shipit-source-id: 066b8c4102f9669ed58e6cda1b0013e74a3627f8 --- ReactAndroid/src/main/java/com/facebook/react/shell/BUCK | 1 + .../main/java/com/facebook/react/shell/MainReactPackage.java | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK b/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK index 198de5a74..5b70682fd 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK +++ b/ReactAndroid/src/main/java/com/facebook/react/shell/BUCK @@ -12,6 +12,7 @@ android_library( react_native_target('java/com/facebook/react/views/art:art'), react_native_target('java/com/facebook/react/views/drawer:drawer'), react_native_target('java/com/facebook/react/views/image:image'), + react_native_target('java/com/facebook/react/views/modal:modal'), react_native_target('java/com/facebook/react/views/picker:picker'), react_native_target('java/com/facebook/react/views/progressbar:progressbar'), react_native_target('java/com/facebook/react/views/recyclerview:recyclerview'), diff --git a/ReactAndroid/src/main/java/com/facebook/react/shell/MainReactPackage.java b/ReactAndroid/src/main/java/com/facebook/react/shell/MainReactPackage.java index f75c8d92b..2df9f49eb 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/shell/MainReactPackage.java +++ b/ReactAndroid/src/main/java/com/facebook/react/shell/MainReactPackage.java @@ -40,6 +40,7 @@ import com.facebook.react.views.art.ARTRenderableViewManager; import com.facebook.react.views.art.ARTSurfaceViewManager; import com.facebook.react.views.drawer.ReactDrawerLayoutManager; import com.facebook.react.views.image.ReactImageManager; +import com.facebook.react.views.modal.ReactModalHostManager; import com.facebook.react.views.picker.ReactDialogPickerManager; import com.facebook.react.views.picker.ReactDropdownPickerManager; import com.facebook.react.views.progressbar.ReactProgressBarViewManager; @@ -104,6 +105,7 @@ public class MainReactPackage implements ReactPackage { new ReactDropdownPickerManager(), new ReactHorizontalScrollViewManager(), new ReactImageManager(), + new ReactModalHostManager(), new ReactProgressBarViewManager(), new ReactRawTextManager(), new ReactScrollViewManager(),