Skip to content

Commit 663c191

Browse files
christophpurrermeta-codesync[bot]
authored andcommitted
Expose releaseLevel within RNTester-iOS (#57768)
Summary: Pull Request resolved: #57768 Changelog: [Internal] Reviewed By: zeyap Differential Revision: D114162628 fbshipit-source-id: 2c2101892bfbb8e16d444200f661d1445657066b
1 parent 58bf844 commit 663c191

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/rn-tester/RNTester/AppDelegate.mm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ @implementation AppDelegate
5151

5252
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
5353
{
54-
self.reactNativeFactory = [[RCTReactNativeFactory alloc] initWithDelegate:self];
54+
self.reactNativeFactory = [[RCTReactNativeFactory alloc] initWithDelegate:self releaseLevel:[self releaseLevel]];
5555
#if USE_OSS_CODEGEN
5656
self.dependencyProvider = [RCTAppDependencyProvider new];
5757
#endif
@@ -79,6 +79,11 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
7979
return YES;
8080
}
8181

82+
- (RCTReleaseLevel)releaseLevel
83+
{
84+
return RCTReleaseLevel::Stable;
85+
}
86+
8287
- (NSDictionary *)prepareInitialProps
8388
{
8489
NSMutableDictionary *initProps = [NSMutableDictionary new];

0 commit comments

Comments
 (0)