I’m using expo’s icons, and loading FontAwesome with it.
import { FontAwesome } from '@expo/vector-icons';
<FontAwesome {...someProps} />
It’s working fine most of the time, but I have Sentry, and for some users (~1%, all on iOS, on multiple iPhone models), I have the following error:
Error: File 'file:///var/mobile/Containers/Data/Application/51C9DD57-F5C9-42A2-BB2F-79517BFE83DE/Library/Caches/ExponentExperienceData/%2540amaurymartiny%252Fshoot-i-smoke/ExponentAsset-b06871f281fee6b241d60582ae9369b9.ttf' for font '50A396A6-3603-470E-9AC6-71F51BE06E67-FontAwesome' doesn't exist
at data(/Users/amaurymartiny/Workspaces/shoot-i-smoke/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:116:80)
at _failureCallbacks(/Users/amaurymartiny/Workspaces/shoot-i-smoke/node_modules/react-native/Libraries/BatchedBridge/NativeModules.js:77:29)
at value(/Users/amaurymartiny/Workspaces/shoot-i-smoke/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:397:43)
at _inCall(/Users/amaurymartiny/Workspaces/shoot-i-smoke/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:136:18)
at this(/Users/amaurymartiny/Workspaces/shoot-i-smoke/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:308:10)
at value(/Users/amaurymartiny/Workspaces/shoot-i-smoke/node_modules/react-native/Libraries/BatchedBridge/MessageQueue.js:135:66)
Expo SDK 30.
Any idea on how I can solve this, or debug it better? Thanks.
PS: If interested, the whole code is open-source: https://github.com/amaurymartiny/shoot-i-smoke/blob/78ad9b65d1d497718534307144eeb0fe4a880a44/App/Screens/Home/SmallButton/SmallButton.js#L5