diff --git a/app.json b/app.json index 006fc77..5786c52 100644 --- a/app.json +++ b/app.json @@ -6,7 +6,7 @@ "scheme": "imex-mobile-scheme", "userInterfaceStyle": "automatic", "extra": { - "expover": "18", + "expover": "19", "eas": { "projectId": "ffe01f3a-d507-4698-82cd-da1f1cad450b" } @@ -34,7 +34,9 @@ "permissions": [ "android.permission.READ_EXTERNAL_STORAGE", "android.permission.WRITE_EXTERNAL_STORAGE", - "android.permission.ACCESS_MEDIA_LOCATION" + "android.permission.ACCESS_MEDIA_LOCATION", + "android.permission.READ_MEDIA_IMAGES", + "android.permission.READ_MEDIA_VIDEO" ] }, "splash": { diff --git a/app/jobs/_layout.tsx b/app/jobs/_layout.tsx index 76c8b6c..90809e4 100644 --- a/app/jobs/_layout.tsx +++ b/app/jobs/_layout.tsx @@ -1,6 +1,6 @@ import { openImagePicker } from "@/redux/photos/photos.actions"; import * as Haptics from "expo-haptics"; -import { Stack, useLocalSearchParams } from "expo-router"; +import { Stack, useGlobalSearchParams } from "expo-router"; import { useCallback } from "react"; import { useTranslation } from "react-i18next"; import { IconButton } from "react-native-paper"; @@ -13,7 +13,7 @@ export default connect(null, mapDispatchToProps)(JobsStack); function JobsStack({ openImagePicker }) { const { t } = useTranslation(); - const { jobId } = useLocalSearchParams(); + const { jobId } = useGlobalSearchParams(); const handleUpload = useCallback(() => { Haptics.impactAsync(Haptics.ImpactFeedbackStyle.Light); diff --git a/babel-translations.babel b/babel-translations.babel index 7e65128..9993f3c 100644 --- a/babel-translations.babel +++ b/babel-translations.babel @@ -1,4 +1,4 @@ - +