From 046bec902330a9ce1b6f84b5a1bedb4787ce8cb1 Mon Sep 17 00:00:00 2001 From: Christoph Purrer Date: Thu, 30 Jul 2026 09:04:51 -0700 Subject: [PATCH] Expose releaseLevel within RNTester-iOS Summary: Changelog: [Internal] Differential Revision: D114162628 --- packages/rn-tester/RNTester/AppDelegate.mm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/rn-tester/RNTester/AppDelegate.mm b/packages/rn-tester/RNTester/AppDelegate.mm index 3f1ea7209bac..a21d70bb32ce 100644 --- a/packages/rn-tester/RNTester/AppDelegate.mm +++ b/packages/rn-tester/RNTester/AppDelegate.mm @@ -51,7 +51,7 @@ @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - self.reactNativeFactory = [[RCTReactNativeFactory alloc] initWithDelegate:self]; + self.reactNativeFactory = [[RCTReactNativeFactory alloc] initWithDelegate:self releaseLevel:[self releaseLevel]]; #if USE_OSS_CODEGEN self.dependencyProvider = [RCTAppDependencyProvider new]; #endif @@ -79,6 +79,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( return YES; } +- (RCTReleaseLevel)releaseLevel +{ + return RCTReleaseLevel::Stable; +} + - (NSDictionary *)prepareInitialProps { NSMutableDictionary *initProps = [NSMutableDictionary new];