From 50f200ba90bef4b6444d9a502ec2f35b9b422258 Mon Sep 17 00:00:00 2001 From: Kathy Gray Date: Tue, 11 Jul 2017 09:04:47 -0700 Subject: [PATCH] Fix RCTNetworking error message Reviewed By: javache Differential Revision: D5397652 fbshipit-source-id: ab081dfa5f29c0b672eda6a1a22d23e6fc0881c1 --- Libraries/Network/RCTNetworking.android.js | 2 +- Libraries/Network/RCTNetworking.ios.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) {