diff --git a/ios/build.zsh b/ios/build.zsh index 62294b1..ae64e05 100755 --- a/ios/build.zsh +++ b/ios/build.zsh @@ -65,6 +65,13 @@ function cleanup_build { echo " ⚠️ APP_VERSION not set in .env" 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) echo "2. Running Expo Prebuild..." # Clean old ios folder to remove old entitlements/AppClip targets diff --git a/ios/patching/037-social-app-ios-disable-contacts-nux.patch b/ios/patching/037-social-app-ios-disable-contacts-nux.patch new file mode 100644 index 0000000..0fddde3 --- /dev/null +++ b/ios/patching/037-social-app-ios-disable-contacts-nux.patch @@ -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) + ) + }, + }, diff --git a/ios/preview.zsh b/ios/preview.zsh index 0f2802e..ad6eb11 100755 --- a/ios/preview.zsh +++ b/ios/preview.zsh @@ -57,6 +57,13 @@ else echo " ⚠️ APP_VERSION not set in .env" 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) echo "2. Running Expo Prebuild..." # Clean old ios folder to remove old entitlements/AppClip targets diff --git a/ios/setup.zsh b/ios/setup.zsh index a14c7f2..2ce3727 100755 --- a/ios/setup.zsh +++ b/ios/setup.zsh @@ -45,6 +45,7 @@ PATCH_FILES_IOS=( "032-social-app-ios-feed-loggedout.patch" "033-social-app-ios-hide-profile-tabs.patch" "036-social-app-ios-homeheader-loggedout.patch" + "037-social-app-ios-disable-contacts-nux.patch" ) function ios-env() {