Update expo to sdk33 / sdk34
See original GitHub issueAs expo package is deprecated, this is displayed when running expo start and building app :
The following APIs have moved to separate packages and importing them from the "expo" package is deprecated: Constants, FileSystem.
1. Add correct versions of these packages to your project using:
expo install expo-constants expo-file-system
If "install" is not recognized as an expo command, update your expo-cli installation.
2. Change your imports so they use specific packages instead of the "expo" package:
- import { Constants } from 'expo' -> import Constants from 'expo-constants'
- import { FileSystem } from 'expo' -> import * as FileSystem from 'expo-file-system'
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Upgrade Expo SDK
Learn how to incrementally upgrade the Expo SDK version in your project. ... Upgrade from SDK 34. Run expo update 35.0.0 ... SDK...
Read more >How to upgrade expo sdk to specific vresion
Update to the latest version of EAS CLI if you use it: npm i -g eas-cli. Run expo upgrade in your project directory....
Read more >64-Bit Support and Android App Bundles
... Bundles (AABs) with SDK33 projects and, of course, with SDK34 upon its release. (Since SDK33 is the first Expo SDK version that...
Read more >Increase react-native-svg Expected Version Range for ... - Expo
https://expo.canny.io/feature-requests/p/upgrade-react-native-svg ... at the File Level through in v9.5.3(supported version for SDK34), for inlined Svgs:.
Read more >expo-video-player
1.5.x, >= SDK 34 ; 1.4.x, >= SDK 34 ; 1.3.x, >= SDK 34 ; 1.2.x, >= SDK 33.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @mattias-persson, we are planning to get this in a release within the next two weeks. We will let you know when this has been released.
Hi @mattdyoung, not sure if I should open a separate issue for this, but it looks like SDK34 will be out imminently as Dependabot triggered a build for us, and I’m seeing this all over the place:
I’m assuming it’s due to the changes in expo-file-system that @lc3t35 flagged, since looking at queue.js I can see
FileSystem.cacheDirectory
.