chore(ios): remove review information metadata

This commit is contained in:
joshavant
2026-06-16 14:23:07 +02:00
parent d24a589f1c
commit 4542d3914c
7 changed files with 26 additions and 13 deletions

View File

@@ -19,6 +19,17 @@ REQUIRED_SCREENSHOT_FAMILIES = {
"iPhone" => /iPhone/,
"13-inch iPad" => /iPad (Air|Pro) 13-inch/
}.freeze
PUBLIC_METADATA_FILENAMES = [
"description.txt",
"keywords.txt",
"marketing_url.txt",
"name.txt",
"privacy_url.txt",
"promotional_text.txt",
"release_notes.txt",
"subtitle.txt",
"support_url.txt"
].freeze
def load_env_file(path)
return unless File.exist?(path)
@@ -601,6 +612,19 @@ def release_notes_metadata_path
temp_root
end
def public_metadata_path
source = File.join(__dir__, "metadata")
temp_root = Dir.mktmpdir("openclaw-app-store-metadata")
Dir.children(source).each do |entry|
source_entry = File.join(source, entry)
next unless File.directory?(source_entry)
next unless PUBLIC_METADATA_FILENAMES.any? { |filename| File.exist?(File.join(source_entry, filename)) }
FileUtils.cp_r(source_entry, File.join(temp_root, entry))
end
temp_root
end
def read_ios_version_metadata
script_path = File.join(repo_root, "scripts", "ios-version.ts")
stdout, stderr, status = Open3.capture3(
@@ -926,7 +950,7 @@ platform :ios do
validate_required_screenshots!(paths)
end
metadata_path = File.join(__dir__, "metadata")
metadata_path = public_metadata_path
skip_metadata = ENV["DELIVER_METADATA"] != "1"
if release_notes_upload_requested? && skip_metadata
metadata_path = release_notes_metadata_path

View File

@@ -53,8 +53,4 @@ Or set `APP_STORE_CONNECT_API_KEY_PATH`.
- If app lookup fails in `deliver`, set one of:
- `APP_STORE_CONNECT_APP_IDENTIFIER` (bundle ID)
- `APP_STORE_CONNECT_APP_ID` (numeric App Store Connect app ID, e.g. from `/apps/<id>/...` URL)
- For first app versions, include review contact files under `metadata/review_information/`:
- `first_name.txt`
- `last_name.txt`
- `email_address.txt`
- `phone_number.txt` (E.164-ish, e.g. `+1 415 555 0100`)
- App Review submission is manual. Keep review contact, demo account, and reviewer notes outside this repo and enter them directly in App Store Connect when submitting for review.

View File

@@ -1 +0,0 @@
support@openclaw.ai

View File

@@ -1,3 +0,0 @@
OpenClaw normally pairs with a private Gateway. For App Review, tap Set Up Manually on the Connect Gateway screen, paste APPLE-REVIEW-DEMO in Setup Code, then tap Apply Setup Code. This enables local offline demo mode; no Gateway is required. Reviewers can also scan a QR code containing APPLE-REVIEW-DEMO.
Demo mode marks the app as connected to an Apple Review Demo Gateway and exposes the Chat, Command, Agent, Talk, and Settings surfaces without requiring a running Gateway. Live automation, realtime Talk execution, and external tool calls require pairing with a real OpenClaw Gateway.

View File

@@ -1 +0,0 @@
+1 415 555 0100