File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Expand file tree Collapse file tree 3 files changed +9
-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 RNFetchBlob from '../index.js'
6
+ import { NativeModules } from 'react-native' ;
7
+ const RNFetchBlob = NativeModules . RNFetchBlob
6
8
import fs from '../fs.js'
7
9
import getUUID from '../utils/uuid'
8
10
import Log from '../utils/log.js'
Original file line number Diff line number Diff line change 1
- import RNFetchBlob from '../index.js'
1
+ // import RNFetchBlob from '../index.js'
2
+ import { NativeModules } from 'react-native' ;
3
+ const RNFetchBlob = NativeModules . RNFetchBlob
2
4
import Log from '../utils/log.js'
3
5
import fs from '../fs'
4
6
import unicode from '../utils/unicode'
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 RNFetchBlob from '../index.js'
6
+ import { NativeModules } from 'react-native' ;
7
+ const RNFetchBlob = NativeModules . RNFetchBlob
6
8
import XMLHttpRequestEventTarget from './XMLHttpRequestEventTarget.js'
7
9
import Log from '../utils/log.js'
8
10
import Blob from './Blob.js'
You can’t perform that action at this time.
0 commit comments