Repository navigation
Enterprise-Grade Android Networking Library
🎯 What is NetworkingKit?
NetworkingKit simplifies enterprise Android networking with zero-config authentication, multi-gateway architecture, and universal API caching - all
without requiring a database.
✨ Key Features
🏢 Multi-Gateway Architecture
Main Gateway - Standard API operations
Secure Gateway - Card transactions & sensitive operations
Auth Gateway - Authentication & token management
Separate base URLs for different security requirements
🔐 Zero-Config Authentication
Automatic access/refresh token management
Thread-safe session handling
Built-in retry logic for auth failures
No manual token handling required in your app code
💾 Universal API Caching (No Database Required!)
Cache any HTTP method (GET, POST, PUT, PATCH)
Custom cache duration via simple headers
No Room DB dependency needed
Intelligent cache management with offline support
🛡️ Security by Default
Built-in SSL certificate validation
Certificate transparency without manual SSL pinning
Production-ready security features out of the box
🌐 Smart Connectivity Detection
WiFi, Cellular, VPN detection
Built-in network connectivity checks
Automatic connectivity validation per API call
Custom exceptions: ClientHttpException, ServerHttpException, NoConnectivityException
Automatic API exception logging with structured error tracking
JSON error response parsing (error codes & messages)
Event-based error logging for analytics integration
🔍 Built-in Debugging Tools (Debug Builds Only)
Flipper - Facebook's debugging platform
Chucker - Visual network inspector
HTTP Logging - Detailed request/response logs
Mock Interceptor - JSON-based API mocking
All debug features automatically disabled in release builds
🧪 Easy Testing
Mock API responses from JSON resources
Easy backend API testing without server changes
Debug-only mock file serving