diff --git a/React/Base/RCTBundleURLProvider.h b/React/Base/RCTBundleURLProvider.h index 5dc5400d664cd0..6e1dea3a66a678 100644 --- a/React/Base/RCTBundleURLProvider.h +++ b/React/Base/RCTBundleURLProvider.h @@ -96,8 +96,6 @@ extern const NSUInteger kRCTBundleURLProviderDefaultPort; * The IP address or hostname of the packager. */ @property (nonatomic, copy) NSString *jsLocation; - -@property (nonatomic, assign) BOOL enableLiveReload; @property (nonatomic, assign) BOOL enableMinification; @property (nonatomic, assign) BOOL enableDev; diff --git a/React/Base/RCTBundleURLProvider.mm b/React/Base/RCTBundleURLProvider.mm index 751afb8a7d8ca6..cda955fe9f0d1c 100644 --- a/React/Base/RCTBundleURLProvider.mm +++ b/React/Base/RCTBundleURLProvider.mm @@ -15,9 +15,6 @@ const NSUInteger kRCTBundleURLProviderDefaultPort = RCT_METRO_PORT; static NSString *const kRCTJsLocationKey = @"RCT_jsLocation"; -// This option is no longer exposed in the dev menu UI. -// It was renamed in D15958697 so it doesn't get stuck with no way to turn it off: -static NSString *const kRCTEnableLiveReloadKey = @"RCT_enableLiveReload_LEGACY"; static NSString *const kRCTEnableDevKey = @"RCT_enableDev"; static NSString *const kRCTEnableMinificationKey = @"RCT_enableMinification"; @@ -35,7 +32,6 @@ - (instancetype)init - (NSDictionary *)defaults { return @{ - kRCTEnableLiveReloadKey : @NO, kRCTEnableDevKey : @YES, kRCTEnableMinificationKey : @NO, }; @@ -275,11 +271,6 @@ - (BOOL)enableDev return [[NSUserDefaults standardUserDefaults] boolForKey:kRCTEnableDevKey]; } -- (BOOL)enableLiveReload -{ - return [[NSUserDefaults standardUserDefaults] boolForKey:kRCTEnableLiveReloadKey]; -} - - (BOOL)enableMinification { return [[NSUserDefaults standardUserDefaults] boolForKey:kRCTEnableMinificationKey]; @@ -295,11 +286,6 @@ - (void)setEnableDev:(BOOL)enableDev [self updateValue:@(enableDev) forKey:kRCTEnableDevKey]; } -- (void)setEnableLiveReload:(BOOL)enableLiveReload -{ - [self updateValue:@(enableLiveReload) forKey:kRCTEnableLiveReloadKey]; -} - - (void)setJsLocation:(NSString *)jsLocation { [self updateValue:jsLocation forKey:kRCTJsLocationKey]; diff --git a/React/CoreModules/RCTDevMenu.h b/React/CoreModules/RCTDevMenu.h index 338815357c6e2f..b322afb38b0643 100644 --- a/React/CoreModules/RCTDevMenu.h +++ b/React/CoreModules/RCTDevMenu.h @@ -34,11 +34,6 @@ RCT_EXTERN NSString *const RCTShowDevMenuNotification; */ @property (nonatomic, assign) BOOL profilingEnabled DEPRECATED_ATTRIBUTE; -/** - * Deprecated, use RCTDevSettings instead. - */ -@property (nonatomic, assign) BOOL liveReloadEnabled DEPRECATED_ATTRIBUTE; - /** * Deprecated, use RCTDevSettings instead. */