covert RNFeedPackage and it's modules to use @ReactModule and @ReactModuleList
Reviewed By: lexs Differential Revision: D3796860 fbshipit-source-id: d4b5f3635754ef28277b79cb1ea9bab07ba3ea6e
This commit is contained in:
parent
2eda6deafd
commit
e515736126
|
@ -49,12 +49,14 @@ import com.facebook.react.bridge.WritableMap;
|
||||||
import com.facebook.react.bridge.WritableNativeArray;
|
import com.facebook.react.bridge.WritableNativeArray;
|
||||||
import com.facebook.react.bridge.WritableNativeMap;
|
import com.facebook.react.bridge.WritableNativeMap;
|
||||||
import com.facebook.react.common.ReactConstants;
|
import com.facebook.react.common.ReactConstants;
|
||||||
|
import com.facebook.react.module.annotations.ReactModule;
|
||||||
|
|
||||||
// TODO #6015104: rename to something less iOSish
|
// TODO #6015104: rename to something less iOSish
|
||||||
/**
|
/**
|
||||||
* {@link NativeModule} that allows JS to interact with the photos on the device (i.e.
|
* {@link NativeModule} that allows JS to interact with the photos on the device (i.e.
|
||||||
* {@link MediaStore.Images}).
|
* {@link MediaStore.Images}).
|
||||||
*/
|
*/
|
||||||
|
@ReactModule(name = "RKCameraRollManager")
|
||||||
public class CameraRollManager extends ReactContextBaseJavaModule {
|
public class CameraRollManager extends ReactContextBaseJavaModule {
|
||||||
|
|
||||||
private static final String ERROR_UNABLE_TO_LOAD = "E_UNABLE_TO_LOAD";
|
private static final String ERROR_UNABLE_TO_LOAD = "E_UNABLE_TO_LOAD";
|
||||||
|
|
Loading…
Reference in New Issue