use expo-file-system/legacy
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import {createDownloadResumable, deleteAsync} from 'expo-file-system'
|
import {createDownloadResumable, deleteAsync} from 'expo-file-system/legacy'
|
||||||
import {manipulateAsync, SaveFormat} from 'expo-image-manipulator'
|
import {manipulateAsync, SaveFormat} from 'expo-image-manipulator'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {copyAsync} from 'expo-file-system'
|
import {copyAsync} from 'expo-file-system/legacy'
|
||||||
import {type BskyAgent, type ComAtprotoRepoUploadBlob} from '@atproto/api'
|
import {type BskyAgent, type ComAtprotoRepoUploadBlob} from '@atproto/api'
|
||||||
|
|
||||||
import {safeDeleteAsync} from '#/lib/media/manip'
|
import {safeDeleteAsync} from '#/lib/media/manip'
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import {
|
|||||||
makeDirectoryAsync,
|
makeDirectoryAsync,
|
||||||
StorageAccessFramework,
|
StorageAccessFramework,
|
||||||
writeAsStringAsync,
|
writeAsStringAsync,
|
||||||
} from 'expo-file-system'
|
} from 'expo-file-system/legacy'
|
||||||
import {manipulateAsync, SaveFormat} from 'expo-image-manipulator'
|
import {manipulateAsync, SaveFormat} from 'expo-image-manipulator'
|
||||||
import * as MediaLibrary from 'expo-media-library'
|
import * as MediaLibrary from 'expo-media-library'
|
||||||
import * as Sharing from 'expo-sharing'
|
import * as Sharing from 'expo-sharing'
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import {
|
|||||||
documentDirectory,
|
documentDirectory,
|
||||||
getInfoAsync,
|
getInfoAsync,
|
||||||
readDirectoryAsync,
|
readDirectoryAsync,
|
||||||
} from 'expo-file-system'
|
} from 'expo-file-system/legacy'
|
||||||
import ExpoImageCropTool, {type OpenCropperOptions} from 'expo-image-crop-tool'
|
import ExpoImageCropTool, {type OpenCropperOptions} from 'expo-image-crop-tool'
|
||||||
|
|
||||||
import {compressIfNeeded} from './manip'
|
import {compressIfNeeded} from './manip'
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import {createUploadTask, FileSystemUploadType} from 'expo-file-system'
|
import {createUploadTask, FileSystemUploadType} from 'expo-file-system/legacy'
|
||||||
import {type AppBskyVideoDefs, type BskyAgent} from '@atproto/api'
|
import {type AppBskyVideoDefs, type BskyAgent} from '@atproto/api'
|
||||||
import {type I18n} from '@lingui/core'
|
import {type I18n} from '@lingui/core'
|
||||||
import {msg} from '@lingui/macro'
|
import {msg} from '@lingui/macro'
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import {useMemo} from 'react'
|
import {useMemo} from 'react'
|
||||||
import {Platform} from 'react-native'
|
import {Platform} from 'react-native'
|
||||||
import {setStringAsync} from 'expo-clipboard'
|
import {setStringAsync} from 'expo-clipboard'
|
||||||
import * as FileSystem from 'expo-file-system'
|
import * as FileSystem from 'expo-file-system/legacy'
|
||||||
import {Image} from 'expo-image'
|
import {Image} from 'expo-image'
|
||||||
import {msg, Trans} from '@lingui/macro'
|
import {msg, Trans} from '@lingui/macro'
|
||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {
|
|||||||
deleteAsync,
|
deleteAsync,
|
||||||
makeDirectoryAsync,
|
makeDirectoryAsync,
|
||||||
moveAsync,
|
moveAsync,
|
||||||
} from 'expo-file-system'
|
} from 'expo-file-system/legacy'
|
||||||
import {
|
import {
|
||||||
type Action,
|
type Action,
|
||||||
type ActionCrop,
|
type ActionCrop,
|
||||||
|
|||||||
Reference in New Issue
Block a user