Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rn-apple-healthkit
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ym
rn-apple-healthkit
Commits
458d845e
Commit
458d845e
authored
Jun 30, 2016
by
Greg Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing getDailyStepSamples
parent
29a807dc
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
examples/BodyMeasurements/app/stores/body.js
examples/BodyMeasurements/app/stores/body.js
+2
-2
examples/BodyMeasurements/ios/BodyMeasurements/AppDelegate.m
examples/BodyMeasurements/ios/BodyMeasurements/AppDelegate.m
+2
-2
No files found.
examples/BodyMeasurements/app/stores/body.js
View file @
458d845e
...
...
@@ -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
'
)){
...
...
examples/BodyMeasurements/ios/BodyMeasurements/AppDelegate.m
View file @
458d845e
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment