56 Commits

Author SHA1 Message Date
zoriya 3c1b703c80 Add showNotification option on android 2024-01-28 01:18:54 +01:00
Kesha Antonov 523068712a android: fix move file 2024-01-25 16:45:14 +03:00
Kesha Antonov b9e9a4c3d2 android: fix begin not getting called 2024-01-25 15:50:14 +03:00
Kesha Antonov 7f92f84087 android: fix mv file on api level < 26 2024-01-24 13:06:18 +03:00
Kesha Antonov 2ab6786c16 android: rm excessive logs 2024-01-02 19:34:59 +03:00
Kesha Antonov 27dece4760 android: add missing file 2024-01-01 21:35:09 +03:00
Kesha Antonov 286a7eada6 improved progress events on ios/android 2024-01-01 21:29:30 +03:00
Kesha Antonov 168d35a9a5 fixed error with progressInterval. corrected types & ts config. removed percent from progress event. changed params to object in all events. updated readme. made onProgress starting on app start 2023-12-24 22:11:13 +03:00
Kesha Antonov bd1e4adfc6 rewritten android side from Fetch to DownloadManager. Everything works except manual pause/resume 2023-12-22 15:16:46 +03:00
Kesha Antonov 2f2a26737e android: fix build with RN 0.73 2023-12-11 12:14:51 +03:00
Kesha Antonov 44b44cd14b android: rm abi filters 2023-11-08 05:36:03 +03:00
Kesha Antonov ffa8649a93 android: use namespace based on gradle version 2023-11-08 05:35:46 +03:00
Kesha Antonov 9dea0fb95a android: use namescape conditinally 2023-11-08 05:15:50 +03:00
Yavuz Günay 157c78212f Example Project React Native 0.72.6 Updated 2023-11-05 21:15:54 -05:00
Kesha Antonov cc6cc0c91e android: make sdk higher 2023-11-03 12:25:21 +03:00
Kesha Antonov 396bb3f6c8 android: add namespace 2023-11-03 12:25:03 +03:00
Kesha Antonov 0090439e08 android: try fix ANR in onProgress method 2023-11-02 13:41:15 +03:00
Kesha Antonov 27cd5505bd tabs -> soft tabs 2023-07-17 12:59:25 +03:00
Kesha Antonov aacb21e280 android: allow pass downloader type 2023-07-17 12:51:23 +03:00
Kesha Antonov 15bc65bca5 add method initDownloader 2023-07-14 15:01:27 +03:00
Kesha Antonov bb436069b6 android: better check for useAndroidX 2023-07-14 14:18:58 +03:00
Dmytraw 4f904b518b Update build.gradle
Typo fix
2023-06-23 19:00:45 +03:00
Kesha Antonov 59278e00a8 android: taskConfig - add default value to metadata 2023-02-19 05:46:28 +03:00
Kesha Antonov c007f230f3 fix tests. android: add addListener, removeListeners to fix warnings 2023-01-30 00:23:11 +03:00
Kesha Antonov e2d35e0d90 android: upd gradle, compilesdk 2023-01-29 20:38:27 +03:00
Tolgahan Çelik cf2d15d5a3 Android download complete location support added. 2022-11-30 17:19:20 +03:00
Tolgahan Çelik 0e4a54c6f5 Android Fetch 2 has been updated again. 2022-07-26 18:06:28 +03:00
Tolgahan Çelik a5526b4952 Revert Fetch 2 for android. 2022-07-26 17:41:23 +03:00
Tolgahan Çelik d19b9c9a72 Metadata support added for DownloadTask. Android & Ios 2022-07-26 17:32:23 +03:00
Tolgahan Çelik e0355e7f79 Use fetch2 from JitPack instead of JCenter 2022-07-25 07:56:27 +03:00
Kesha Antonov 7012fed52d upd from local changes to work correctly 2021-12-05 20:48:08 +03:00
Elad Gil dbd33e7ef9 'android.useAndroidX' might return a string, so we handle this case as well 2019-12-10 16:13:07 +02:00
Elad Gil fd76591161 added namespace to fetch 2019-12-09 15:17:35 +02:00
Elad Gil 41b9af5817 Android: expose Fetch to app as api 2019-12-09 15:16:22 +02:00
Mark Tolmacs 7016f48532 Remove spaces from empty line 2019-11-04 14:04:44 +01:00
Mark Tolmacs 30799383cd Attempting to fix crash due to already closed Fetch instance. 2019-10-31 19:16:02 +01:00
Elad Gil b9a806d51a Changed documents dir on Android to getExternalFilesDir if supported
Added conditional support for AndroidX
2019-10-15 14:17:00 +03:00
sridhar 9fef9d38c7 Sync issue fix, added error code, handled enque failure
Sync issue fix, added error code, handled enque failure
2019-10-12 10:51:52 +05:30
Elad Gil 1cf17a76b3 added missing testApp files 2019-04-01 14:46:57 +03:00
Elad Gil 10aa10ebe3 updated lib to require RN 0.57 minimum
updated testApp to latest RN
updated Fetch to version 3.0.3
2019-04-01 14:31:53 +03:00
pieter888 62dd0ddf0c Use implementation instead
To work with more recent versions of gradle/react-native
2019-02-26 11:43:45 +01:00
Elad Gil 2c7102cee5 added the ability to add header to the downloading request (#2) 2018-12-19 14:30:36 +02:00
Elad Gil d813973c24 forgot to change the android files to the new name 2018-07-16 17:55:23 +03:00
Elad Gil 1d38be3d3d changer all the "download" to "downloader" since npm doesn't like the name 2018-07-16 17:29:41 +03:00
Elad Gil d729424085 removed some logs we don't need 2018-07-03 14:53:42 +03:00
Elad Gil 1b18a0158f cossolidate progress report to one per id 2018-07-03 12:10:55 +03:00
Elad Gil 7d79cb095e fixed typo in expectedBytes 2018-06-26 18:01:45 +03:00
Elad Gil 3289391956 fixed typo in pauseTask 2018-06-19 15:24:02 +03:00
Elad Gil 46d610d3c6 removed depracted method 2018-04-24 14:26:43 +03:00
Elad Gil 0ccc979052 more fixes 2018-04-24 14:22:15 +03:00