From 20878544579c0375bd64e1243462bbcf48abfb9f Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Tue, 28 Jun 2016 20:04:57 -0400 Subject: [PATCH] exported new RCT method getStepCountForDay --- RCTAppleHealthKit/RCTAppleHealthKit.m | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/RCTAppleHealthKit/RCTAppleHealthKit.m b/RCTAppleHealthKit/RCTAppleHealthKit.m index db7b2fd..1bebc28 100644 --- a/RCTAppleHealthKit/RCTAppleHealthKit.m +++ b/RCTAppleHealthKit/RCTAppleHealthKit.m @@ -78,6 +78,10 @@ RCT_EXPORT_METHOD(getStepCountForToday:(NSDictionary *)input callback:(RCTRespon [self fitness_getStepCountForToday:input callback:callback]; } +RCT_EXPORT_METHOD(getStepCountForDay:(NSDictionary *)input callback:(RCTResponseSenderBlock)callback) +{ + [self fitness_getStepCountForDay:input callback:callback]; +} -- 2.26.2