From 4f5fdda1f0860e82dacba8949e4162ffa8366f29 Mon Sep 17 00:00:00 2001 From: Salakar Date: Sat, 7 Oct 2017 13:14:45 +0100 Subject: [PATCH] [utils] remove rn48 breaking support issue --- lib/modules/utils/index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/modules/utils/index.js b/lib/modules/utils/index.js index b3d9787d..942b6af1 100644 --- a/lib/modules/utils/index.js +++ b/lib/modules/utils/index.js @@ -1,7 +1,7 @@ // @flow import { NativeModules } from 'react-native'; -import { version as ReactVersion } from 'react'; -import ReactNativeVersion from 'react-native/Libraries/Core/ReactNativeVersion'; +// import { version as ReactVersion } from 'react'; +// import ReactNativeVersion from 'react-native/Libraries/Core/ReactNativeVersion'; import INTERNALS from './../../internals'; import { isIOS } from './../../utils'; @@ -122,10 +122,10 @@ export default class RNFirebaseUtils { export const statics = { DEFAULT_APP_NAME: INTERNALS.STRINGS.DEFAULT_APP_NAME, - VERSIONS: { - react: ReactVersion, - 'react-native': Object.values(ReactNativeVersion.version).slice(0, 3).join('.'), - 'react-native-firebase': PACKAGE.version, - }, + // VERSIONS: { + // react: ReactVersion, + // 'react-native': Object.values(ReactNativeVersion.version).slice(0, 3).join('.'), + // 'react-native-firebase': PACKAGE.version, + // }, };