You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the v8.17.0 version of the plugin to implement the background positioning and activation function, but when I stopped the background service, two problems occurred:
Problem 1: Another IM plugin reported the following error
E/flutter (21410): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method markC2CMessageAsRead on channel tencent_cloud_chat_sdk)
I resolved the issue by modifying the source code in ForegroundTask. kt of this plugin and logging out the FlutterEngine. destroy() method.
Problem 2: The other localization plugin flutter-bmflocation is unable to receive localization callbacks.
This positioning callback is valid after the front-end service is initially enabled. Once the front-end service is turned off, it is no longer available, and even if the positioning plugin is reinitiated, it cannot receive callbacks again.
Now, I am troubled by the second question and hope to get a solution as soon as possible.
The text was updated successfully, but these errors were encountered:
TT-xiaoseven
changed the title
【】Error while stopping the front-end service
Error while stopping the front-end service
Dec 13, 2024
I am using the v8.17.0 version of the plugin to implement the background positioning and activation function, but when I stopped the background service, two problems occurred:
Problem 1: Another IM plugin reported the following error
E/flutter (21410): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: MissingPluginException(No implementation found for method markC2CMessageAsRead on channel tencent_cloud_chat_sdk)
I resolved the issue by modifying the source code in ForegroundTask. kt of this plugin and logging out the FlutterEngine. destroy() method.
Problem 2: The other localization plugin flutter-bmflocation is unable to receive localization callbacks.
This positioning callback is valid after the front-end service is initially enabled. Once the front-end service is turned off, it is no longer available, and even if the positioning plugin is reinitiated, it cannot receive callbacks again.
Now, I am troubled by the second question and hope to get a solution as soon as possible.
The text was updated successfully, but these errors were encountered: