Automating Mobile Event Verification
Article Summary
Swiggy was drowning in analytics chaos. Thousands of events per session, scattered specs across docs, and manual verification eating up engineering time.
The Swiggy mobile team built ARD Automator, an internal tool that transforms how they verify mobile analytics events. Using Kotlin Multiplatform and Git-based contracts, they automated what was previously a fragmented manual process.
Key Takeaways
- 66% reduction in QA regression time through automated event verification
- Git-based event contracts with complex validators (regex, JSON, nested objects)
- Built with Kotlin Multiplatform: one codebase for Mac, Windows, and CLI
- Detected 12 bugs including parity issues and missing events across platforms
- Supports thousands of events with exhaustive list and JSON object validators
Swiggy automated mobile event verification with a cross-platform tool that cut QA time by 66% and caught critical analytics bugs that manual testing missed.
About This Article
Swiggy's analytics workflow had no single source of truth. Specifications were scattered across documents with no change history, making it impossible to keep Android and iOS platforms consistent.
Anik Raj C's team built machine-readable event contracts in Git. These contracts support complex validators like regex patterns, exhaustive lists, and nested JSON objects. This enabled automated verification without needing manual QA.
The tool found gaps in the Ads Analytics SDK and helped Swiggy's Cx Android, iOS, Dineout, Instamart, Minis, and partner apps adopt high event coverage within months of launch.