fix: use recent Expo 55, regenerate android for EAS build
This commit is contained in:
parent
a861923a72
commit
bebfb94e0e
5 changed files with 299 additions and 758 deletions
|
|
@ -1,3 +1,6 @@
|
||||||
# Local Development
|
# Local Development
|
||||||
# Points to backend running on your Mac
|
# Points to backend running on your Mac
|
||||||
EXPO_PUBLIC_API_URL=http://localhost:3001
|
EXPO_PUBLIC_API_URL=http://localhost:3001
|
||||||
|
|
||||||
|
# Android SDK
|
||||||
|
ANDROID_HOME=/Users/barnabasbodily/android-sdk
|
||||||
|
|
|
||||||
|
|
@ -29,7 +29,7 @@
|
||||||
<category android:name="android.intent.category.DEFAULT"/>
|
<category android:name="android.intent.category.DEFAULT"/>
|
||||||
<category android:name="android.intent.category.BROWSABLE"/>
|
<category android:name="android.intent.category.BROWSABLE"/>
|
||||||
<data android:scheme="bagsy"/>
|
<data android:scheme="bagsy"/>
|
||||||
<data android:scheme="exp+bagsy"/>
|
<data android:scheme="exp+shopmonorepo"/>
|
||||||
</intent-filter>
|
</intent-filter>
|
||||||
</activity>
|
</activity>
|
||||||
</application>
|
</application>
|
||||||
|
|
|
||||||
|
|
@ -15,16 +15,13 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m
|
||||||
# When configured, Gradle will run in incubating parallel mode.
|
# When configured, Gradle will run in incubating parallel mode.
|
||||||
# This option should only be used with decoupled projects. More details, visit
|
# 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
|
# 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
|
# 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
|
# Android operating system, and which are packaged with your app's APK
|
||||||
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
# https://developer.android.com/topic/libraries/support-library/androidx-rn
|
||||||
android.useAndroidX=true
|
android.useAndroidX=true
|
||||||
|
|
||||||
# Automatically convert third-party libraries to use AndroidX
|
|
||||||
android.enableJetifier=true
|
|
||||||
|
|
||||||
# Enable AAPT2 PNG crunching
|
# Enable AAPT2 PNG crunching
|
||||||
android.enablePngCrunchInReleaseBuilds=true
|
android.enablePngCrunchInReleaseBuilds=true
|
||||||
|
|
||||||
|
|
@ -38,12 +35,17 @@ reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64
|
||||||
# your application. You should enable this flag either if you want
|
# your application. You should enable this flag either if you want
|
||||||
# to write custom TurboModules/Fabric components OR use libraries that
|
# to write custom TurboModules/Fabric components OR use libraries that
|
||||||
# are providing them.
|
# are providing them.
|
||||||
newArchEnabled=false
|
newArchEnabled=true
|
||||||
|
|
||||||
# Use this property to enable or disable the Hermes JS engine.
|
# Use this property to enable or disable the Hermes JS engine.
|
||||||
# If set to false, you will be using JSC instead.
|
# If set to false, you will be using JSC instead.
|
||||||
hermesEnabled=true
|
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)
|
# Enable GIF support in React Native images (~200 B increase)
|
||||||
expo.gif.enabled=true
|
expo.gif.enabled=true
|
||||||
# Enable webp support in React Native images (~85 KB increase)
|
# Enable webp support in React Native images (~85 KB increase)
|
||||||
|
|
|
||||||
|
|
@ -1,51 +1,19 @@
|
||||||
{
|
{
|
||||||
"name": "@shop/mobile",
|
"name": "@shop/mobile",
|
||||||
"version": "0.0.1",
|
"version": "1.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"main": "expo-router/entry",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "expo start",
|
"dev": "expo start",
|
||||||
"dev:ios": "expo start --ios",
|
"prebuild": "expo prebuild"
|
||||||
"dev:android": "expo start --android",
|
|
||||||
"prebuild": "expo prebuild --clean",
|
|
||||||
"build:dev:ios": "eas build --platform ios --profile development",
|
|
||||||
"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 .",
|
|
||||||
"android": "expo run:android",
|
|
||||||
"ios": "expo run:ios"
|
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@expo/ui": "^55.0.5",
|
|
||||||
"@shop/types": "workspace:*",
|
|
||||||
"better-auth": "^1.1.4",
|
|
||||||
"expo": "^55.0.0",
|
"expo": "^55.0.0",
|
||||||
"expo-blur": "^14.0.1",
|
"expo-router": "^4.0.0",
|
||||||
"expo-camera": "^14.1.0",
|
"expo-camera": "^15.0.0",
|
||||||
"expo-constants": "^16.0.2",
|
"expo-location": "^18.0.0",
|
||||||
"expo-dev-client": "^55.0.18",
|
"expo-secure-store": "^14.0.0",
|
||||||
"expo-linear-gradient": "^14.0.1",
|
"react": "18.3.1",
|
||||||
"expo-linking": "^7.0.1",
|
"react-native": "0.76.0"
|
||||||
"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"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue