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 initialize on channel be.tramckrijte.workmanager/foreground_channel_work_manager #225
Comments
any update on this? |
the only update I can provide is that I tried to run it on iPhone 8 physical device and got the same error. Example project has buttons for one off tasks and periodic tasks and they are all disabled. How can you claim that you support iOS? |
Same Here - Anyone found a workaround. |
Same problem : workmanager is not found by xcode, pod missing |
same problem |
Same problem. Does this plugin working for iOS? |
same problem in ios app. |
Are there any other similar packages? |
yes, shared_preferences use in my project. |
Same issues too, is this repo still active? |
Strange, I did try that but didn't seem to work. Ended up switching to: |
Manttons solution worked for me. Thanks! |
Any update Here? |
Please try updating to the latest WorkManager 0.4.1 version which includes fixes for iOS integration. If you still encounter new issues, please open specific separate tickets. |
I stopped using the the workmanager plugin and moved to flutter_isolate.
Best regards
Am 24.02.2022 um 06:44 schrieb Hamid Musayev ***@***.******@***.***>>:
any update?
—
Reply to this email directly, view it on GitHub<#225 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AFZQ54D623PSHG52OCVG323U4XATZANCNFSM4S4AXF7A>.
Triage notifications on the go with GitHub Mobile for iOS<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675> or Android<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you commented.Message ID: ***@***.***>
|
I changed shared_preferences plugin with flutter_secure_storage and it worked. Thanks |
Version
Describe the error
[VERBOSE-2:ui_dart_state.cc(177)] Unhandled Exception: MissingPluginException(No implementation found for method initialize on channel be.tramckrijte.workmanager/foreground_channel_work_manager)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:157:7)
#1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:332:12)
#2 Workmanager.initialize (package:workmanager/src/workmanager.dart:100:30)
#3 _MyAppState.build. (package:workmanager_example/main.dart:87:33)
Optionally provide the least amount of code that shows this behaviour. Ideally in the
sample
app.Above error comes from your example project. I launched your project in my iOS simulator. As soon as I clicked button "Start the Flutter background service" I got above error. I'd had the same problem when I tried to add workmanager package my Flutter project after following all instructions. Please let me know how to make this work.
Output of
flutter doctor -v
[✓] Flutter (Channel stable, 1.22.0, on Mac OS X 10.15.5 19F101, locale en-CA)
• Flutter version 1.22.0 at /Users/borismisic/Developer/SDKs/flutter
• Framework revision d408d302e2 (3 weeks ago), 2020-09-29 11:49:17 -0700
• Engine revision 5babba6c4d
• Dart version 2.10.0
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/borismisic/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.6, Build version 11E708
• CocoaPods version 1.9.3
[✓] Android Studio (version 4.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 50.0.1
• Dart plugin version 193.7547
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
[✓] Connected device (4 available)
• Android SDK built for x86 (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• iPhone 8 (mobile) • 86CECABE-4A8C-4622-9789-56F866DD0B7D • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
• iPhone 11 (mobile) • 265C0D76-578B-4365-87E7-B04FFE5B8834 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
• iPhone SE (2nd generation) (mobile) • A1B22118-9D9A-4FA2-B6B7-ECA34922CCAF • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-6 (simulator)
! Error: Boris’s iPhone is not connected. Xcode will continue when Boris’s iPhone is connected. (code -13)
• No issues found!
The text was updated successfully, but these errors were encountered: