diff --git a/lib/firebase.js b/lib/firebase.js index 6e99fb56..a0096b21 100644 --- a/lib/firebase.js +++ b/lib/firebase.js @@ -14,7 +14,7 @@ import Database, { statics as DatabaseStatics } from './modules/database'; import Messaging, { statics as MessagingStatics } from './modules/messaging'; import Analytics from './modules/analytics'; import Crash from './modules/crash'; -import RemoteConfig from './modules/remoteConfig'; +import RemoteConfig from './modules/config'; const instances: Object = { default: null }; const FirebaseModule = NativeModules.RNFirebase; @@ -32,7 +32,7 @@ export default class Firebase { _analytics: ?Object; _constants: ?Object; _messaging: ?Object; - _remoteConfig: ?Object; + _config: ?Object; _crash: ?Object; auth: Function; @@ -41,7 +41,7 @@ export default class Firebase { database: Function; analytics: Function; messaging: Function; - remoteConfig: Function; + config: Function; eventHandlers: Object; debug: boolean; @@ -85,7 +85,7 @@ export default class Firebase { this.messaging = this._staticsOrInstance('messaging', MessagingStatics, Messaging); this.analytics = this._staticsOrInstance('analytics', {}, Analytics); this.crash = this._staticsOrInstance('crash', {}, Crash); - this.remoteConfig = this._staticsOrInstance('remoteConfig', {}, RemoteConfig); + this.config = this._staticsOrInstance('config', {}, RemoteConfig); // init auth to start listeners this.auth();