File tree 3 files changed +6
-3
lines changed
3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a MIT-style license that can be
3
3
// found in the LICENSE file.
4
4
5
- import RNFetchBlob from '../index.js'
5
+ import { NativeModules } from 'react-native' ;
6
6
import fs from '../fs.js'
7
7
import getUUID from '../utils/uuid'
8
8
import Log from '../utils/log.js'
9
9
import EventTarget from './EventTarget'
10
10
11
+ const RNFetchBlob = NativeModules . RNFetchBlob
11
12
const log = new Log ( 'Blob' )
12
13
const blobCacheDir = fs . dirs . DocumentDir + '/RNFetchBlob-blobs/'
13
14
Original file line number Diff line number Diff line change 1
- import RNFetchBlob from '../index.js'
1
+ import { NativeModules } from 'react-native' ;
2
2
import Log from '../utils/log.js'
3
3
import fs from '../fs'
4
4
import unicode from '../utils/unicode'
5
5
import Blob from './Blob'
6
6
7
+ const RNFetchBlob = NativeModules . RNFetchBlob
7
8
const log = new Log ( 'FetchPolyfill' )
8
9
9
10
log . disable ( )
Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a MIT-style license that can be
3
3
// found in the LICENSE file.
4
4
5
- import RNFetchBlob from '../index.js'
5
+ import { NativeModules } from 'react-native' ;
6
6
import XMLHttpRequestEventTarget from './XMLHttpRequestEventTarget.js'
7
7
import Log from '../utils/log.js'
8
8
import Blob from './Blob.js'
9
9
import ProgressEvent from './ProgressEvent.js'
10
10
import URIUtil from '../utils/uri'
11
11
12
+ const RNFetchBlob = NativeModules . RNFetchBlob
12
13
const log = new Log ( 'XMLHttpRequest' )
13
14
14
15
log . disable ( )
You can’t perform that action at this time.
0 commit comments