diff --git a/apps/mobile/android/gradle.properties b/apps/mobile/android/gradle.properties index 97271b9..fe83539 100644 --- a/apps/mobile/android/gradle.properties +++ b/apps/mobile/android/gradle.properties @@ -15,13 +15,16 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects -org.gradle.parallel=true +# org.gradle.parallel=true # AndroidX package structure to make it clearer which packages are bundled with the # Android operating system, and which are packaged with your app's APK # https://developer.android.com/topic/libraries/support-library/androidx-rn android.useAndroidX=true +# Automatically convert third-party libraries to use AndroidX +android.enableJetifier=true + # Enable AAPT2 PNG crunching android.enablePngCrunchInReleaseBuilds=true @@ -35,17 +38,12 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 # your application. You should enable this flag either if you want # to write custom TurboModules/Fabric components OR use libraries that # are providing them. -newArchEnabled=true +newArchEnabled=false # Use this property to enable or disable the Hermes JS engine. # If set to false, you will be using JSC instead. hermesEnabled=true -# Use this property to enable edge-to-edge display support. -# This allows your app to draw behind system bars for an immersive UI. -# Note: Only works with ReactActivity and should not be used with custom Activity. -edgeToEdgeEnabled=true - # Enable GIF support in React Native images (~200 B increase) expo.gif.enabled=true # Enable webp support in React Native images (~85 KB increase) @@ -59,3 +57,4 @@ EX_DEV_CLIENT_NETWORK_INSPECTOR=true # Use legacy packaging to compress native libraries in the resulting APK. expo.useLegacyPackaging=false +org.gradle.java.home=/opt/homebrew/opt/openjdk@21 diff --git a/apps/mobile/package.json b/apps/mobile/package.json index 779a5f4..e3edfd0 100644 --- a/apps/mobile/package.json +++ b/apps/mobile/package.json @@ -12,26 +12,40 @@ "build:dev:android": "eas build --platform android --profile development", "build:ios": "eas build --platform ios --profile production", "build:android": "eas build --platform android --profile production", + "build:preview:ios": "eas build --platform ios --profile preview", + "build:preview:android": "eas build --platform android --profile preview", + "lint": "eslint . --max-warnings 0", "typecheck": "tsc --noEmit --skipLibCheck", - "format": "prettier --write ." + "format": "prettier --write .", + "android": "expo run:android", + "ios": "expo run:ios" }, "dependencies": { - "expo": "~54.0.33", - "react": "19.1.0", - "react-native": "0.75.0", - "expo-router": "~3.4.0", - "expo-linking": "~8.0.11", - "expo-constants": "~18.0.13", - "expo-camera": "~17.0.10", - "expo-location": "~19.0.8", - "expo-blur": "~15.0.8", - "expo-linear-gradient": "~15.0.8", - "expo-secure-store": "~15.0.8", - "expo-web-browser": "~15.0.10", - "@expo/ui": "~0.2.0-beta.9", + "@expo/ui": "^55.0.5", + "@shop/types": "workspace:*", + "better-auth": "^1.1.4", + "expo": "^55.0.0", + "expo-blur": "^14.0.1", + "expo-camera": "^14.1.0", + "expo-constants": "^16.0.2", + "expo-dev-client": "^55.0.18", + "expo-linear-gradient": "^14.0.1", + "expo-linking": "^7.0.1", + "expo-location": "^17.0.1", + "expo-router": "^4.0.10", + "expo-secure-store": "^13.0.2", + "expo-web-browser": "^13.0.1", + "react": "^19.0.0", + "react-native": "^0.76.0", + "sharp": "^0.34.5", "zustand": "^4.5.5" }, "devDependencies": { + "@types/react": "^19.0.0", + "@typescript-eslint/eslint-plugin": "^8.5.0", + "@typescript-eslint/parser": "^8.5.0", + "eslint": "^9.10.0", + "eslint-plugin-react": "^7.37.2", "typescript": "^5.6.3" } }