Commit 458d845e authored by Greg Wilson's avatar Greg Wilson

testing getDailyStepSamples

parent 29a807dc
...@@ -234,10 +234,10 @@ class BodyStore extends airflux.Store { ...@@ -234,10 +234,10 @@ class BodyStore extends airflux.Store {
let self = this; let self = this;
let d = new Date(2016,4,27); let d = new Date(2016,4,27);
let options = { let options = {
unit: "pound", unit: "gram",
startDate: d.toISOString(), startDate: d.toISOString(),
ascending: false, ascending: false,
limit:2, limit:3,
}; };
AppleHealthKit.getWeightSamples(options, (err, samples) => { AppleHealthKit.getWeightSamples(options, (err, samples) => {
if(this._handleHealthKitError(err, 'getWeightSamples')){ if(this._handleHealthKitError(err, 'getWeightSamples')){
......
...@@ -31,8 +31,8 @@ ...@@ -31,8 +31,8 @@
* on the same Wi-Fi network. * on the same Wi-Fi network.
*/ */
jsCodeLocation = [NSURL URLWithString:@"http://192.168.0.14:8081/index.ios.bundle?platform=ios&dev=true"]; // jsCodeLocation = [NSURL URLWithString:@"http://192.168.0.14:8081/index.ios.bundle?platform=ios&dev=true"];
jsCodeLocation = [NSURL URLWithString:@"http://10.1.14.163:8081/index.ios.bundle?platform=ios&dev=true"];
/** /**
* OPTION 2 * OPTION 2
* Load from pre-bundled file on disk. The static bundle is automatically * Load from pre-bundled file on disk. The static bundle is automatically
......
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