Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

While run in android getting error #1

Open
vipinsaini0 opened this issue May 6, 2024 · 1 comment
Open

While run in android getting error #1

vipinsaini0 opened this issue May 6, 2024 · 1 comment

Comments

@vipinsaini0
Copy link

 MissingPluginException(No implementation found for method startLiveActivity on channel com.example.flutter_application_la/liveActivitiesManager)
      #0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
      <asynchronous suspension>
      #1      MethodChannel.invokeListMethod (package:flutter/src/services/platform_channel.dart:520:35)
      <asynchronous suspension>
      #2      LiveActivitiesManager.startLiveActivity (package:flutter_application_la/live_actiivties_manager.dart:29:7)
      <asynchronous suspension>
  ____
  
  and if run in iOS, activity is adding but some error showing in logs:
[ERROR:flutter/shell/common/shell.cc(1038)] The 'com.example.flutter_application_la/liveActivitiesCallback' 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.
See https://docs.flutter.dev/platform-integration/platform-channels#channels-and-platform-threading for more information.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(404, The operation couldn’t be completed. (OneSignal Error error 404.), null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:651:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
<asynchronous suspension>
#2      OneSignalLiveActivities.enterLiveActivity (package:onesignal_flutter/src/liveactivities.dart:13:14)
<asynchronous suspension>
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(404, The operation couldn’t be completed. (OneSignal Error error 404.), null, null)
#0      StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:651:7)
#1      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
<asynchronous suspension>
#2      OneSignalLiveActivities.enterLiveActivity (package:onesignal_flutter/src/liveactivities.dart:13:14)
<asynchronous suspension>
@vipinsaini0
Copy link
Author

Hey @brismithers any update on this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant