mirror of
https://github.com/status-im/react-native.git
synced 2025-01-28 18:25:06 +00:00
add timeout param to remaining RCTNetworking implementations
Reviewed By: nicklockwood Differential Revision: D2839041 fb-gh-sync-id: 374fca9ce0fdf5622f57a10456c99628ca7a1400
This commit is contained in:
parent
b8ff6212f8
commit
58fc0f07bd
@ -83,7 +83,8 @@ public class NetworkRecordingModuleMock extends ReactContextBaseJavaModule {
|
||||
int requestId,
|
||||
ReadableArray headers,
|
||||
ReadableMap data,
|
||||
boolean incrementalUpdates) {
|
||||
boolean incrementalUpdates,
|
||||
int timeout) {
|
||||
mLastRequestId = requestId;
|
||||
mRequestCount++;
|
||||
mRequestMethod = method;
|
||||
|
Loading…
x
Reference in New Issue
Block a user