All Articles
Debugging Gemini API Calls from Next.js App Router Server Actions
Practical solutions for the most common errors when calling Gemini API from Next.js App Router Server Actions: undefined env vars, broken streaming, and deploy-only failures.
Testing Gemini Vision for Wallpaper Auto-Classification — Real Accuracy Numbers and Pitfalls
A hands-on record of automating wallpaper image classification with Gemini Vision — moving from 67% to 87% accuracy, and using a confidence threshold to cut human review down to 15% of the batch.
Automating Firebase Crashlytics Analysis with Gemini API — A Real-World Implementation from an Indie App
A real-world implementation record of automating Firebase Crashlytics log analysis with Gemini API, validated during development of an indie wallpaper app (v2.1.0). Includes Before/After code for a RecyclerView crash fix and a production cost breakdown.
Making Gemini API 12x Faster with asyncio: Lessons from Multilingual App Store Generation
A real-world account of parallelizing Gemini API calls with asyncio during the iOS update of Beautiful HD Wallpapers. Learn how asyncio.gather() with rate limit handling cut multilingual generation from 13 minutes to 65 seconds.
3 Gemini API Embedding Errors I Hit Building a Wallpaper App — and How I Fixed Them
Three real Gemini API Embedding errors encountered while building an auto-categorization feature for a wallpaper app with 50M+ downloads: INVALID_ARGUMENT, RESOURCE_EXHAUSTED 429, and poor RAG precision — with working code fixes.
I Rebuilt My Wallpaper App's Recommendation Engine Using Gemini Function Calling
A hands-on account of integrating Gemini Function Calling into a wallpaper app with 50M+ downloads. Covers schema design, cost estimation, and how I compared Gemini against Claude and GPT-4o for this use case.
Building an AI Chat App with Expo and Gemini API: From First Commit to App Store Approval
An implementation record of shipping an Expo + Gemini API chat app through both store reviews — measured streaming latency, the chunk-boundary JSON bug, image payload limits, cost ceilings, and the pre-release checklist I run.
Integrating Gemini TTS API into SwiftUI — Two AVAudioEngine Pitfalls I Hit
A practical guide to playing Gemini TTS API's raw PCM audio in SwiftUI using AVAudioEngine. Covers the two hidden pitfalls around PCM format handling and AVAudioSession timing that the official docs don't mention.
3 Gemini Code Execution Errors and How to Fix Them — Import Errors, Timeouts, and Empty Outputs
Fix the most common Gemini API Code Execution issues: missing tool configuration, unsupported library imports, and timeout errors. Includes working code examples for each fix.
3 Months Using Gemini API as My App Backend — An Indie Developer's Honest Review
After 12 years of indie development and 50M+ app downloads, I adopted Gemini API as the backbone for a new app. Here's what the costs, latency, and quality actually looked like after three months.
Controlling thinking_budget in Gemini 2.5 Pro — Cut Costs by 70% Without Sacrificing Reasoning Quality
Leaving thinking_budget unset in Gemini 2.5 Pro leads to unexpected costs. This guide covers task-level budget design, dynamic control, and production monitoring with working Python code.
Building an AdMob Revenue Anomaly Detector with Gemini API Function Calling
Learn how to build an automatic AdMob revenue anomaly detection system using Gemini API Function Calling — with real Python code, practical tips from 10+ years of indie app development, and Slack alerting integration.