◉ANTIGRAVITY LABJP
ARTICLES

All Articles

All (1085)◉ Antigravity Basics (161)⟐ Editor View (82)◈ Agents & Manager (280)⬡ Integrations (143)▣ App Development (237)⚙ AI Tools (74)✦ Tips & Best Practices (108)
▣ App Development/2026-06-17Advanced

Stop Dialogs From Stacking: One Gate for Paywalls, Review Prompts, and Rewarded Ads

A field record of curing the bug where a paywall, a review prompt, and a rewarded ad all surface at once, fixed with a single priority-based modal gate. I let an Antigravity agent sweep up the scattered show() calls, but kept the display policy in my own hands.

▣ App Development/2026-06-15Advanced

Before Gemini CLI Shuts Down (June 18): Audit Every Hidden Dependency Before Moving to Antigravity CLI

When Gemini CLI shuts down on June 18, the things that actually break are not in your terminal—they're the gemini calls buried in CI, git hooks, and cron. Here's how to surface every reference, validate with a dry run, and design a rollback before you cut over.

▣ App Development/2026-06-15Advanced

Stop Adding a Ternary Every Time a New iPhone Ships: A Table-Driven Resolution Design

Every time a new resolution arrived—iPhone Air, 17 Pro—I was bolting another screen-size ternary onto a 29-branch pile. Here is how I reshaped that into a table-driven design where adding the next device is a one-line data change, with the actual Swift from my wallpaper apps.

▣ App Development/2026-06-14Intermediate

How Far Can On-Device Inference Stay Free? Measuring the Line Between Foundation Models and Gemini

WWDC 2026 widened Apple Foundation Models' free tier, making on-device inference easier to reach for. But 'free, so everything on-device' hits cases where quality falls short. Here is how to decide the range you hold on-device and the range you pass to cloud Gemini by measurement, not guesswork.

▣ App Development/2026-06-14Advanced

When the Edge Cache Pinned Next.js Error Pages: A cache-worker Guard Design

Users reported intermittent 'failed to load' errors I could never reproduce. The cause: SSR exceptions shipped as HTTP 200 and pinned by the edge cache. Here is how I narrowed it down with an Antigravity agent and added a cache-worker guard to stop it.

▣ App Development/2026-06-13Intermediate

What Letting a Browser Subagent Operate My Own Site Taught Me About Agent-Friendly Frontends

When I let Antigravity's Browser Subagent operate my own site, it kept failing at tasks any human finds trivial. With Chrome's I/O 26 agentic web push in mind, here is a practical checklist for building web UIs that agents can actually use.

▣ App Development/2026-06-13Advanced

Keeping TanStack Query v5 Cache Consistency Intact — Invalidation Boundaries, Optimistic Updates, and SSR Traps, Worked Through with Antigravity

A like that snaps back a moment after you tap it; a stale value that lingers when you return from another tab. This walks through the three places TanStack Query v5 cache consistency breaks, with working code for invalidation boundaries, onMutate rollback, and per-request QueryClient isolation.

▣ App Development/2026-06-13Intermediate

Delegate to the OS AI or Own It: Drawing the iOS 27 Feature Boundary

WWDC 2026 put AI into the OS core. Which app features should you hand to the OS AI, and which should you own? A boundary you will not regret, for indie developers.

▣ App Development/2026-06-13Advanced

Making Apple Foundation Models and Gemini Interchangeable: A Three-Tier Abstraction for In-App AI

After WWDC26 opened Apple Foundation Models to qualifying developers and announced server-side Gemini integration, I redesigned my apps around a three-tier abstraction — on-device, Private Cloud Compute, and third-party APIs — behind a single Swift protocol.

▣ App Development/2026-06-13Intermediate

Apple Foundation Models Are Now Free for Most Indie Apps — Three Questions That Decide What I Build

Apple Foundation Models are now free for developers under 2M first-time downloads. Three questions I used to decide which AI features belong in my wallpaper apps.

▣ App Development/2026-06-12Intermediate

Before Android 17 Stops Honoring Portrait Lock — Auditing Four Wallpaper Apps for Large-Screen Resizability

How I audited four portrait-locked wallpaper apps with an Antigravity agent before Android 17 starts ignoring orientation and resize restrictions on large screens.

▣ App Development/2026-06-12Intermediate

Replacing a Decade-Old SKPaymentQueue with StoreKit 2 — Migrating 4 Wallpaper Apps with an Antigravity Agent

A field report on migrating SKPaymentQueue-based purchase code to StoreKit 2's Transaction.currentEntitlements across four wallpaper apps — what I delegated to an Antigravity agent, and the traps I only found on real devices.