diff --git a/ios/Mattermost/AppDelegate.mm b/ios/Mattermost/AppDelegate.mm index 3bc4d11fd..a452e2375 100644 --- a/ios/Mattermost/AppDelegate.mm +++ b/ios/Mattermost/AppDelegate.mm @@ -4,7 +4,7 @@ #import #import - +#import #import #import #import @@ -51,6 +51,7 @@ NSString* const NOTIFICATION_TEST_ACTION = @"test"; [[GekidouWrapper default] setPreference:@"true" forKey:@"ApplicationIsRunning"]; [RNNotifications startMonitorNotifications]; + RCTAppSetupPrepareApp(application, true); self.moduleName = @"Mattermost"; // You can add your custom initial props in the dictionary below.