wake-alarm/phone_app/android
Krzysztof kuhy Rudnicki a845cac883 Remove the flash challenge; revert the MethodChannel split that regressed NFC
Two things, one of them an undo of my own change.

The flash challenge is gone from the phone's rotation. It hides the code after
kDismissFlashSeconds, and on the phone that is unsolvable in practice: the ring
screen is reached by walking to another room and tapping a tag, so the code has
already vanished by the time the user is looking at it. Reported from the phone
as "invisible - impossible to actually do". Every challenge the alarm shows now
stays on screen until it is answered, and a test asserts next() never returns
one that hides itself. The constructor stays for the PC half's parity tests;
nothing routes to it.

The two-channel split is reverted. I introduced it to fix a tag reaching Kotlin
but not Dart, and pointed the push channel at the call channel — which broke
NFC *and* the step counter, both of which had been confirmed working on the
phone one build earlier. The user caught it: "they worked previously so your
changes regressed it". The split was a theory that was never shown to be
necessary; the single channel from 08b44b4 is restored unchanged.

Lesson worth keeping: when hardware has just confirmed a path works, the next
change should be the smallest possible delta on top of that exact state, not a
restructure bundled with a fix.

flutter test: 70 pass. dart analyze lib/ test/: clean.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EckWmyfetYq3Mi8MAnUudh
2026-08-27 22:45:35 +02:00
..
app Remove the flash challenge; revert the MethodChannel split that regressed NFC 2026-08-27 22:45:35 +02:00
gradle/wrapper Add wake_alarm_sync phone-side Flutter companion app 2026-07-10 23:16:11 +02:00
.gitignore Add wake_alarm_sync phone-side Flutter companion app 2026-07-10 23:16:11 +02:00
build.gradle.kts Add wake_alarm_sync phone-side Flutter companion app 2026-07-10 23:16:11 +02:00
gradle.properties Add wake_alarm_sync phone-side Flutter companion app 2026-07-10 23:16:11 +02:00
settings.gradle.kts Add wake_alarm_sync phone-side Flutter companion app 2026-07-10 23:16:11 +02:00