Skip to content

The 'launchdarkly_flutter_client_sdk' channel sent a message from native to Flutter on a non-platform thread.  #59

@hongfeiyang

Description

@hongfeiyang

Is this a support request?
no

Describe the bug
[ERROR:flutter/shell/common/shell.cc(1015)] The 'launchdarkly_flutter_client_sdk' channel sent a message from native to Flutter on a non-platform thread. Platform channel messages must be sent on the platform thread. Failure to do so may result in data loss or crashes, and must be fixed in the plugin or application code creating that channel.

To reproduce
just include launchdarkly_flutter_client_sdk in your project

Expected behavior
silence the warning

Logs
If applicable, add any log output related to your problem.

SDK version

  - LaunchDarkly (9.1.1):
    - LaunchDarkly/Core (= 9.1.1)
  - LaunchDarkly/Core (9.1.1):
    - LDSwiftEventSource (= 3.1.1)
  - launchdarkly_flutter_client_sdk (0.0.1):
    - Flutter
    - LaunchDarkly (= 9.1.1)

Language version, developer tools
Flutter 3.16.4, launch darkly 3.0.1

OS/platform
macOS latest as of today, XCode 15.1

Additional context
Add any other context about the problem here.

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