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