Skip to content

Update work-runtime to at least 2.11.2 to fix connectivity issue in Android 15 #666

@m-rm

Description

@m-rm

When running flutter_workmanager on Android 15 (and 16) the following exception happens when making an API call in a background task: _ClientSocketException (ClientException with SocketException: Failed host lookup: 'google.com' (OS Error: No address associated with hostname, errno = 7), uri=google.com)

This does not happen all the time, but still a lot. The reason is a bug in work-runtime for Android, documented here: https://issuetracker.google.com/u/0/issues/445324855?pli=1

flutter_workmanager currently uses version 2.10.2, with is affected by this bug. It is fixed since 2.11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions