diff --git a/Libraries/Network/RCTNetworking.android.js b/Libraries/Network/RCTNetworking.android.js index db7ccdf08..e6292ccfe 100644 --- a/Libraries/Network/RCTNetworking.android.js +++ b/Libraries/Network/RCTNetworking.android.js @@ -95,7 +95,7 @@ class RCTNetworking extends NativeEventEmitter { if (__DEV__ && !RCTNetworkingNative) { class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim { constructor() { - super('RCTAppState', 'AppState'); + super('RCTNetworking', 'Networking'); } sendRequest(...args: Array) { diff --git a/Libraries/Network/RCTNetworking.ios.js b/Libraries/Network/RCTNetworking.ios.js index 15f3d6da7..35d432dee 100644 --- a/Libraries/Network/RCTNetworking.ios.js +++ b/Libraries/Network/RCTNetworking.ios.js @@ -63,7 +63,7 @@ class RCTNetworking extends NativeEventEmitter { if (__DEV__ && !RCTNetworkingNative) { class MissingNativeRCTNetworkingShim extends MissingNativeEventEmitterShim { constructor() { - super('RCTAppState', 'AppState'); + super('RCTNetworking', 'Networking'); } sendRequest(...args: Array) {