Fix: Use legacy expo-file-system API to prevent deprecation error aborting photo saving ; Bump to 23.01.6
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
PermissionsAndroid,
|
||||
} from 'react-native';
|
||||
import { CameraView, useCameraPermissions } from 'expo-camera';
|
||||
import * as FileSystem from 'expo-file-system';
|
||||
import * as FileSystem from 'expo-file-system/legacy';
|
||||
import { File, Paths } from 'expo-file-system/next';
|
||||
import * as ImageManipulator from 'expo-image-manipulator';
|
||||
import { LinearGradient } from 'expo-linear-gradient';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { getPermissionsAsync, requestPermissionsAsync, createAssetAsync, getAlbumAsync, createAlbumAsync, addAssetsToAlbumAsync } from 'expo-media-library';
|
||||
import * as FileSystem from 'expo-file-system';
|
||||
import * as FileSystem from 'expo-file-system/legacy';
|
||||
import { logger } from './logger';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user