fluttercommunity / fluttercommunity/flutter_downloader

'failed to set registerPlugins' in integration with flutter module

Open
#955 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Kotlin
Stars
940
Forks
561
Avg merge
1h 18m
Merged PRs (30d)
1

Description

Hello, I tried to use the documentation configuration for the appDelegate in my native iOS project, however, a lot of errors appear in the IDE, what would be the configuration for an integration of my Flutter module that is using the library?

this is the console error:
>Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'failed to set registerPlugins'
*** First throw call stack:
(
0 CoreFoundation 0x00000001804ae138 __exceptionPreprocess + 172
1 libobjc.A.dylib 0x0000000180087db4 objc_exception_throw + 56
2 Foundation 0x0000000180d2dfd8 _userInfoForFileAndLine + 0
3 flutter_downloader 0x0000000104ef9a78 -[FlutterDownloaderPlugin startBackgroundIsolate:] + 460
4 flutter_downloader 0x0000000104effbd8 -[FlutterDownloaderPlugin initializeMethodCall:result:] + 288
5 flutter_downloader 0x0000000104f032a8 -[FlutterDownloaderPlugin handleMethodCall:result:] + 208
6 Flutter 0x000000010be64404 __45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 172
7 Flutter 0x000000010b88c1d8 ___ZN7flutter25PlatformMessageHandlerIos21HandlePlatformMessageENSt21_LIBCPP_ABI_NAMESPACE10unique_ptrINS_15PlatformMessageENS1_14default_deleteIS3_EEEE_block_invoke + 108
8 libdispatch.dylib 0x0000000105653ec4 _dispatch_call_block_and_release + 24
9 libdispatch.dylib 0x000000010565573c _dispatch_client_callout + 16
10 libdispatch.dylib 0x00000001056653f8 _dispatch_main_queue_drain + 1228
11 libdispatch.dylib 0x0000000105664f1c _dispatch_main_queue_callback_4CF + 40
12 CoreFoundation 0x000000018040e9a0 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 12
13 CoreFoundation 0x00000001804090b8 __CFRunLoopRun + 1936
14 CoreFoundation 0x0000000180408514 CFRunLoopRunSpecific + 572
15 GraphicsServices 0x000000018ef06ae4 GSEventRunModal + 160
16 UIKitCore 0x00000001853e8040 -[UIApplication _run] + 868
17 UIKitCore 0x00000001853ebcc8 UIApplicationMain + 124
18 Bizagi Native ADHOC 0x0000000102bab740 main + 64
19 dyld 0x00000001037cd544 start_sim + 20
20 ??? 0x00000001038ba0e0 0x0 + 4354449632
21 ??? 0xb94e800000000000 0x0 + 13352750682688454656
)
libc++abi: terminating due to uncaught exception of type NSException

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.