diff options
Diffstat (limited to 'ios/app/AppDelegate.mm')
-rw-r--r-- | ios/app/AppDelegate.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ios/app/AppDelegate.mm b/ios/app/AppDelegate.mm index 7c0e1d8de..460c319c8 100644 --- a/ios/app/AppDelegate.mm +++ b/ios/app/AppDelegate.mm @@ -8,12 +8,17 @@ // splash screen #import "RNSplashScreen.h" +#import <TSBackgroundFetch/TSBackgroundFetch.h> + @implementation AppDelegate - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Show the splash screen // [RNSplashScreen show]; + + // Register BackgroundFetch + [[TSBackgroundFetch sharedInstance] didFinishLaunching]; self.moduleName = @"xyz.blueskyweb.app"; return [super application:application didFinishLaunchingWithOptions:launchOptions]; |