[utils] remove rn48 breaking support issue

This commit is contained in:
Salakar 2017-10-07 13:14:45 +01:00
parent 10247e067d
commit 4f5fdda1f0
1 changed files with 7 additions and 7 deletions

View File

@ -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,
// },
};