Skip to content

location and geolocator plugins don't work with android_alarm_manager #25912

@alexandranb

Description

@alexandranb

Hello,

When I try to use android_alarm_manager with location or geolocator, I get the folllowing error

I/AlarmService(32723): Starting AlarmService...
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32723): Failed to handle method call
E/MethodChannel#plugins.flutter.io/android_alarm_manager(32723): java.lang.IllegalStateException: registrar.activity() must not be null

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: crashStack traces logged to the consolep: android_alarm_managerThe Android background execution pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions