Created by: KrugarValdes
Client-Side:
- Added logic to handle kiosk mode commands (enable/disable) received via FCM.
- Implemented a system to check if the command targets a specific device by comparing the device's ANDROID_ID with the deviceId in the FCM message.
- Integrated kiosk mode management into the app's lifecycle, ensuring commands are processed reliably during activity start/stop.
Backend-Side:
- Created a database table (devices) to store device information (ID, deviceId, tag).
- Added REST API endpoints (/api/v1/kiosk/enable, /api/v1/kiosk/disable) to send kiosk toggle commands to specific devices or all devices.
- Implemented services and repositories to manage devices and validate device IDs.
- Configured FCM to send targeted notifications with optional deviceId for specific devices.
- Updated configuration to include new controllers for API documentation.