File tree 1 file changed +5
-0
lines changed
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 11
11
#import < FlipperKitNetworkPlugin/FlipperKitNetworkPlugin.h>
12
12
#import < SKIOSNetworkPlugin/SKIOSNetworkAdapter.h>
13
13
#import < FlipperKitReactPlugin/FlipperKitReactPlugin.h>
14
+ // #import "RCTAppleHealthKit.h" // <-- Uncomment this line to use background observers
14
15
15
16
static void InitializeFlipper (UIApplication *application) {
16
17
FlipperClient *client = [FlipperClient sharedClient ];
@@ -43,6 +44,10 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
43
44
rootViewController.view = rootView;
44
45
self.window .rootViewController = rootViewController;
45
46
[self .window makeKeyAndVisible ];
47
+
48
+ /* Add Background initializer for HealthKit */
49
+ // [[RCTAppleHealthKit new] initializeBackgroundObservers:bridge]; // <-- Uncomment this line to use background observers
50
+
46
51
return YES ;
47
52
}
48
53
You can’t perform that action at this time.
0 commit comments