Skip to content

Lab № 7#7

Merged
Art-Invis merged 25 commits into
mainfrom
Lab-7
Apr 9, 2026
Merged

Lab № 7#7
Art-Invis merged 25 commits into
mainfrom
Lab-7

Conversation

@Art-Invis
Copy link
Copy Markdown
Owner

@Art-Invis Art-Invis commented Apr 4, 2026

Updated Demo of the IoT App for Lab 7 ⤵️
https://drive.google.com/file/d/1vBFf_1IJw6LLZwsjX4tATivqt3EHX84y/view?usp=drive_link

🔌 Native Plugin Repository (iot_flashlight) ⤵️
https://github.com/Art-Invis/iot_flashlight_plugin

🌐 New Features & Native Integration:

  • Custom Native Plugin (MethodChannel): Developed an independent iot_flashlight plugin (Dart/Kotlin) to natively control the Android hardware flash.
  • Git URL Dependency: Integrated the standalone plugin into the main app via a direct GitHub link in pubspec.yaml.
  • Hardware Override Easter Egg: Added a hidden feature where a rapid 5-tap sequence on the Profile Screen toggles the physical flashlight.
  • Reactive UI & Animations: Built an EmergencyOverrideWrapper that smoothly transitions the app into a "Red Alert" theme when the flashlight is activated.
  • Platform Safety (iOS Fallback): Implemented strict error handling. Unsupported platforms (e.g., iOS) safely catch exceptions and show a warning dialog instead of crashing.
  • Telemetry Logging: Hardware flashlight toggles are automatically logged and synced to the cloud backend via ApiService.

Art-Invis added 25 commits April 1, 2026 22:48
@Art-Invis Art-Invis merged commit f0fc73e into main Apr 9, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant