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 have a native logic that handles notifications in the Android platform and I wish to use this implementation with Workmanager, but whenever the execution runs I only get this error: Error: MissingPluginException MissingPluginException(No implementation found for method sendNotification on channel flutter_notification_channel)
I am unaware of how I can register my native plugin with Workmanager. I see that it starts a new Flutter Engine, but that does not register my Native implementation. My native implementation is correct as I have tested that out independently. I am unaware as to how this can work in the new Android v2 bindings.
Describe the error
I have a native logic that handles notifications in the Android platform and I wish to use this implementation with Workmanager, but whenever the execution runs I only get this error:
Error: MissingPluginException MissingPluginException(No implementation found for method sendNotification on channel flutter_notification_channel)
I am unaware of how I can register my native plugin with Workmanager. I see that it starts a new Flutter Engine, but that does not register my Native implementation. My native implementation is correct as I have tested that out independently. I am unaware as to how this can work in the new Android v2 bindings.
Code sample
NotficiationPlugin.kt
MainActivity.kt
WorkManager.dart
main.dart
Version
The text was updated successfully, but these errors were encountered: