Przeglądaj źródła

android build fix

Viktoriia 6 dni temu
rodzic
commit
7acf3172df
3 zmienionych plików z 22 dodań i 11 usunięć
  1. 1 1
      app.config.ts
  2. 2 1
      metro.config.js
  3. 19 9
      package.json

+ 1 - 1
app.config.ts

@@ -162,7 +162,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
         },
         android: {
           minSdkVersion: 24,
-          targetSdkVersion: 35
+          targetSdkVersion: 36,
           // kotlinVersion: '1.7.1'
         }
       }

+ 2 - 1
metro.config.js

@@ -14,7 +14,8 @@ module.exports = (() => {
       mangle: {
         keep_fnames: true
       }
-    }
+    },
+    _expoRelativeProjectRoot: __dirname,
   };
 
   config.resolver = {

+ 19 - 9
package.json

@@ -2,6 +2,16 @@
   "name": "nomadmania-app",
   "version": "2.0.0",
   "main": "node_modules/expo/AppEntry.js",
+  "expo": {
+    "doctor": {
+      "reactNativeDirectoryCheck": {
+        "exclude": [
+          "react-native-file-viewer",
+          "react-native-wheel-pick"
+        ]
+      }
+    }
+  },
   "scripts": {
     "start": "expo start --dev-client",
     "android": "expo run:android",
@@ -15,43 +25,43 @@
     "@expo/vector-icons": "^15.0.2",
     "@maplibre/maplibre-react-native": "^10.2.1",
     "@react-native-clipboard/clipboard": "^1.16.3",
-    "@react-native-community/datetimepicker": "^8.4.4",
+    "@react-native-community/datetimepicker": "8.4.4",
     "@react-native-community/netinfo": "11.4.1",
     "@react-native-documents/picker": "^10.1.7",
-    "@react-native-picker/picker": "^2.11.1",
+    "@react-native-picker/picker": "2.11.1",
     "@react-navigation/bottom-tabs": "^7.4.7",
     "@react-navigation/drawer": "^7.5.8",
     "@react-navigation/material-top-tabs": "^7.3.7",
     "@react-navigation/native": "^7.1.17",
     "@react-navigation/native-stack": "^7.3.26",
     "@react-navigation/stack": "^7.4.8",
-    "@sentry/react-native": "~6.20.0",
+    "@sentry/react-native": "~7.2.0",
     "@shopify/flash-list": "2.0.2",
     "@tanstack/react-query": "^5.89.0",
     "@turf/turf": "^7.2.0",
     "axios": "^1.12.2",
     "better-react-native-image-viewing": "^0.2.7",
     "dotenv": "^16.6.1",
-    "expo": "^54.0.9",
+    "expo": "^54.0.12",
     "expo-asset": "~12.0.9",
     "expo-audio": "~1.0.13",
     "expo-blur": "~15.0.7",
     "expo-build-properties": "~1.0.9",
     "expo-checkbox": "~5.0.7",
     "expo-constants": "~18.0.9",
-    "expo-dev-client": "~6.0.12",
-    "expo-file-system": "~19.0.14",
+    "expo-dev-client": "~6.0.13",
+    "expo-file-system": "~19.0.16",
     "expo-font": "~14.0.8",
     "expo-image": "~3.0.8",
     "expo-image-picker": "~17.0.8",
     "expo-location": "~19.0.7",
     "expo-media-library": "~18.2.0",
-    "expo-notifications": "~0.32.11",
+    "expo-notifications": "~0.32.12",
     "expo-splash-screen": "~31.0.10",
     "expo-sqlite": "~16.0.8",
     "expo-status-bar": "~3.0.8",
     "expo-task-manager": "~14.0.7",
-    "expo-updates": "~29.0.11",
+    "expo-updates": "~29.0.12",
     "expo-video": "~3.0.11",
     "formik": "^2.4.6",
     "moment": "^2.30.1",
@@ -83,7 +93,7 @@
     "react-native-paper": "^5.14.5",
     "react-native-pell-rich-editor": "^1.10.0",
     "react-native-progress": "^5.0.1",
-    "react-native-reanimated": "~4.1.0",
+    "react-native-reanimated": "~4.1.1",
     "react-native-reanimated-carousel": "^4.0.3",
     "react-native-render-html": "^6.3.4",
     "react-native-safe-area-context": "~5.6.0",