mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/45398 Accidentally left in a value (that Phabricator then hid) which I was using to test fixed prerelease constants in D59141948... On real releases, this is overwritten by the version stamping process. Changelog: [Internal] Reviewed By: cipolleschi Differential Revision: D59668218 fbshipit-source-id: 3d04e52db75a5d8a53cf47d3a2f88b643030d94e
32 lines
865 B
Objective-C
32 lines
865 B
Objective-C
/**
|
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @generated by scripts/releases/set-version.js
|
|
*/
|
|
|
|
#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: @(1000),
|
|
RCTVersionMinor: @(0),
|
|
RCTVersionPatch: @(0),
|
|
RCTVersionPrerelease: [NSNull null],
|
|
};
|
|
});
|
|
return __rnVersion;
|
|
}
|