Skip to content
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

Plug-in initialization caused iOS APP startup crash #395

Closed
FangPro opened this issue Jan 11, 2021 · 2 comments
Closed

Plug-in initialization caused iOS APP startup crash #395

FangPro opened this issue Jan 11, 2021 · 2 comments

Comments

@FangPro
Copy link

FangPro commented Jan 11, 2021

Whenever I call the plugin's initialization method in the main() method, it will crash and exit directly after the app starts.

Here is my print log:

*** First throw call stack:

(

0 CoreFoundation 0x00000001012d3126 __exceptionPreprocess + 242

1 libobjc.A.dylib 0x0000000106587f78 objc_exception_throw + 48

2 CoreFoundation 0x00000001012d2f4f +[NSException raise:format:] + 0

3 Foundation 0x00000001046581ca -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 191

4 flutter_downloader 0x000000010634f4c0 -[FlutterDownloaderPlugin startBackgroundIsolate:] + 528

5 flutter_downloader 0x00000001063552d9 -[FlutterDownloaderPlugin initializeMethodCall:result:] + 297

6 flutter_downloader 0x00000001063590af -[FlutterDownloaderPlugin handleMethodCall:result:] + 191

7 Flutter 0x00000001024B09DF __45-[FlutterMethodChannel setMet<... >

Lost connection to device.

@FangPro FangPro changed the title 插件初始化导致iOS端app启动崩溃 Plug-in initialization caused iOS APP startup crash Jan 11, 2021
@erperejildo
Copy link

any update?

@bartekpacia
Copy link
Collaborator

If the problem persists, please create a new issue using bug report template. Without reproduction steps and example code, not much can be done.

@bartekpacia bartekpacia closed this as not planned Won't fix, can't repro, duplicate, stale May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants