added namespace to fetch

This commit is contained in:
Elad Gil
2019-12-09 15:17:35 +02:00
parent 41b9af5817
commit fd76591161
@@ -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);