App Development
Building apps with Antigravity — Unity, Xcode, and Android Studio integration, Next.js and Expo development, store releases, and monetization.
When Parallel Agents Corrupt Your Lockfile: Serializing Dependency Installs in Antigravity
Antigravity's parallel agents racing on the same pnpm store and lockfile can corrupt both. Here is how I kept code generation parallel while serializing only the installs with a file lock.
Designing Safe Background Tasks with the Managed Agents API
Antigravity 2.0's Managed Agents API launches an agent in an isolated Linux environment with a single API call, handling reasoning, tool use, and code execution. Convenient, but left unattended it invites runaways and cost overruns. Here is a design for running it safely as a background task.
I Started the Ad SDK Before Asking for ATT — the Init-Order Bug That Quietly Lowered First-Session eCPM
When I rolled AdMob mediation out to four iOS apps, only the very first session showed weaker ad revenue. The cause was the order between the ATT prompt and MobileAds initialization. Here is why the order matters, plus how I had Antigravity audit the init sequence across all four apps.
Vetting AI Studio's Native Android Code Before It Reaches Your Live App
AI Studio's native Android vibe coding produces working screens at startling speed. But before it goes into a live app, it needs its own vetting. Here is a pre-merge review design for generated Kotlin.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Migrating Wallpaper Apps to Mandatory Edge-to-Edge on targetSdk 36 with Antigravity
The moment I bumped targetSdk to 36 (Android 16), the toolbar in my wallpaper preview screen slid under the status bar clock. Here is a working memo on handling the now-unavoidable edge-to-edge enforcement across several apps with Antigravity's agent.
Unifying In-App Review Prompts Across 5 Apps with Antigravity Editor — A Few Days of Notes
Notes from a few days spent unifying SKStoreReviewController trigger conditions across five iOS wallpaper apps I run as an indie developer, using Antigravity Editor's multi-file editing to bring the logic onto one shared coordinator.
One Month Splitting Antigravity's Inline Edit and Agent Mode Across Four Wallpaper Apps
A month of notes from running Antigravity's Inline Edit and Agent Mode across four production wallpaper apps — with real counts, the decision rule I wrote into AGENTS.md, a one-pass dSYM fix, and how credit cost factors in.
Phasing AppLovin MAX into iOS with Antigravity Editor: A Four-Week Implementation Record
A four-week record of phasing AppLovin MAX into four wallpaper apps that had been running on AdMob alone. How I split the work between Antigravity Editor's Inline Edit and Agent Mode, settled the SDK initialization order, and designed the revenue verification gates—written with real code and the decisions behind each step.
Running iOS Push Notification A/B Tests Weekly With Antigravity Agent — A Self-Improving Loop For Copy, Timing, And Segments
Drawing on years of indie iOS development across wallpaper and wellness apps, this article walks through a weekly Push Notification A/B loop powered by Antigravity Agent — the FCM bridge, BigQuery measurement, segment design, a D7 retention recovery story, and a dependency-free simulation that made me cut the number of arms and add a significance rule before declaring any winner.
Tuning AdMob Placements at Runtime with Firebase Remote Config and an Antigravity Agent
A practical look at how I combine Firebase Remote Config with an Antigravity Agent to nudge AdMob placements while the app is live, drawn from years of running wallpaper apps as an indie developer.
Two Weeks of Letting Antigravity Translate Localizable.xcstrings Across 8 Languages
A two-week log of letting Antigravity draft 8-language translations for new keys added to Localizable.xcstrings. What I delegated, what I kept under my own judgment, the unexpected behaviors, and how I reconciled drafts against the existing translation corpus.
Android Theme Switch White Screen: Replacing Activity.recreate() with AppRestarter
A real fix for the white screen that appears when switching themes on Android. Covers why Activity.recreate() causes the issue, how AppRestarter.safeRestart() eliminates it, and a ModalGate pattern to prevent dialog conflicts after restart.
When Antigravity Fixes a RecyclerView Crash but Breaks Something Else — The Defensive Copy Solution
If RecyclerView IndexOutOfBoundsExceptions keep coming back after Antigravity's fix, shared list reference is likely the cause. Here's how to prompt Antigravity for the right fix and encode the pattern in AGENTS.md.
Where Is the Source of Truth for Billing State? Designing the ad-free Pattern with Antigravity
A billing-state design pattern proven in a long-running indie Android app: centralizing state with AdFreeManager, BillingManager, and ModalGate — designed and implemented using Antigravity IDE.
Surviving New iPhone Resolution Support with Antigravity — 29 Changes in DefineManager.h, One Honest Recap
A real-world account of updating Beautiful HD Wallpapers and three other iOS apps for iPhone Air (420×912) and iPhone 17 Pro (402×874). What Antigravity caught, what it missed, and the two-step prompt pattern that made the 29-edit process manageable.
RecyclerView IndexOutOfBoundsException: The Defensive Copy Fix Antigravity Initially Missed
After 50+ RecyclerView crashes appeared in 28 days post-release, here's how I used Antigravity to debug the issue — and why the first suggestion missed the real cause.
Automating App Store Review Replies with Antigravity — Multilingual Workflow for a 50M-Download App
Real-world experience semi-automating App Store review replies across 8+ languages using Antigravity. Covers 30 reviews per session, the hidden 8-second rate limit, and tone guidelines that actually work.
Firebase Apple SDK Migration from CocoaPods to SPM: 3 Pitfalls from 4 Real Apps
With CocoaPods distribution ending in October 2026, here are the real pitfalls encountered migrating Firebase Apple SDK to Swift Package Manager across 4 iOS apps — and how Antigravity helped diagnose them.
Library Added via Antigravity Crashes Only on Older Android Devices: The coreLibraryDesugaring Blind Spot
When a library added through Antigravity starts crashing only on Android 6/7 devices, the culprit is often missing coreLibraryDesugaring config. Learn how to diagnose and fix it from a real-world case.
Delegating iOS App Maintenance to Antigravity — An Honest 6-Week Report
A real-world account of using Antigravity for maintenance work on Beautiful HD Wallpapers (50M+ downloads). What worked, what didn't, and what the honest conclusion is for solo developers.
I Let Antigravity Take Over My 10-Year-Old Wallpaper App — What Happened Next Surprised Me
A real case study of handing a wallpaper app's Swift codebase — built since 2014 — to Antigravity's Background Agent. What it got right, what it missed, and what that taught me about AI-assisted refactoring.
CORS Errors Blocking API Tests in Antigravity — How to Diagnose and Fix by Environment
Fix CORS errors that block API testing in Antigravity development. Learn how to identify the root cause by environment — Next.js, Cloudflare Workers, Supabase — and craft precise prompts so Antigravity generates the right fix.
The Day Android Graduated from Being an OS — Connecting My Wallpaper App to Gemini Intelligence via AppFunctions API
An implementation record of connecting Android apps to Gemini Intelligence via AppFunctions API, tested on a 50M-download wallpaper app portfolio. Covers design decisions, Kotlin implementation, and Antigravity workflow.
Implementing Google ML Kit with Antigravity: What the Docs Don't Tell You
A practical guide to integrating Google ML Kit into iOS and Android apps with Antigravity. Covers text recognition, face detection, the Xcode 15 SPM bug workaround, and honest notes on where AI assistance helps — and doesn't.
Three Decisions I Kept for Myself When Antigravity Maintained My Older Apps
How far could Antigravity maintain my long-running wallpaper and wellness apps? A field log of crash fixes and a staged rollout, with the lines I drew between delegated and retained work, and how I write context notes.
Antigravity Meets UE5 Blueprints — Why AI Can't Read .uasset and How I Settled on a Workflow That Works
Antigravity cannot read UE5's binary Blueprint files directly. Here's the hybrid C++ / Python / Blueprint workflow I landed on after building two indie prototypes, plus the patterns I had to abandon.
Running a Solo AI Studio with Antigravity × Google AI — Automating Every Stage of App Development as One Developer
How to combine Antigravity 2.0 and Antigravity CLI with Stitch and Veo 3 into a pipeline that takes an app from design through implementation, testing, asset generation, and App Store submission, driven by one developer. Covers where to delegate to agents and the operational pitfalls.
Automate Unity CI/CD with Antigravity and GitHub Actions: A Practical Guide
Set up a complete Unity CI/CD pipeline using GameCI, GitHub Actions, and Antigravity — from automated testing to TestFlight uploads. A practical guide for indie developers who want to stop building manually.