mirror of
https://github.com/status-im/react-native-cameraroll.git
synced 2025-02-05 14:23:28 +00:00
305e1d7f50
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, PeteTheHeat Differential Revision: D13513777 fbshipit-source-id: 3f0c4ae259823fae78eba875a6c259733715ab56
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
|