Commit 84cf48ad authored by Greg Wilson's avatar Greg Wilson

fixed index.js import

parent 476d7ac2
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
@interface RCTAppleHealthKit : NSObject <RCTBridgeModule> @interface RCTAppleHealthKit : NSObject <RCTBridgeModule>
@property (nonatomic) HKHealthStore *healthStore; @property (nonatomic) HKHealthStore *healthStore;
- (void)isHealthKitAvailable:(RCTResponseSenderBlock)callback; - (void)isHealthKitAvailable:(RCTResponseSenderBlock)callback;
- (void)initializeHealthKit:(NSDictionary *)input callback:(RCTResponseSenderBlock)callback; - (void)initializeHealthKit:(NSDictionary *)input callback:(RCTResponseSenderBlock)callback;
- (void)getHealthKitUserWeight:(NSDictionary *)input callback:(RCTResponseSenderBlock)callback; - (void)getHealthKitUserWeight:(NSDictionary *)input callback:(RCTResponseSenderBlock)callback;
......
'use strict' 'use strict'
let { RCTAppleHealthKit } = require('react-native').NativeModules; let { AppleHealthKit } = require('react-native').NativeModules;
module.exports = RCTAppleHealthKit; module.exports = AppleHealthKit;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment