File tree Expand file tree Collapse file tree 6 files changed +63
-23
lines changed
src/health-data/platforms Expand file tree Collapse file tree 6 files changed +63
-23
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @nativescript-community/health-data" ,
3- "version" : " 1 .0.0" ,
3+ "version" : " 2 .0.0" ,
44 "homepage" : " https://github.com/nativescript-community/health-data#readme" ,
55 "bugs" : {
66 "url" : " https://github.com/nativescript-community/health-data/issues"
Original file line number Diff line number Diff line change 11{
2- "name" : " nativescript-health-data" ,
3- "version" : " 1.3 .0" ,
4- "description" : " Health Data plugin for Nativescript, using Google Fit and Apple HealthKit." ,
2+ "name" : " @ nativescript-community/ health-data" ,
3+ "version" : " 2.0 .0" ,
4+ "description" : " Health Data plugin for Nativescript, using Google Fit and Apple HealthKit." ,
55 "main" : " ./index" ,
66 "sideEffects" : false ,
77 "typings" : " ./index.d.ts" ,
2121 }
2222 },
2323 "keywords" : [
24- " NativeScript" ,
25- " JavaScript" ,
26- " Android" ,
27- " iOS" ,
28- " Health" ,
29- " HealthKit" ,
30- " Google Fit"
24+ " NativeScript" ,
25+ " JavaScript" ,
26+ " Android" ,
27+ " iOS" ,
28+ " Health" ,
29+ " HealthKit" ,
30+ " Google Fit"
3131 ],
3232 "author" : {
33- "name" : " Eddy Verbruggen" ,
34- "email" : " eddyverbruggen@gmail.com"
33+ "name" : " Eddy Verbruggen" ,
34+ "email" : " eddyverbruggen@gmail.com"
3535 },
3636 "contributors" : [
37- {
38- "name" : " Filipe Mendes" ,
39- "email" : " filipemendes1994@gmail.com"
40- },
41- {
42- "name" : " Daniel Leal" ,
43- "url" : " https://github.com/danielgek"
44- }
37+ {
38+ "name" : " Filipe Mendes" ,
39+ "email" : " filipemendes1994@gmail.com"
40+ },
41+ {
42+ "name" : " Daniel Leal" ,
43+ "url" : " https://github.com/danielgek"
44+ }
4545 ],
4646 "bugs" : {
4747 "url" : " https://github.com/nativescript-community/health-data/issues"
5252 },
5353 "license" : " Apache-2.0" ,
5454 "readmeFilename" : " README.md" ,
55- "dependencies" : {
56- }
55+ "dependencies" : {}
5756}
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
3+ <uses-permission android : name =" android.permission.ACCESS_FINE_LOCATION" />
4+ <uses-permission android : name =" android.permission.ACCESS_NETWORK_STATE" />
5+ <uses-permission android : name =" android.permission.GET_ACCOUNTS" />
6+ <uses-permission android : name =" android.permission.BODY_SENSORS" />
7+ <uses-permission android : name =" com.google.android.gms.permission.ACTIVITY_RECOGNITION" maxSdkVersion =" 28" />
8+ <uses-permission android : name =" android.permission.ACTIVITY_RECOGNITION" />
9+ </manifest >
Original file line number Diff line number Diff line change 1+ allprojects {
2+ repositories {
3+ jcenter()
4+ maven {
5+ url " https://maven.google.com"
6+ }
7+ }
8+ }
9+
10+ dependencies {
11+ implementation ' com.google.android.gms:play-services-fitness:16.0.1'
12+ implementation ' com.google.android.gms:play-services-auth:16.0.1'
13+ }
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >NSHealthShareUsageDescription </key >
6+ <string >HealthKit Share Usage Description </string >
7+ <key >NSHealthUpdateUsageDescription </key >
8+ <string >HealthKit Update Usage Description </string >
9+ </dict >
10+ </plist >
Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+ <plist version =" 1.0" >
4+ <dict >
5+ <key >com.apple.developer.healthkit</key >
6+ <true />
7+ </dict >
8+ </plist >
9+
You can’t perform that action at this time.
0 commit comments