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
85998baa
Commit
85998baa
authored
Jul 08, 2016
by
Greg Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated steps example app
parent
e43cdf93
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
84 additions
and
16 deletions
+84
-16
examples/StepsDemo/app/components/home/index.js
examples/StepsDemo/app/components/home/index.js
+1
-1
examples/StepsDemo/ios/StepsDemo.xcodeproj/project.pbxproj
examples/StepsDemo/ios/StepsDemo.xcodeproj/project.pbxproj
+12
-12
examples/StepsDemo/ios/StepsDemo/AppDelegate.m
examples/StepsDemo/ios/StepsDemo/AppDelegate.m
+3
-3
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/Contents.json
...psDemo/Images.xcassets/AppIcon-1.appiconset/Contents.json
+62
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-1.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-1.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-2.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-2.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-3.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-3.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-4.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-4.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-5.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-5.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-6.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-6.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-7.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-7.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-8.png
...tepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-8.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps.png
.../StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps.png
+0
-0
examples/StepsDemo/ios/StepsDemo/Images.xcassets/Contents.json
...les/StepsDemo/ios/StepsDemo/Images.xcassets/Contents.json
+6
-0
No files found.
examples/StepsDemo/app/components/home/index.js
View file @
85998baa
...
...
@@ -63,7 +63,7 @@ class Home extends Component {
//setTimeout(() => {
//
// let options = {
// value:
35
0,
// value:
10
0,
// startDate: (new Date(2016,6,2,6,0,0)).toISOString(),
// endDate: (new Date(2016,6,2,6,30,0)).toISOString()
// };
...
...
examples/StepsDemo/ios/StepsDemo.xcodeproj/project.pbxproj
View file @
85998baa
...
...
@@ -23,7 +23,7 @@
140ED2AC1D01E1AD002B40FF
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
146834051AC3E58100842450
/* libReact.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
146834041AC3E56700842450
/* libReact.a */
;
};
378616B61D257B040027C300
/* HealthKit.framework in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
378616B51D257B040027C300
/* HealthKit.framework */
;
};
379EEE9
21D285CA70062AF55
/* libRCTAppleHealthKit.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
379EEE911D285CA3
0062AF55
/* libRCTAppleHealthKit.a */
;
};
379EEE9
91D286FEF0062AF55
/* libRCTAppleHealthKit.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
379EEE981D286FE8
0062AF55
/* libRCTAppleHealthKit.a */
;
};
832341BD1AAA6AB300B99B32
/* libRCTText.a in Frameworks */
=
{
isa
=
PBXBuildFile
;
fileRef
=
832341B51AAA6A8300B99B32
/* libRCTText.a */
;
};
/* End PBXBuildFile section */
...
...
@@ -91,9 +91,9 @@
remoteGlobalIDString
=
83CBBA2E1A601D0E00E9B192
;
remoteInfo
=
React
;
};
379EEE9
01D285CA3
0062AF55
/* PBXContainerItemProxy */
=
{
379EEE9
71D286FE8
0062AF55
/* PBXContainerItemProxy */
=
{
isa
=
PBXContainerItemProxy
;
containerPortal
=
379EEE
8C1D285CA2
0062AF55
/* RCTAppleHealthKit.xcodeproj */
;
containerPortal
=
379EEE
931D286FE8
0062AF55
/* RCTAppleHealthKit.xcodeproj */
;
proxyType
=
2
;
remoteGlobalIDString
=
3774C88D1D2092F20000B3F3
;
remoteInfo
=
RCTAppleHealthKit
;
...
...
@@ -136,7 +136,7 @@
146833FF1AC3E56700842450
/* React.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
React.xcodeproj
;
path
=
"../node_modules/react-native/React/React.xcodeproj"
;
sourceTree
=
"<group>"
;
};
378616B51D257B040027C300
/* HealthKit.framework */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
wrapper.framework
;
name
=
HealthKit.framework
;
path
=
System/Library/Frameworks/HealthKit.framework
;
sourceTree
=
SDKROOT
;
};
378616B71D257B040027C300
/* StepsDemo.entitlements */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
text.xml
;
name
=
StepsDemo.entitlements
;
path
=
StepsDemo/StepsDemo.entitlements
;
sourceTree
=
"<group>"
;
};
379EEE
8C1D285CA2
0062AF55
/* RCTAppleHealthKit.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTAppleHealthKit.xcodeproj
;
path
=
"../node_modules/react-native-apple-healthkit/RCTAppleHealthKit.xcodeproj"
;
sourceTree
=
"<group>"
;
};
379EEE
931D286FE8
0062AF55
/* RCTAppleHealthKit.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTAppleHealthKit.xcodeproj
;
path
=
"../node_modules/react-native-apple-healthkit/RCTAppleHealthKit.xcodeproj"
;
sourceTree
=
"<group>"
;
};
78C398B01ACF4ADC00677621
/* RCTLinking.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTLinking.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"
;
sourceTree
=
"<group>"
;
};
832341B01AAA6A8300B99B32
/* RCTText.xcodeproj */
=
{
isa
=
PBXFileReference
;
lastKnownFileType
=
"wrapper.pb-project"
;
name
=
RCTText.xcodeproj
;
path
=
"../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"
;
sourceTree
=
"<group>"
;
};
/* End PBXFileReference section */
...
...
@@ -154,7 +154,7 @@
isa
=
PBXFrameworksBuildPhase
;
buildActionMask
=
2147483647
;
files
=
(
379EEE9
21D285CA7
0062AF55
/* libRCTAppleHealthKit.a in Frameworks */
,
379EEE9
91D286FEF
0062AF55
/* libRCTAppleHealthKit.a in Frameworks */
,
146834051AC3E58100842450
/* libReact.a in Frameworks */
,
00C302E51ABCBA2D00DB3ED1
/* libRCTActionSheet.a in Frameworks */
,
378616B61D257B040027C300
/* HealthKit.framework in Frameworks */
,
...
...
@@ -268,10 +268,10 @@
name
=
Products
;
sourceTree
=
"<group>"
;
};
379EEE
8D1D285CA2
0062AF55
/* Products */
=
{
379EEE
941D286FE8
0062AF55
/* Products */
=
{
isa
=
PBXGroup
;
children
=
(
379EEE9
11D285CA3
0062AF55
/* libRCTAppleHealthKit.a */
,
379EEE9
81D286FE8
0062AF55
/* libRCTAppleHealthKit.a */
,
);
name
=
Products
;
sourceTree
=
"<group>"
;
...
...
@@ -287,7 +287,7 @@
832341AE1AAA6A7D00B99B32
/* Libraries */
=
{
isa
=
PBXGroup
;
children
=
(
379EEE
8C1D285CA2
0062AF55
/* RCTAppleHealthKit.xcodeproj */
,
379EEE
931D286FE8
0062AF55
/* RCTAppleHealthKit.xcodeproj */
,
146833FF1AC3E56700842450
/* React.xcodeproj */
,
00C302A71ABCB8CE00DB3ED1
/* RCTActionSheet.xcodeproj */
,
00C302B51ABCB90400DB3ED1
/* RCTGeolocation.xcodeproj */
,
...
...
@@ -411,8 +411,8 @@
ProjectRef
=
00C302A71ABCB8CE00DB3ED1
/* RCTActionSheet.xcodeproj */
;
},
{
ProductGroup
=
379EEE
8D1D285CA2
0062AF55
/* Products */
;
ProjectRef
=
379EEE
8C1D285CA2
0062AF55
/* RCTAppleHealthKit.xcodeproj */
;
ProductGroup
=
379EEE
941D286FE8
0062AF55
/* Products */
;
ProjectRef
=
379EEE
931D286FE8
0062AF55
/* RCTAppleHealthKit.xcodeproj */
;
},
{
ProductGroup
=
00C302B61ABCB90400DB3ED1
/* Products */
;
...
...
@@ -516,11 +516,11 @@
remoteRef
=
146834031AC3E56700842450
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
379EEE9
11D285CA3
0062AF55
/* libRCTAppleHealthKit.a */
=
{
379EEE9
81D286FE8
0062AF55
/* libRCTAppleHealthKit.a */
=
{
isa
=
PBXReferenceProxy
;
fileType
=
archive.ar
;
path
=
libRCTAppleHealthKit.a
;
remoteRef
=
379EEE9
01D285CA3
0062AF55
/* PBXContainerItemProxy */
;
remoteRef
=
379EEE9
71D286FE8
0062AF55
/* PBXContainerItemProxy */
;
sourceTree
=
BUILT_PRODUCTS_DIR
;
};
78C398B91ACF4ADC00677621
/* libRCTLinking.a */
=
{
...
...
examples/StepsDemo/ios/StepsDemo/AppDelegate.m
View file @
85998baa
...
...
@@ -30,9 +30,9 @@
* `inet` value under `en0:`) and make sure your computer and iOS device are
* 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://10.1.14.163: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
...
...
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/Contents.json
0 → 100644
View file @
85998baa
{
"images"
:
[
{
"size"
:
"29x29"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-4.png"
,
"scale"
:
"1x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-5.png"
,
"scale"
:
"2x"
},
{
"size"
:
"29x29"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-6.png"
,
"scale"
:
"3x"
},
{
"size"
:
"40x40"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-2.png"
,
"scale"
:
"2x"
},
{
"size"
:
"40x40"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-3.png"
,
"scale"
:
"3x"
},
{
"size"
:
"57x57"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-7.png"
,
"scale"
:
"1x"
},
{
"size"
:
"57x57"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-8.png"
,
"scale"
:
"2x"
},
{
"size"
:
"60x60"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps.png"
,
"scale"
:
"2x"
},
{
"size"
:
"60x60"
,
"idiom"
:
"iphone"
,
"filename"
:
"steps-1.png"
,
"scale"
:
"3x"
}
],
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-1.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-2.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-3.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-4.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-5.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-6.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-7.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps-8.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/AppIcon-1.appiconset/steps.png
0 → 100644
View file @
85998baa
1021 Bytes
examples/StepsDemo/ios/StepsDemo/Images.xcassets/Contents.json
0 → 100644
View file @
85998baa
{
"info"
:
{
"version"
:
1
,
"author"
:
"xcode"
}
}
\ No newline at end of file
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