mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-23 20:10:05 +08:00
[core] Add SDK_VERSION
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
// @flow
|
||||
import { NativeModules } from 'react-native';
|
||||
// import { version as ReactVersion } from 'react';
|
||||
// import ReactNativeVersion from 'react-native/Libraries/Core/ReactNativeVersion';
|
||||
import INTERNALS from '../../utils/internals';
|
||||
import { isIOS } from '../../utils';
|
||||
import ModuleBase from '../../utils/ModuleBase';
|
||||
import PACKAGE from '../../../package.json';
|
||||
import type App from '../core/firebase-app';
|
||||
|
||||
const FirebaseCoreModule = NativeModules.RNFirebase;
|
||||
@@ -106,10 +103,4 @@ export default class RNFirebaseUtils extends ModuleBase {
|
||||
}
|
||||
|
||||
|
||||
export const statics = {
|
||||
// VERSIONS: {
|
||||
// react: ReactVersion,
|
||||
// 'react-native': Object.values(ReactNativeVersion.version).slice(0, 3).join('.'),
|
||||
// 'react-native-firebase': PACKAGE.version,
|
||||
// },
|
||||
};
|
||||
export const statics = {};
|
||||
|
||||
Reference in New Issue
Block a user