Usage of deprecated __expo global
See original GitHub issueCurrent behaviour
After upgrading expo to v40 and running an app I get a __expo global deprecation warning
Expected behaviour
This lib should be compatible with new/updated Expo guidelines.
Solution
We need to follow steps described here in official expo docs: https://github.com/expo/fyi/blob/master/deprecated-globals.md
The code that is causing deprecation warning is located here: https://github.com/callstack/react-native-paper/blob/master/src/components/MaterialCommunityIcon.tsx#L19-L25
Your Environment
| software | version |
|---|---|
| ios or android | ios 14.2 |
| react-native | https://github.com/expo/react-native/archive/sdk-40.0.0.tar.gz |
| react-native-paper | 4.4.1 |
| node | 12.8.4 |
| npm or yarn | yarn 1.22.5 |
| expo sdk | 40.0.0 |
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Upgrade Expo SDK
Expo maintains ~6 months of backward compatibility. Once an SDK version has been deprecated, you will no longer be able to use the...
Read more >React Native expo-permission deprecated what to use now?
expo-permissions has been deprecated in favor of module-specific permissions methods You should migrate from using Permissions.
Read more >expo-permissions is now deprecated - You.com - You.com
expo-permissions has been deprecated in favor of module-specific permissions methods You should migrate from using Permissions.askAsync and Permissions.
Read more >expo-cli | Yarn - Package Manager
Assorted Expo Dev Tools. Packages used in Expo CLI and related tooling. Contains source for the legacy global Expo CLI. The new local...
Read more >Before You Start | React Native School
This module leverages Expo, though you're welcome to use standard React ... npm install expo-cli --global npm WARN deprecated joi@14.0.4: This version has ......
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 Free
Top 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

I can confirm its fixed for me!
It should be fixed in v4.5.0. Please reopen if you still encounter this issue on v4.5.0