mirror of
https://github.com/zoriya/react-native-background-downloader.git
synced 2026-05-31 17:23:13 +00:00
added namespace to fetch
This commit is contained in:
@@ -80,6 +80,7 @@ public class RNBackgroundDownloaderModule extends ReactContextBaseJavaModule imp
|
||||
loadConfigMap();
|
||||
FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this.getReactApplicationContext())
|
||||
.setDownloadConcurrentLimit(4)
|
||||
.setNamespace("RNBackgroundDownloader")
|
||||
.build();
|
||||
fetch = Fetch.Impl.getInstance(fetchConfiguration);
|
||||
fetch.addListener(this);
|
||||
|
||||
Reference in New Issue
Block a user