新增 LearnMore 原生 iOS App、共用會員收藏與送審準備 - #1
Draft
NickYCLin wants to merge 9 commits into
Draft
Conversation
added 9 commits
September 6, 2026 02:21
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.
LearnMore 原本只有網站,iOS 無法直接共用會員收藏。此變更新增 SwiftUI App 與同資料庫的 Mobile API:訪客可搜尋、閱讀與同步播放歌詞;登入後可管理與網站共用的收藏歌單,連結 Google/Apple,並重新驗證後刪除共用帳號及本人上傳內容。
登入使用伺服器驗證的一次性 OAuth code;App session 儲存在 Keychain,伺服器只儲存雜湊。明確連結 provider,防止僅憑相同 Email 合併 Apple 帳號。刪除涵蓋 Apple token 撤銷、網站舊 Cookie 失效與檔案清理 outbox。同步播放器使用可見的 YouTube 官方嵌入播放器,背景及離開畫面會暫停。
附上 additive SQL migration、唯讀 schema 預檢、隱私與支援頁、App icon、商店文案、發佈腳本與整合測試矩陣。正式服務與簽章尚未設定,因此 PR 保持 Draft。
驗證:完整 .NET 測試 546 項、本機 Swift PlaybackCore 4 項通過;Windows CI 通過。Xcode 26.3/iOS 26.2 SDK 的 Release simulator build 及 UI 測試程式編譯通過;iPhone 17 Pro/iOS 26.0.1 的 3 項 UI 測試全部通過,包含修正後的無影片歌詞閱讀流程,以及實際切換開關後中文歌詞隱藏的檢查。驗證程式版本為
0b9921a:iOS CI、Windows CI。詳細紀錄見 ios/AppStore/VALIDATION.md。送審前仍須完成:staging 真實 schema/並行收藏/刪除整合、Apple Developer 簽章與 OAuth 設定、正式 API 與公開政策部署、內容授權及實際資料保留確認、真機/TestFlight/正式截圖與 App Store Connect 資料。正式 Mobile endpoints 現為 HTTP 404;未完成項目保持 false,不以測試 fixture 代替正式內容或送審截圖。