diff --git a/apps/expo/app.config.js b/apps/expo/app.config.js index f7c19c2c7..910579afd 100644 --- a/apps/expo/app.config.js +++ b/apps/expo/app.config.js @@ -1,17 +1,20 @@ module.exports = ({ config }) => { return { ...config, - plugins: config.plugins.map((i) => { - if (i[0] === '@rnmapbox/maps') { - return [ - '@rnmapbox/maps', - { - RNMapboxMapsImpl: 'mapbox', - RNMapboxMapsDownloadToken: process.env.MAPBOX_DOWNLOADS_TOKEN, - }, - ]; - } - return i; - }), + plugins: [ + ...config.plugins.map((i) => { + if (i[0] === '@rnmapbox/maps') { + return [ + '@rnmapbox/maps', + { + RNMapboxMapsImpl: 'mapbox', + RNMapboxMapsDownloadToken: process.env.MAPBOX_DOWNLOADS_TOKEN, + }, + ]; + } + return i; + }), + 'expo-asset', + ], }; }; diff --git a/apps/expo/package.json b/apps/expo/package.json index ed2230851..cc0133bf9 100644 --- a/apps/expo/package.json +++ b/apps/expo/package.json @@ -86,6 +86,7 @@ "eslint-plugin-react-native": "^4.0.0", "expo": "~51.0.39", "expo-application": "~5.9.1", + "expo-asset": "~10.0.10", "expo-auth-session": "~5.5.2", "expo-blur": "~13.0.2", "expo-build-properties": "~0.12.5", diff --git a/yarn.lock b/yarn.lock index 5125ede01..d7cdbb01d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22068,6 +22068,7 @@ __metadata: eslint-plugin-react-native: "npm:^4.0.0" expo: "npm:~51.0.39" expo-application: "npm:~5.9.1" + expo-asset: "npm:~10.0.10" expo-auth-session: "npm:~5.5.2" expo-blur: "npm:~13.0.2" expo-build-properties: "npm:~0.12.5"