fix social-app ios patch start contacts nux
This commit is contained in:
@@ -65,6 +65,13 @@ function cleanup_build {
|
|||||||
echo " ⚠️ APP_VERSION not set in .env"
|
echo " ⚠️ APP_VERSION not set in .env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# 1.9. Update buildNumber (CFBundleVersion) with current timestamp
|
||||||
|
echo "1.9. Updating buildNumber..."
|
||||||
|
local build_number=$(date +%y%m%d%H%M%S)
|
||||||
|
CONFIG_FILE="$REPO_DIR/app.config.js"
|
||||||
|
sediment "s/buildNumber: '[0-9]*'/buildNumber: '${build_number}'/" "$CONFIG_FILE"
|
||||||
|
echo " ✅ Set buildNumber to $build_number"
|
||||||
|
|
||||||
# 2. Prebuild (Generate ios directory)
|
# 2. Prebuild (Generate ios directory)
|
||||||
echo "2. Running Expo Prebuild..."
|
echo "2. Running Expo Prebuild..."
|
||||||
# Clean old ios folder to remove old entitlements/AppClip targets
|
# Clean old ios folder to remove old entitlements/AppClip targets
|
||||||
|
|||||||
13
ios/patching/037-social-app-ios-disable-contacts-nux.patch
Normal file
13
ios/patching/037-social-app-ios-disable-contacts-nux.patch
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/src/components/dialogs/nuxs/index.tsx b/src/components/dialogs/nuxs/index.tsx
|
||||||
|
index 63e11a7f4..70fa993cf 100644
|
||||||
|
--- a/src/components/dialogs/nuxs/index.tsx
|
||||||
|
+++ b/src/components/dialogs/nuxs/index.tsx
|
||||||
|
@@ -46,7 +46,7 @@ const queuedNuxs: {
|
||||||
|
enabled: ({currentProfile}) => {
|
||||||
|
return (
|
||||||
|
isNative &&
|
||||||
|
- isExistingUserAsOf('2025-12-16T00:00:00.000Z', currentProfile.createdAt)
|
||||||
|
+ isExistingUserAsOf('2099-12-16T00:00:00.000Z', currentProfile.createdAt)
|
||||||
|
)
|
||||||
|
},
|
||||||
|
},
|
||||||
@@ -57,6 +57,13 @@ else
|
|||||||
echo " ⚠️ APP_VERSION not set in .env"
|
echo " ⚠️ APP_VERSION not set in .env"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# 1.9. Update buildNumber (CFBundleVersion) with current timestamp
|
||||||
|
echo "1.9. Updating buildNumber..."
|
||||||
|
build_number=$(date +%y%m%d%H%M%S)
|
||||||
|
CONFIG_FILE="$REPO_DIR/app.config.js"
|
||||||
|
sediment "s/buildNumber: '[0-9]*'/buildNumber: '${build_number}'/" "$CONFIG_FILE"
|
||||||
|
echo " ✅ Set buildNumber to $build_number"
|
||||||
|
|
||||||
# 2. Prebuild (Generate ios directory)
|
# 2. Prebuild (Generate ios directory)
|
||||||
echo "2. Running Expo Prebuild..."
|
echo "2. Running Expo Prebuild..."
|
||||||
# Clean old ios folder to remove old entitlements/AppClip targets
|
# Clean old ios folder to remove old entitlements/AppClip targets
|
||||||
|
|||||||
@@ -45,6 +45,7 @@ PATCH_FILES_IOS=(
|
|||||||
"032-social-app-ios-feed-loggedout.patch"
|
"032-social-app-ios-feed-loggedout.patch"
|
||||||
"033-social-app-ios-hide-profile-tabs.patch"
|
"033-social-app-ios-hide-profile-tabs.patch"
|
||||||
"036-social-app-ios-homeheader-loggedout.patch"
|
"036-social-app-ios-homeheader-loggedout.patch"
|
||||||
|
"037-social-app-ios-disable-contacts-nux.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
function ios-env() {
|
function ios-env() {
|
||||||
|
|||||||
Reference in New Issue
Block a user