fluttercommunity / fluttercommunity/flutter_downloader
download issue on IOS
- Dominant language
- Kotlin
- Stars
- 940
- Forks
- 561
- Avg merge
- 1h 18m
- Merged PRs (30d)
- 1
Description
I have added complete log here. log status showing success but progress/success notification not showing in IOS. Android is working fine. I have followed document like you provided. Please look into this and help me.
21-12-22 10:22:12.873017+0300 Runner[398:42825] flutter: notifyAsync start
2021-12-22 10:22:12.873467+0300 Runner[398:42825] flutter: notifyAsync end
2021-12-22 10:22:12.877074+0300 Runner[398:42566] Absolute savedDir path: /var/mobile/Containers/Data/Application/F2D89934-B980-4E10-9B16-D6B6D15715D0/Documents
2021-12-22 10:22:12.877265+0300 Runner[398:42566] *** -[__NSCFString substringWithRange:]: Range {87, 18446744073709551615} out of bounds; string length 86. This will become an exception for apps linked after 10.10 and iOS 8. Warning shown once per app execution.
2021-12-22 10:22:12.877417+0300 Runner[398:42566] Header(auth: test_for_sql_encoding)
2021-12-22 10:22:12.881350+0300 Runner[398:42566] execute query: INSERT INTO task (task_id,url,status,progress,file_name,saved_dir,headers,resumable,show_notification,open_file_from_notification,time_created) VALUES ("test.tst.download.background.1640157723.758568.1","http://www.africau.edu/images/default/sample.pdf",1,0,"","","%7B%22auth%22:%20%22test_for_sql_encoding%22%7D",0,1,1,1640157732881)
2021-12-22 10:22:12.881681+0300 Runner[398:42566] open DB successfully
2021-12-22 10:22:12.893275+0300 Runner[398:42566] Query was executed successfully. Affected rows = 1
2021-12-22 10:22:12.908401+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.1) is in status (DownloadTaskStatus(1)) and process (0)
2021-12-22 10:22:12.943320+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.1, DownloadTaskStatus(1), 0]
2021-12-22 10:22:12.945559+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.1 - 0
2021-12-22 10:22:13.017884+0300 Runner[398:42809] execute query: UPDATE task SET status=2, progress=61 WHERE task_id="test.tst.download.background.1640157723.758568.1"
2021-12-22 10:22:13.018292+0300 Runner[398:42809] open DB successfully
2021-12-22 10:22:13.019346+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.1) is in status (DownloadTaskStatus(2)) and process (61)
2021-12-22 10:22:13.020272+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.1, DownloadTaskStatus(2), 61]
2021-12-22 10:22:13.020525+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.1 - 61
2021-12-22 10:22:13.030458+0300 Runner[398:42809] Query was executed successfully. Affected rows = 1
2021-12-22 10:22:13.030769+0300 Runner[398:42819] execute query: UPDATE task SET status=2, progress=100 WHERE task_id="test.tst.download.background.1640157723.758568.1"
2021-12-22 10:22:13.031129+0300 Runner[398:42819] open DB successfully
2021-12-22 10:22:13.032322+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.1) is in status (DownloadTaskStatus(2)) and process (100)
2021-12-22 10:22:13.033031+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.1, DownloadTaskStatus(2), 100]
2021-12-22 10:22:13.033284+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.1 - 100
2021-12-22 10:22:13.041027+0300 Runner[398:42819] Query was executed successfully. Affected rows = 1
2021-12-22 10:22:13.041327+0300 Runner[398:42819] URLSession:downloadTask:didFinishDownloadingToURL:
2021-12-22 10:22:13.047780+0300 Runner[398:42819] SuggestedFileName: sample.pdf
2021-12-22 10:22:13.047896+0300 Runner[398:42819] execute query: UPDATE task SET file_name="sample.pdf" WHERE task_id="test.tst.download.background.1640157723.758568.1"
2021-12-22 10:22:13.048288+0300 Runner[398:42819] open DB successfully
2021-12-22 10:22:13.055368+0300 Runner[398:42819] Query was executed successfully. Affected rows = 1
2021-12-22 10:22:13.055467+0300 Runner[398:42819] savedDir: /var/mobile/Containers/Data/Application/F2D89934-B980-4E10-9B16-D6B6D15715D0/Documents
2021-12-22 10:22:13.055527+0300 Runner[398:42819] filename: sample.pdf
2021-12-22 10:22:13.057900+0300 Runner[398:42819] execute query: UPDATE task SET status=3, progress=100 WHERE task_id="test.tst.download.background.1640157723.758568.1"
2021-12-22 10:22:13.058054+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.1) is in status (DownloadTaskStatus(3)) and process (100)
2021-12-22 10:22:13.058289+0300 Runner[398:42819] open DB successfully
2021-12-22 10:22:13.060408+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.1, DownloadTaskStatus(3), 100]
2021-12-22 10:22:13.060743+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.1 - 100
2021-12-22 10:22:13.069086+0300 Runner[398:42819] Query was executed successfully. Affected rows = 1
2021-12-22 10:22:13.069473+0300 Runner[398:42819] URLSession:task:didCompleteWithError:
2021-12-22 10:22:13.069513+0300 Runner[398:42819] HTTP status code: 200
2021-12-22 10:24:18.578936+0300 Runner[398:42566] Absolute savedDir path: /var/mobile/Containers/Data/Application/F2D89934-B980-4E10-9B16-D6B6D15715D0/Documents
2021-12-22 10:24:18.579650+0300 Runner[398:42566] Header(auth: test_for_sql_encoding)
2021-12-22 10:24:18.592237+0300 Runner[398:42566] execute query: INSERT INTO task (task_id,url,status,progress,file_name,saved_dir,headers,resumable,show_notification,open_file_from_notification,time_created) VALUES ("test.tst.download.background.1640157723.758568.2","http://www.africau.edu/images/default/sample.pdf",1,0,"","","%7B%22auth%22:%20%22test_for_sql_encoding%22%7D",0,1,1,1640157858592)
2021-12-22 10:24:18.594194+0300 Runner[398:42566] open DB successfully
2021-12-22 10:24:18.611067+0300 Runner[398:42566] Query was executed successfully. Affected rows = 1
2021-12-22 10:24:18.619193+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.2) is in status (DownloadTaskStatus(1)) and process (0)
2021-12-22 10:24:18.623538+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.2, DownloadTaskStatus(1), 0]
2021-12-22 10:24:18.623618+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.2 - 0
2021-12-22 10:24:18.739395+0300 Runner[398:43174] execute query: UPDATE task SET status=2, progress=61 WHERE task_id="test.tst.download.background.1640157723.758568.2"
2021-12-22 10:24:18.739772+0300 Runner[398:43174] open DB successfully
2021-12-22 10:24:18.741106+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.2) is in status (DownloadTaskStatus(2)) and process (61)
2021-12-22 10:24:18.742112+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.2, DownloadTaskStatus(2), 61]
2021-12-22 10:24:18.742172+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.2 - 61
2021-12-22 10:24:18.750653+0300 Runner[398:43174] Query was executed successfully. Affected rows = 1
2021-12-22 10:24:18.750986+0300 Runner[398:43174] execute query: UPDATE task SET status=2, progress=100 WHERE task_id="test.tst.download.background.1640157723.758568.2"
2021-12-22 10:24:18.751316+0300 Runner[398:43174] open DB successfully
2021-12-22 10:24:18.752599+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.2) is in status (DownloadTaskStatus(2)) and process (100)
2021-12-22 10:24:18.753242+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.2, DownloadTaskStatus(2), 100]
2021-12-22 10:24:18.753306+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.2 - 100
2021-12-22 10:24:18.760590+0300 Runner[398:43174] Query was executed successfully. Affected rows = 1
2021-12-22 10:24:18.760741+0300 Runner[398:43174] URLSession:downloadTask:didFinishDownloadingToURL:
2021-12-22 10:24:18.760938+0300 Runner[398:43174] SuggestedFileName: sample.pdf
2021-12-22 10:24:18.761013+0300 Runner[398:43174] execute query: UPDATE task SET file_name="sample.pdf" WHERE task_id="test.tst.download.background.1640157723.758568.2"
2021-12-22 10:24:18.761378+0300 Runner[398:43174] open DB successfully
2021-12-22 10:24:18.772672+0300 Runner[398:43174] Query was executed successfully. Affected rows = 1
2021-12-22 10:24:18.772760+0300 Runner[398:43174] savedDir: /var/mobile/Containers/Data/Application/F2D89934-B980-4E10-9B16-D6B6D15715D0/Documents
2021-12-22 10:24:18.772831+0300 Runner[398:43174] filename: sample.pdf
2021-12-22 10:24:18.774331+0300 Runner[398:43174] execute query: UPDATE task SET status=3, progress=100 WHERE task_id="test.tst.download.background.1640157723.758568.2"
2021-12-22 10:24:18.774614+0300 Runner[398:42847] flutter: Background Isolate Callback: task (test.tst.download.background.1640157723.758568.2) is in status (DownloadTaskStatus(3)) and process (100)
2021-12-22 10:24:18.774676+0300 Runner[398:43174] open DB successfully
2021-12-22 10:24:18.775392+0300 Runner[398:42825] flutter: UI Isolate Callback: [test.tst.download.background.1640157723.758568.2, DownloadTaskStatus(3), 100]
2021-12-22 10:24:18.775526+0300 Runner[398:42825] flutter: task progress test.tst.download.background.1640157723.758568.2 - 100
2021-12-22 10:24:18.783007+0300 Runner[398:43174] Query was executed successfully. Affected rows = 1
2021-12-22 10:24:18.783337+0300 Runner[398:43332] URLSession:task:didCompleteWithError:
2021-12-22 10:24:18.783376+0300 Runner[398:43332] HTTP status code: 200
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.