#import #import #import // When `use_frameworks!` is used, the generated Swift header is inside modules. // Otherwise, it's available only locally with double-quoted imports. #if __has_include() #import #else #import "EXUpdatesInterface-Swift.h" #endif #if __has_include() #import #else #import "EXManifests-Swift.h" #endif #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 @class EXAppContext; @class EXDevLauncherInstallationIDHelper; @class EXDevLauncherPendingDeepLinkRegistry; @class EXDevLauncherRecentlyOpenedAppsRegistry; @class EXDevLauncherController; @class EXDevLauncherErrorManager; @protocol EXDevLauncherControllerDelegate - (void)devLauncherController:(EXDevLauncherController *)developmentClientController didStartWithSuccess:(BOOL)success; @end @interface EXDevLauncherController : RCTDefaultReactNativeFactoryDelegate @property (nonatomic, weak) RCTBridge * _Nullable appBridge; @property (nonatomic, weak) EXAppContext * _Nullable appContext; @property (nonatomic, strong) EXDevLauncherPendingDeepLinkRegistry *pendingDeepLinkRegistry; @property (nonatomic, strong) EXDevLauncherRecentlyOpenedAppsRegistry *recentlyOpenedAppsRegistry; @property (nonatomic, strong) id updatesInterface; @property (nonatomic, readonly, assign) BOOL isStarted; + (instancetype)sharedInstance; - (void)startWithWindow:(UIWindow *)window delegate:(id)delegate launchOptions:(NSDictionary * _Nullable)launchOptions; - (void)autoSetupPrepare:(id)delegate launchOptions:(NSDictionary * _Nullable)launchOptions; - (void)autoSetupStart:(UIWindow *)window; - (nullable NSURL *)sourceUrl; - (void)navigateToLauncher; - (BOOL)onDeepLink:(NSURL *)url options:(NSDictionary *)options; - (void)loadApp:(NSURL *)url onSuccess:(void (^ _Nullable)(void))onSuccess onError:(void (^ _Nullable)(NSError *error))onError; - (void)loadApp:(NSURL *)expoUrl withProjectUrl:(NSURL * _Nullable)projectUrl onSuccess:(void (^ _Nullable)(void))onSuccess onError:(void (^ _Nullable)(NSError *error))onError; - (void)clearRecentlyOpenedApps; - (NSDictionary *)getLaunchOptions; - (EXManifestsManifest * _Nullable)appManifest; - (NSURL * _Nullable)appManifestURL; - (nullable NSURL *)appManifestURLWithFallback; - (BOOL)isAppRunning; - (BOOL)isStarted; - (UIWindow * _Nullable)currentWindow; - (EXDevLauncherErrorManager *)errorManager; - (EXDevLauncherInstallationIDHelper *)installationIDHelper; + (NSString * _Nullable)version; - (NSDictionary *)getBuildInfo; - (void)copyToClipboard:(NSString *)content; - (NSDictionary *)getUpdatesConfig: (nullable NSDictionary *) constants; - (UIViewController *)createRootViewController; - (void)setRootView:(UIView *)rootView toRootViewController:(UIViewController *)rootViewController; @end NS_ASSUME_NONNULL_END