0

Property 'reactDelegate' not found on object of type 'AppDelegate *' enter image description here

Expo bare workflow project. Not able to get through this issue even after updating the AppDelegate.h file. Any luck here anyone?

1 Answer 1

1

We have to make changes in App Delegate.m changing the following code: ref: https://github.com/expo/expo/issues/15728

 RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge moduleName:@"main" initialProperties:nil]; 
 id rootViewBackgroundColor = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"RCTRootViewBackgroundColor"]; 
 if (rootViewBackgroundColor != nil) { 
   rootView.backgroundColor = [RCTConvert UIColor:rootViewBackgroundColor]; 
 } else { 
   rootView.backgroundColor = [UIColor whiteColor]; 
 } 
  
 self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 
 UIViewController *rootViewController = [UIViewController new]; ```
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.