From 7e70ee2e0391e2d32d5f9e202f3a8b2d21598e2d Mon Sep 17 00:00:00 2001 From: Pieter De Baets Date: Mon, 6 Jul 2015 04:40:11 -0700 Subject: [PATCH] Check for RCTSettingsManager in Settings.ios --- Libraries/Settings/Settings.ios.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/Settings/Settings.ios.js b/Libraries/Settings/Settings.ios.js index 89388be57..73d66ca58 100644 --- a/Libraries/Settings/Settings.ios.js +++ b/Libraries/Settings/Settings.ios.js @@ -19,7 +19,7 @@ var invariant = require('invariant'); var subscriptions: Array<{keys: Array; callback: ?Function}> = []; var Settings = { - _settings: RCTSettingsManager.settings, + _settings: RCTSettingsManager && RCTSettingsManager.settings, get(key: string): mixed { return this._settings[key];