Closed JannieT closed 1 year ago
same here when I initialised, await FlutterDownloader.initialize(debug: true);
iOS integration requires configuration
@colorbitch I assumed the example app already had the integration configured in the committed Info.plist
and project.pbxproj
files. Looks like the docs are a bit outdated so also I tried with adding "Background processing":
but I still get the crash, with or without the "Background processing" mode.
@colorbitch I assumed the example app already had the integration configured in the committed
Info.plist
andproject.pbxproj
files. Looks like the docs are a bit outdated so also I tried with adding "Background processing":but I still get the crash, with or without the "Background processing" mode.
Did you configure the AppDelegate file? FlutterDownloaderPlugin
should be registered in the AppDelegate file.
@colorbitch I have cloned the example app in this repository. It is already fully configured by the package authors: https://github.com/fluttercommunity/flutter_downloader/blob/master/example/ios/Runner/AppDelegate.m
I'm facing the same issue. Crashes on ios Emulator Emulator: iPhone 12 pro max. Mac OS: Catalina
Same issue on iphone 12
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-arm, locale ru-UA) [✓] Android toolchain - develop for Android devices (Android SDK version 32.1.0-rc1) [✓] Xcode - develop for iOS and macOS (Xcode 13.4.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.2) [✓] Android Studio [✓] VS Code (version 1.67.2) [✓] Connected device (5 available) [✓] HTTP Host Availability
Apparently upgrading to beta 3 solves, but I haven't tested it yet.
Closing because of lack of recent activity. Thanks to everyone who helped find a solution :)
On iOS the example app crashes when terminating the app while a download is in progress:
Steps to reproduce:
Expected behaviour
The service can handle a sudden termination gracefully
Actual behavior
The app crashed with the following report:
Running on the latest stable Flutter version: