We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac908ca commit 81fa4b7Copy full SHA for 81fa4b7
polyfill/XMLHttpRequest.js
@@ -2,13 +2,16 @@
2
// Use of this source code is governed by a MIT-style license that can be
3
// found in the LICENSE file.
4
5
-import RNFetchBlob from '../index.js'
+//import RNFetchBlob from '../index.js'
6
+import {NativeModules} from 'react-native';
7
+
8
import XMLHttpRequestEventTarget from './XMLHttpRequestEventTarget.js'
9
import Log from '../utils/log.js'
10
import Blob from './Blob.js'
11
import ProgressEvent from './ProgressEvent.js'
12
import URIUtil from '../utils/uri'
13
14
+const RNFetchBlob = NativeModules.RNFetchBlob
15
const log = new Log('XMLHttpRequest')
16
17
log.disable()
0 commit comments