fluttercommunity / fluttercommunity/flutter_downloader

iOS Application crash when await FlutterDownloader.initialize() and tab change or screen navigate to other screen

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

Description

My application crashes when i change tab of my download screen as quickly as it appear. First i thought it was due to some API calls but i have 8 tabs and none of these crashes my application even if i change them quickly. There was another issue but that wasn't solution to my problem

these are lines i use to initialized downloader

WidgetsFlutterBinding.ensureInitialized();
await FlutterDownloader.initialize();
FlutterDownloader.registerCallback(downloadCallback);
it works fine on android

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.