XML onClick handlers require a View parameter. Missing parameter
was causing crash when triple-tapping admin area.
Fixes admin settings access crash on tap.
- ProgressBar in activity_main.xml (top of screen)
- LoadingProgress.kt utility with WebChromeClient
- Shows during page load, hides on complete
- Smooth UX with slight hide delay
Integration: webView.setupProgressBar(binding.progressBar)
- error.html: User-friendly error page with retry button
- ErrorHandler.kt: Utility for handling WebView errors
- ErrorHandlerTest.kt: Unit tests for error handling
Shows friendly error page on network failures instead of blank/broken page.
Includes error code display and one-tap retry.
- Build and test on push/PR to main
- Run unit tests
- Build debug APK
- Run Android lint (non-blocking)
- Upload artifacts (APK + lint reports)
Note: Requires gradle wrapper to be generated with 'gradle wrapper'
Comprehensive test cases for:
- Core functionality (fullscreen, webview, whitelist)
- Admin access and settings
- Idle timeout behavior
- Boot persistence
- Edge cases and security tests
Created by Margaret 🌸
Co-authored-by: Margaret <margaret@hobbs.farm>