mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-01-27 01:52:11 +00:00
e172dc7b94
Summary: Replaced all deprecated ALAssets* references to roughly equivalent PHPhoto* references in RCTCameraRoll library. There are still some minor inconsistencies between iOS/Android and documentation that existed prior to this diff that need to be resolved after this. Reviewed By: fkgozali Differential Revision: D13593314 fbshipit-source-id: 6d3dc43383e3ad6e3dbe73d4ceceac1ba9261d9d
23 lines
467 B
Objective-C
23 lines
467 B
Objective-C
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import <Photos/Photos.h>
|
|
|
|
#import <React/RCTBridgeModule.h>
|
|
#import <React/RCTConvert.h>
|
|
|
|
@interface RCTConvert (PHFetchOptions)
|
|
|
|
+ (PHFetchOptions *)PHFetchOptionsFromMediaType:(NSString *)mediaType;
|
|
|
|
@end
|
|
|
|
|
|
@interface RCTCameraRollManager : NSObject <RCTBridgeModule>
|
|
|
|
@end
|