Skip to content

MissingPluginException(No implementation found for method serviceEnabled on channel lyokone/location) #1026

@iamvikashtiwari

Description

@iamvikashtiwari

I am encountering a black screen immediately after launching my app when using the location plugin version 4.4.0 with Flutter version 3.7.12. I am unable to update Flutter at the moment due to project constraints. The issue occurs consistently, and the logs show the following errors:

**

MissingPluginException(No implementation found for method serviceEnabled on channel lyokone/location)
PlatformException(channel-error, Unable to establish connection on channel., null, null)

**

I have ensured that WidgetsFlutterBinding.ensureInitialized() is called before any plugin usage, and I have tried cleaning the project, running flutter pub get, and rebuilding the app. Despite these steps, the problem persists. This seems related to plugin registration, possibly due to compatibility with older Flutter versions. I would appreciate it if this could be looked into, or if there's a workaround compatible with Flutter 3.7.12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions