Skip to content

feat(monetization): move banner to tabViewBottomAccessory, with tab-bottom fallback #1024

Closed

Description

@wei18

Gates: blocked-by: V-4 (#1029) (B-6 minimal AdMob-in-accessory sample must resolve U-10 first) · blocks: —

One-line goal: move the AdMob banner from its current placement into
View.tabViewBottomAccessory(content:) (iOS/iPadOS/Mac-Catalyst 26+), WITH a pre-built
fallback to the current tab-content-bottom placement if the UIViewRepresentable AdMob
banner turns out incompatible with the accessory container — and explicitly no banner at
all on macOS.

Design anchor: docs/designs/v3/design.md §2.4 (tabViewBottomAccessory + the U-10
unconfirmed item + fallback), §2.4.1 (macOS has no accessory API — the 3-option table + D18).

Spec (design.md §2.4, §2.4.1):

  1. tabViewBottomAccessory with .expanded (default, full height above tab bar) and
    .inline (collapses level with tab bar on scroll-minimize) placements, per the
    TabViewBottomAccessoryPlacement API.
  2. This issue does NOT proceed until V-4 (test(v3): B-6 (AdMob × tabViewBottomAccessory) + B-7 (GlassEffectContainer × button style) minimal samples #1029) (B-6) has posted a PASS — if V-4 (test(v3): B-6 (AdMob × tabViewBottomAccessory) + B-7 (GlassEffectContainer × button style) minimal samples #1029) posts FAIL
    (AdMob's UIViewRepresentable doesn't render correctly inside the accessory), this
    issue's scope changes to implementing the pre-designed fallback (§2.4: "退回 tab 內容
    底部,不阻擋任何其他設計") instead of the accessory path — either outcome ships,
    monetization is explicitly not allowed to block on an unverified API (§2.4's closing line).
  3. macOS: no banner at all (§2.4.1 option A, the design's explicit recommendation) —
    tabViewBottomAccessory doesn't exist on macOS, and the two alternatives (detail-column
    fixed footer / sidebar placement) were rejected in §2.4.1 as directly conflicting with
    the full-bleed board and functional-layer glass rules respectively. Do not implement
    either rejected alternative "just in case" — ship option A as the final macOS behavior,
    not a placeholder.

Acceptance criteria (mechanically checkable):

Forbidden:

part of #1014


Activity

  1. wei18 commented on Sep 1, 2026

    @wei18
    OwnerAuthor

    B-6 gate cleared — PASS: AdMob BannerView renders at non-zero size inside tabViewBottomAccessory (both .expanded and .inline) and the SDK impression callback fires. Verdict with evidence: #1029 (comment) · sample: spike/1029-b6-admob-accessory. Build on the accessory as the primary banner path; §2.4's tab-content-bottom fallback stays unused. Note the two feature-work findings in the verdict (capsule-end letterboxing, no re-load on placement change).

  2. wei18 commented on Sep 7, 2026

    @wei18
    OwnerAuthor

    Cross-reference correction: the B-6 gate lives in V-4 (#1029) (CLOSED, PASS verdict), not V-3 (#1028) — #1028 is the unrelated B-5 accessibility matrix. Fixed 5 stale V-3 (#1028) refs in the body above (header was already correct). Gate is therefore cleared: this issue proceeds on the accessory path, per #1029's B-6 PASS.

  3. wei18 commented on Sep 7, 2026

    @wei18
    OwnerAuthor

    🔒 Claimed by session brisk-stork (branch session/brisk-stork-isio, worktree Sudoku-spec-worktree-session-brisk-stork-isio). Implementing the accessory path per B-6 PASS (#1029); PM = sly-bunting session. Do not pick up concurrently.

  4. added 18 commits that reference this issue on Sep 8, 2026
  5. wei18 commented on Sep 22, 2026

    @wei18
    OwnerAuthor

    Done, closing (PM). Shipped via #1080 / PR #1095 (merged 331b4de7, 2026-09-21), on the B-6 PASS path (#1029):

    Known limits carried forward: #1091, #1094.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions