mirror of
https://github.com/status-im/react-native-camera-roll.git
synced 2026-08-31 05:11:07 +00:00
feat(iOS): Add subTypes field (#495)
Allow to know PHAssetMediaSubtype on iOS. So for example if a node is a LivePhoto or a Panorama.
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
// and we want to stay compatible with those
|
||||
import {TurboModuleRegistry, TurboModule} from 'react-native';
|
||||
|
||||
import type {SubTypes} from './CameraRoll';
|
||||
|
||||
type Album = {
|
||||
title: string;
|
||||
count: number;
|
||||
@@ -11,6 +13,7 @@ type Album = {
|
||||
type PhotoIdentifier = {
|
||||
node: {
|
||||
type: string;
|
||||
subTypes: SubTypes;
|
||||
group_name: string;
|
||||
image: {
|
||||
filename: string | null;
|
||||
|
||||
Reference in New Issue
Block a user