We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ea5058 commit 73c3bbdCopy full SHA for 73c3bbd
1 file changed
workmanager_android/android/src/main/kotlin/dev/fluttercommunity/workmanager/BackgroundWorker.kt
@@ -93,7 +93,8 @@ class BackgroundWorker(
93
94
if (callbackInfo == null) {
95
Log.e(TAG, "Failed to resolve Dart callback for handle $callbackHandle.")
96
- return Result.failure()
+ completer?.set(Result.failure())
97
+ return@ensureInitializationCompleteAsync
98
}
99
100
val dartBundlePath = flutterLoader.findAppBundlePath()
0 commit comments