@hortemo/expo-photos
v4.0.0
Published
Expo module exposing advanced iOS Photos APIs.
Maintainers
Readme
@hortemo/expo-photos
Lightweight Expo (React Native) wrapper for Apple's Photos framework.
Installation
npm install @hortemo/expo-photosAPI Reference
fetchAssets(options: FetchAssetsOptions): Promise<PHAsset[]>requestImage(options: RequestImageOptions): Promise<void>requestVideo(options: RequestVideoOptions): Promise<void>pickAssets(options: PickAssetsOptions): Promise<PHAsset[]>authorizationStatus(accessLevel: PHAccessLevel): Promise<PHAuthorizationStatus>requestAuthorization(accessLevel: PHAccessLevel): Promise<PHAuthorizationStatus>presentLimitedLibraryPicker(): Promise<void>createPHImageSource(options: PHImageSourceOptions): ImageSourcePropType | undefined
