Skip to content

Dev/4.7.1 - #488

Open
cqagora wants to merge 6 commits into
mainfrom
dev/4.7.1
Open

cqagora wants to merge 6 commits into
mainfrom
dev/4.7.1

Conversation

@cqagora

@cqagora cqagora commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Change Contract

  • Requirement or issue: Upgrade Android/iOS examples to SDK 4.7.1. SDK 4.7.1 was not released for macOS or Windows, so desktop examples retain SDK 4.7.0. Remove the hardcoded proxy from the iOS/macOS release packaging scripts by cherry-picking the upstream fix.
  • Shared behavior: Preserve the existing Android/iOS upgrade and iOS encryption changes. Restore the entire macOS/ and windows/ trees to PR base 43abca4c115f3e41b2ec627019b6ea9e25add8a9. Apple packaging scripts inherit the worker's network environment instead of overwriting https_proxy, http_proxy, and all_proxy.
  • SDK/API changes: Android/iOS use 4.7.1; macOS/Windows use 4.7.0. The proxy correction changes no SDK/API behavior, lifecycle, callbacks, permissions, signing configuration, or application sources.
  • Non-goals: No SDK artifact publication, release packaging execution, or PR merge.
  • References: docs/ai/project-matrix.md; desktop correction 2b98735054a283cbb79a5752bb6abf8d25d55c4d; proxy correction 9e0e8bb28519dec86484b6a3422a58208eb9a351, cherry-picked from Shengwang-Community/API-Examples 3372078.

Project Scope

These decisions cover the desktop correction and subsequent Apple packaging correction. Existing mobile application changes in the PR are retained.

Project Decision Change or reason
Android Views full REVIEW_ONLY Retain existing SDK 4.7.1 upgrade; Apple packaging change does not affect this project.
Android Views audio REVIEW_ONLY Retain existing SDK 4.7.1 upgrade; Apple packaging change does not affect this project.
Android Compose REVIEW_ONLY Retain existing SDK 4.7.1 upgrade; Apple packaging change does not affect this project.
iOS UIKit full REQUIRED Retain 4.7.1/encryption changes; remove forced proxy from shared build_ios.sh entry point.
iOS UIKit audio REQUIRED Retain 4.7.1; shared iOS packaging script uses the selected ios_direction.
iOS SwiftUI REQUIRED Retain 4.7.1; shared iOS packaging script uses the selected ios_direction.
iOS Objective-C REQUIRED Retain 4.7.1; shared iOS packaging script uses the selected ios_direction.
macOS AppKit REQUIRED Restore SDK/marketing version to 4.7.0; remove forced proxy from build_mac.sh.
Windows MFC REQUIRED Restore SDK download to 4.7.0; no subsequent proxy changes to Windows.

Cross-Platform Review

  • Intentional platform differences: 4.7.1 applies only to Android/iOS; desktop remains on the released 4.7.0 SDK. The proxy correction affects Apple release packaging only.
  • Target context: The cherry-pick retains Agora-specific SDK names, output names, parameters, and all other target script contents. Only three proxy exports per script are removed. Original author/date, Co-authored-by, and the source SHA are retained.
  • Lifecycle/threading/resources/permissions: The follow-up corrections introduce no application runtime changes. All four platform directory trees remain unchanged by the proxy cherry-pick.
  • Remaining validation boundary: Workers requiring a proxy must supply it through their environment. Actual Jenkins packaging, worker network access, signing and published artifacts were not exercised. Compile-only CI does not establish release packaging success.

Validation

Project Command or behavioral check Status Evidence, blocker, or reason Remaining command and unblock condition
macOS + Windows Desktop trees equal PR base PASS git diff --exit-code 43abca4c115f3e41b2ec627019b6ea9e25add8a9 HEAD -- macOS windows is empty. None for tree restoration.
All Android/iOS projects Preserve pre-correction mobile trees PASS Trees still match original PR head 80eaf1255439cc7464c08304e24c2677ffca02ba. Native compilation is tracked separately by CI.
All nine projects Preserve application trees during cherry-pick PASS git diff --exit-code 2b98735054a283cbb79a5752bb6abf8d25d55c4d HEAD -- Android iOS macOS windows is empty. None for source preservation.
iOS/macOS packaging Exact source delta and conflict review PASS Applied without conflicts; exactly two scripts and six deletions. Each target script equals its previous content minus the same three proxy exports. Source and target zero-context stable patch-id: e40812eca88eb219d1661a654af8df25d6618802. None for patch equivalence.
iOS/macOS packaging bash -n for both changed scripts PASS Both scripts parse successfully; whitespace check passed. None for shell syntax.
iOS packaging helper Existing test_check_ios_signing_assets.py suite PASS All 8 unit tests passed; signing helper source is unchanged. Actual signing requires Jenkins release environment.
macOS AppKit Podfile/project static checks from desktop correction PASS ruby -c macOS/Podfile and plutil -lint macOS/APIExample.xcodeproj/project.pbxproj passed; these files are unchanged by the cherry-pick. None for syntax validation.
Repository AI guidance checks from desktop correction PASS 12 validator tests; 28 skills/9 projects; no broken references. No AI guidance changed in the proxy cherry-pick. None.
Repository Gitleaks staged scan and commit-msg hooks PASS Repository hooks passed for both follow-up commits. None.
All projects Native Compile CI at 9e0e8bb2 NOT_RUN New run was queued after push: https://github.com/AgoraIO/API-Examples/actions/runs/46855007254 Await the matching run's native build results.
iOS/macOS packaging Actual Jenkins release packaging NOT_RUN Not requested; requires release inputs and worker/signing environment. Execute a separately authorized packaging run when release validation is required.

Repository Checks

  • Implemented corrections match the shared contract and explicit project scope.
  • Every required validation is PASS; native CI results and actual release packaging evidence are not established here.
  • SDK versions and dependency sources match docs/ai/project-matrix.md.
  • Gitleaks passed; corrections introduce no credentials or signing assets.
  • Commit messages are in English, with cherry-pick provenance preserved.
  • Release packaging validation is recorded separately from compile-only CI; no release packaging success is claimed.
- Guard Token and join callbacks with weak references, request generation,
  engine identity and channel checks on the main queue.
- Stop preview, unregister custom packet processing, leave once and destroy
  the owned engine on exit; ignore queued remote video callbacks afterward.
- Preserve the encryption inputs and update the UIKit case documentation.
- Validation: Swift syntax, diff whitespace and staged Gitleaks checks passed.
  Full app compilation and RTC device regression were not run.
@cqagora
cqagora requested a review from alienzh November 18, 2026 11:46
cqagora and others added 3 commits November 19, 2026 16:20
Declare the Agora CocoaPods source in all iOS and macOS Podfiles and retain the public CDN for third-party pods. Keep the Android Agora Maven routing and the UIKit local SDK packaging entry point. Document the overseas dependency sources.
Co-authored-by: zhangwei <zhangwei03@shengwang.cn>

(cherry picked from commit 3372078b44bf4b5c6d95c336281e78b5d62cc227)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants