mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
3204c55981
Summary: Changelog: [Internal] - Update the source of the changes in generated files, no longer bump-oss-version but set-rn-version Reviewed By: sota000 Differential Revision: D33110408 fbshipit-source-id: 8cd5004f5d40dde82fe4d6271d5b8598cd27ca31
32 lines
864 B
Objective-C
32 lines
864 B
Objective-C
/**
|
|
* @generated by scripts/set-rn-version.js
|
|
*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
#import "RCTVersion.h"
|
|
|
|
NSString* const RCTVersionMajor = @"major";
|
|
NSString* const RCTVersionMinor = @"minor";
|
|
NSString* const RCTVersionPatch = @"patch";
|
|
NSString* const RCTVersionPrerelease = @"prerelease";
|
|
|
|
|
|
NSDictionary* RCTGetReactNativeVersion(void)
|
|
{
|
|
static NSDictionary* __rnVersion;
|
|
static dispatch_once_t onceToken;
|
|
dispatch_once(&onceToken, ^(void){
|
|
__rnVersion = @{
|
|
RCTVersionMajor: @(0),
|
|
RCTVersionMinor: @(0),
|
|
RCTVersionPatch: @(0),
|
|
RCTVersionPrerelease: [NSNull null],
|
|
};
|
|
});
|
|
return __rnVersion;
|
|
}
|