diff --git a/examples/BodyMeasurements/app/stores/body.js b/examples/BodyMeasurements/app/stores/body.js index 7ffab822838df999a34e9d45261cd4acafd0a3fe..8712c1cb525dd249e5da1db085704c7ea7b5c19c 100644 --- a/examples/BodyMeasurements/app/stores/body.js +++ b/examples/BodyMeasurements/app/stores/body.js @@ -234,10 +234,10 @@ class BodyStore extends airflux.Store { let self = this; let d = new Date(2016,4,27); let options = { - unit: "pound", + unit: "gram", startDate: d.toISOString(), ascending: false, - limit:2, + limit:3, }; AppleHealthKit.getWeightSamples(options, (err, samples) => { if(this._handleHealthKitError(err, 'getWeightSamples')){ diff --git a/examples/BodyMeasurements/ios/BodyMeasurements/AppDelegate.m b/examples/BodyMeasurements/ios/BodyMeasurements/AppDelegate.m index 980e71b216019972f6548bacfd37641e0831e2f0..68654582bc43a4c6a1ae0a854846319a101615d0 100644 --- a/examples/BodyMeasurements/ios/BodyMeasurements/AppDelegate.m +++ b/examples/BodyMeasurements/ios/BodyMeasurements/AppDelegate.m @@ -31,8 +31,8 @@ * 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 * Load from pre-bundled file on disk. The static bundle is automatically