#import @class EXKernelAppRecord; @interface EXAppViewController : UIViewController - (instancetype)initWithAppRecord:(EXKernelAppRecord *)record; - (void)refresh; /** * Maybe displays an error to the user. Ignores it if RCTRedBox is already showing it. */ - (void)maybeShowError:(NSError *)error; /** * Settable by the app's screen orientation API via the orientation kernel service. */ - (void)setSupportedInterfaceOrientations:(UIInterfaceOrientationMask)supportedInterfaceOrientations; - (void)appDidBecomeVisible; - (void)appDidBackground; @end