-
Notifications
You must be signed in to change notification settings - Fork 164
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
MissingPluginException(No implementation found for method[BUG] (Application killed time) #136
Comments
You must not ignore the issue template. It’s not optional. Edit your issue to provide the information: Your Environment
To Reproduce Debug logs
Additional context |
Plugin version: 0.3.2 [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2) • No issues found! To Reproduce
/////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////// //_getWaterHistoryRecordSync(); BackgroundFetch.finish(); } } Android: $ adb logcat 07-05 22:10:03.037 1942 1942 D TSBackgroundFetch: - finish |
Your issue is with this:
This is not related to |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open. |
Closing this issue after a prolonged period of inactivity. Fell free to reopen this issue, if this still affecting you. |
@christocracy I seems to be facing same predicament. I want to invoke a method on native side(android) through method channel within the headless callback. It seems to work fine until app isn't terminated but as it is terminated MissingPluginException(No implementation found for method) exception is thrown. It seems like we need to register our method channel with your plugin, so that it's discoverable when app is started in headless fashion. |
The /example app does that with the shared_preferences plugin:
|
I understand that. I am using shared_preferences plugin in callback as well, but I want to invoke a method(it isn't part of a separate plugin) on android side through methodChannel. Trying to do that throws MissingPluginException. Here is a demo app to demonstrate the issue: https://github.com/bilal-codingkey/flutter_background_fetch_demo |
You've implemented your custom The Your only hope is to implement your custom |
@christocracy Thanks for explaining the reason and providing the suggestion. For anyone who come across this later. You can move your native code of |
I used method channel and event channel for data get from native side(Android/Ios) . I am using background service for getting continues data. When my app terminate that's time showing error.
Unhandled Exception: MissingPluginException(No implementation found for method scanStartDevic
e on channel 'exampl/channelname/bluttoth')
App working perfectly when is open.
Please can you find solution?
The text was updated successfully, but these errors were encountered: