Android Networking
Configures robust Android HTTP clients with safe serialization, comprehensive timeout handling, resilient error recovery, and seamless authentication.
The Android Networking skill equips Claude with production-grade architectural rules and best practices for managing HTTP communication in Android apps using Retrofit, OkHttp, and Ktor. It prevents common pitfalls such as infinite spinner hangs via whole-call timeouts, silent app crashes from breaking server changes through tolerant JSON parsing and asymmetric nullability, and runaway authentication loops during token refresh. Use this skill when configuring app-wide network clients, building API services, and implementing resilient, retry-safe networking layers.
주요 기능
01Ensures resilient JSON parsing that tolerates unknown server fields without breaking
02Implements safe retry mechanisms with backoff, jitter, and idempotency awareness
03Manages token refresh workflows to prevent infinite auth loops and concurrent refresh races
04Establishes safe error categorization distinguishing between offline, timeout, and 4xx failures
05Configures singleton HTTP clients with enforced whole-call timeouts (callTimeout)
060 GitHub stars
사용 사례
01Implementing automatic OAuth token refresh interceptors with deduplication and loop guards
02Setting up shared OkHttp or Ktor network clients and Retrofit API services in Android projects
03Designing resilient network models and JSON serializers that gracefully handle server-side schema changes