Added
- 🌐 REST API with 43 Endpoints: Full HTTP API for remote control and Home Assistant integration
- Device info: Battery, storage, memory, sensors, screen state, WiFi
- Remote control: Navigate to URL, reload, screenshot, JavaScript injection
- Audio control: Play URL, stop playback, beep sound
- Toast messages and TTS speech
- Authentication via configurable password
- Configurable port (default: 8080)
- 🔄 URL Rotation: Automatically cycle through multiple URLs
- Add unlimited URLs to rotation list
- Configurable interval (10 seconds to 1 hour)
- Start/stop rotation anytime
- Ideal for digital signage and dashboards
- 📅 URL Planner: Schedule different URLs for specific times
- Create time-based schedules for any day of the week
- Automatic URL switching at scheduled times
- Perfect for displaying different content throughout the day
- Visual schedule management with easy editing
- 🎨 Complete Settings UI Redesign: Modern 4-tab interface
- General: URL, display mode, external app selection
- Display: Screensaver, status bar, URL rotation, URL planner
- Security: Lock mode, PIN, return button position, overlay settings
- Advanced: REST API, in-app updates, device owner controls
- Cleaner organization with categorized settings
- Improved user experience with consistent styling
Changed
- 📍 Configurable Return Button Position: Move the secret button to any corner
- Options: Bottom-right (default), bottom-left, top-right, top-left
- Prevents conflicts with website/app UI elements
- Position synced between WebView and External App modes
Technical
- Added NanoHTTPD 2.3.1 server for REST API (
KioskHttpServer.kt) - New
HttpServerModule.ktnative module with React Native bridge - Implemented
AudioTrackfor 440Hz sine wave beep generation onSTREAM_MUSIC - Added
ApiSettingsSection.tsxcomponent for API configuration UI - Created
UrlRotationSection.tsxandUrlPlannerSection.tsxcomponents - New tab components:
GeneralTab.tsx,DisplayTab.tsx,SecurityTab.tsx,AdvancedTab.tsx - Added storage keys:
@api_enabled,@api_port,@api_password,@url_rotation_*,@url_planner_* - Added
@overlay_button_positionfor configurable return button placement - Comprehensive API documentation in
docs/REST_API.md - Full Home Assistant integration examples with REST commands and sensors