Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Android: alarm cues are silent — AndroidAlarmService is a no-op

Abierto
#614 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
47/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
android, csharp

Línea de trabajo

Start with src/LageBuch.App.Android/Services/AndroidAlarmService.cs and compare its no-op Play method with SystemAlarmService.VoiceAssets to identify the four clips and playback expectations. Check Lagebuch.App.csproj for how the WAV files are bundled, then inspect #603 for the planned playback failure reporting on IAlarmService. Done means Android plays all four cues sequentially, surfaces failures consistently, and has a test that catches any missing bundled clip.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug

Problem

On Android, AndroidAlarmService.Play is an empty no-op (src/LageBuch.App.Android/Services/AndroidAlarmService.cs). None of the spoken cues sound on a tablet or phone:

  • „Rückmeldung an die Leitstelle“ (ILS reminder)
  • „Aufgabe fällig“
  • „Druckabfrage fällig“
  • „Rückzugsalarm“ — repeated until acknowledged

The class comment calls a real implementation "an explicit follow-up", but there was no ticket for it. A Lagebuchführer running Atemschutzüberwachung on a tablet gets the red banner and nothing else.

Expected

  • AndroidAlarmService plays the same four voice clips as the desktop (SystemAlarmService.VoiceAssets), one after another rather than overlapping.
  • Use the platform's own API (SoundPool or MediaPlayer), no new dependency.
  • Play with AudioAttributes.USAGE_ALARM, so the Rückzugsalarm is still audible when the device is on silent or the media volume is down. Whether every cue or only the Atemschutz cues should use the alarm stream is worth a decision in the PR.
  • The clips are currently bundled only by LageBuch.App.csproj (Assets/*.wav); the Android head needs them too.

Notes

  • Related: #603 (playback failures are silent). Whatever reporting #603 adds to IAlarmService should be implemented here as well, so a failing Android player surfaces the same way.
  • SystemAlarmServiceTests.Every_alarm_sound_has_a_bundled_voice_clip should get an Android counterpart, so a missing clip cannot ship a mute alarm.
Lenguaje dominante
C#
Estrellas
1
Forks
3
Merge medio
4 h 49 min
PR fusionados (30 d)
177

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CodeForFire/lagebuch

Todos los issues de CodeForFire/lagebuch

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.