fix: 改用expo-file-system/legacy修复createDownloadResumable废弃报错

This commit is contained in:
Developer
2026-03-20 14:56:52 +08:00
parent bb0fdbd35f
commit b940862715

View File

@@ -1,6 +1,6 @@
import { useState } from 'react'; import { useState } from 'react';
import { Alert, Platform } from 'react-native'; import { Alert, Platform } from 'react-native';
import * as FileSystem from 'expo-file-system'; import * as FileSystem from 'expo-file-system/legacy';
import * as IntentLauncher from 'expo-intent-launcher'; import * as IntentLauncher from 'expo-intent-launcher';
import Constants from 'expo-constants'; import Constants from 'expo-constants';