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
8365a562
Commit
8365a562
authored
Oct 02, 2018
by
Adam Ivancza
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for iOS 10
parent
e3725593
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
RCTAppleHealthKit/RCTAppleHealthKit+Queries.m
RCTAppleHealthKit/RCTAppleHealthKit+Queries.m
+11
-1
No files found.
RCTAppleHealthKit/RCTAppleHealthKit+Queries.m
View file @
8365a562
...
...
@@ -178,12 +178,22 @@
isTracked
=
false
;
}
NSString
*
device
=
@""
;
if
(
@available
(
iOS
11
.
0
,
*
))
{
device
=
[[
sample
sourceRevision
]
productType
];
}
else
{
device
=
[[
sample
device
]
name
];
if
(
!
device
)
{
device
=
@"iPhone"
;
}
}
NSDictionary
*
elem
=
@{
valueType
:
@
(
value
),
@"tracked"
:
@
(
isTracked
),
@"sourceName"
:
[[[
sample
sourceRevision
]
source
]
name
],
@"sourceId"
:
[[[
sample
sourceRevision
]
source
]
bundleIdentifier
],
@"device"
:
[[
sample
sourceRevision
]
productType
]
,
@"device"
:
device
,
@"start"
:
startDateString
,
@"end"
:
endDateString
};
...
...
冷佳娟
💪
@20170121
mentioned in commit
b1862448
·
Nov 06, 2019
mentioned in commit
b1862448
mentioned in commit b1862448be140a509eb17432370f6d6e47e7b849
Toggle commit list
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