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