1/** 2 * @generated by scripts/set-rn-version.js 3 * 4 * Copyright (c) Meta Platforms, Inc. and affiliates. 5 * 6 * This source code is licensed under the MIT license found in the 7 * LICENSE file in the root directory of this source tree. 8 */ 9 10#import "RCTVersion.h" 11 12NSString* const RCTVersionMajor = @"major"; 13NSString* const RCTVersionMinor = @"minor"; 14NSString* const RCTVersionPatch = @"patch"; 15NSString* const RCTVersionPrerelease = @"prerelease"; 16 17 18NSDictionary* RCTGetReactNativeVersion(void) 19{ 20 static NSDictionary* __rnVersion; 21 static dispatch_once_t onceToken; 22 dispatch_once(&onceToken, ^(void){ 23 __rnVersion = @{ 24 RCTVersionMajor: ${major}, 25 RCTVersionMinor: ${minor}, 26 RCTVersionPatch: ${patch}, 27 RCTVersionPrerelease: ${prerelease}, 28 }; 29 }); 30 return __rnVersion; 31} 32