// Copyright 2018-present 650 Industries. All rights reserved. #if __cplusplus #import #import #if __has_include() #import #elif __has_include() // for importing the header from framework, the dash will be transformed to underscore #import #endif NS_ASSUME_NONNULL_BEGIN /** Provides backwards compatibility for existing projects with `AppDelegate` written in Objective-C and that forwards all messages to the new `ExpoAppDelegate`. If your `AppDelegate` is in Swift, it should inherit from `ExpoAppDelegate` class instead. */ #if __has_include() || __has_include() @interface EXAppDelegateWrapper : RCTAppDelegate #else @interface EXAppDelegateWrapper : UIResponder #endif @property (nonatomic, strong, readonly) EXReactDelegateWrapper *reactDelegate; @end NS_ASSUME_NONNULL_END #else // Workaround the main.m build error when running with new architecture mode // Context: https://github.com/facebook/react-native/pull/35661 @interface EXAppDelegateWrapper : UIResponder @end #endif