Skip to content

[iOS] Flutter app: Alexa voice command + Fall Detection not working in background/terminated state #176193

@poojasalunkhe671

Description

@poojasalunkhe671

Steps to reproduce

Create a Flutter app with:

Alexa voice command (“Emergency Call”) → should redirect to CallerInterfacePage.

Fall detection service → should monitor falls and, on detection:

Play alarm sound.

Show notification.

On tapping notification → open FallDetectionPage.

Run on real device:

iPhone 13 Pro, iOS 17.1.2

Xcode 16.2, macOS 15.3.2

Behavior observed:

Foreground: Both Alexa voice command and Fall Detection work correctly.

Background / Terminated (kill state):

Alexa voice command not detected.

Fall Detection not triggering alarm/notification.

Expected results

Alexa voice command (“Emergency Call”) should trigger in all app states (foreground, background, terminated) and redirect correctly.

Fall Detection should run in background/terminated state, play alarm, send actionable notification, and redirect user to FallDetectionPage.

Actual results

Works only in foreground.

Background/terminated state events are not handled.

Code sample

Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    r: invalidIssue is closed as not valid

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions