Commit 157cc3dd authored by Greg Wilson's avatar Greg Wilson

Merge branch 'master' of github.com-GregWilson:GregWilson/react-native-apple-healthkit

parents ea4888b4 f5792f91
......@@ -55,6 +55,14 @@
callback(@[RCTMakeError(@"error getting date of birth", error, nil)]);
return;
}
if(dob == nil) {
NSDictionary *response = @{
@"value" : [NSNull null],
@"age" : [NSNull null]
};
callback(@[[NSNull null], response]);
return;
}
NSString *dobString = [RCTAppleHealthKit buildISO8601StringFromDate:dob];
......
......@@ -23,9 +23,9 @@
"author": "Greg Wilson",
"license": "MIT",
"devDependencies": {
"react-native": "^0.28.0"
"react-native": ">=0.28.0"
},
"peerDependencies": {
"react-native": "^0.28.0"
"react-native": ">=0.28.0"
}
}
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