[codex] harden iOS ATS release configuration#403
Merged
Conversation
|
Visit the preview URL for this PR (updated for commit eaacd74): https://ontime-c63f1--pr403-codexd-issue-388-ios-psf4hdes.web.app (expires Thu, 14 May 2026 08:36:39 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 7d60a2eae4c4a5839220ed6a57552a3b61cce5a3 |
|
Visit the preview URL for this PR (updated for commit eaacd74): https://on-time-front-widgetbook--pr403-codexd-issue-388-ios-dhv0cpl1.web.app (expires Thu, 14 May 2026 08:37:22 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: e53128a376fed0209d449279de9c0d94c83cdd8b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
REST_API_URLfor iOS release builds and reject release plists that enable arbitrary ATS loads.Why
Issue #388 calls out that production iOS builds should not ship with a global ATS bypass. The release API already uses HTTPS, while debug currently targets an HTTP endpoint, so this keeps development working without weakening production/profile builds.
Validation
plutil -lint ios/Runner/Info.plist ios/Runner/Info-Debug.plistplutil -lint ios/Runner.xcodeproj/project.pbxprojios/Runner/Info-Debug.plistios/scripts/extract_dart_defines.shfor missingREST_API_URL, HTTPREST_API_URL, and HTTPSREST_API_URLios/scripts/validate_release_info_plist.shagainst strict and debug ATS plistsgit diff --checkflutter analyzeCloses #388