@flomentumsolutions/capacitor-health-extended 0.1.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{FlomentumsolutionsCapacitorHealthExtended.podspec → FlomentumSolutionsCapacitorHealthExtended.podspec} +6 -6
- package/LICENSE +1 -0
- package/Package.swift +27 -0
- package/README.md +123 -24
- package/android/build.gradle +15 -10
- package/android/src/main/AndroidManifest.xml +1 -1
- package/android/src/main/java/com/flomentum/health/capacitor/HealthPlugin.kt +732 -45
- package/android/src/main/java/com/flomentum/health/capacitor/PermissionsRationaleActivity.kt +1 -1
- package/dist/esm/definitions.d.ts +10 -6
- package/dist/esm/definitions.js.map +1 -1
- package/ios/Sources/HealthPluginPlugin/HealthPlugin.swift +544 -90
- package/package.json +40 -17
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flomentumsolutions/capacitor-health-extended",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Capacitor plugin for Apple HealthKit and Google Health Connect Platform",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/esm/index.d.ts",
|
|
8
|
+
"private": false,
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public"
|
|
11
|
+
},
|
|
8
12
|
"unpkg": "dist/plugin.js",
|
|
9
13
|
"files": [
|
|
10
14
|
"android/src/main/",
|
|
@@ -13,13 +17,30 @@
|
|
|
13
17
|
"ios/Sources",
|
|
14
18
|
"ios/Tests",
|
|
15
19
|
"Package.swift",
|
|
16
|
-
"
|
|
20
|
+
"FlomentumSolutionsCapacitorHealthExtended.podspec"
|
|
17
21
|
],
|
|
18
|
-
"author":
|
|
22
|
+
"author": {
|
|
23
|
+
"name": "Flomentum Solutions, LLC",
|
|
24
|
+
"url": "https://github.com/Flomentum-Solutions"
|
|
25
|
+
},
|
|
19
26
|
"license": "MIT",
|
|
27
|
+
"contributors": [
|
|
28
|
+
{
|
|
29
|
+
"name": "Michael Ley",
|
|
30
|
+
"url": "https://github.com/mley"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "Flomentum Solutions, LLC",
|
|
34
|
+
"url": "https://github.com/Flomentum-Solutions"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"name": "MBRO95",
|
|
38
|
+
"url": "https://github.com/MBRO95"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
20
41
|
"repository": {
|
|
21
42
|
"type": "git",
|
|
22
|
-
"url": "https://github.com/Flomentum-Solutions/capacitor-health-extended.git"
|
|
43
|
+
"url": "git+https://github.com/Flomentum-Solutions/capacitor-health-extended.git"
|
|
23
44
|
},
|
|
24
45
|
"bugs": {
|
|
25
46
|
"url": "https://github.com/Flomentum-Solutions/capacitor-health-extended/issues"
|
|
@@ -36,7 +57,7 @@
|
|
|
36
57
|
],
|
|
37
58
|
"scripts": {
|
|
38
59
|
"verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
|
|
39
|
-
"verify:ios": "xcodebuild -scheme
|
|
60
|
+
"verify:ios": "xcodebuild -scheme FlomentumSolutionsCapacitorHealthExtended -destination generic/platform=iOS",
|
|
40
61
|
"verify:android": "cd android && ./gradlew clean build test && cd ..",
|
|
41
62
|
"verify:web": "npm run build",
|
|
42
63
|
"lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
|
|
@@ -48,26 +69,28 @@
|
|
|
48
69
|
"build": "npm run clean && tsc && rollup -c rollup.config.mjs",
|
|
49
70
|
"clean": "rimraf ./dist",
|
|
50
71
|
"watch": "tsc --watch",
|
|
51
|
-
"prepublishOnly": "npm run build"
|
|
72
|
+
"prepublishOnly": "npm run build",
|
|
73
|
+
"postversion": "git push --follow-tags"
|
|
52
74
|
},
|
|
53
75
|
"devDependencies": {
|
|
54
|
-
"@capacitor/android": "^
|
|
55
|
-
"@capacitor/
|
|
56
|
-
"@capacitor/
|
|
57
|
-
"@capacitor/
|
|
76
|
+
"@capacitor/android": "^8.0.0",
|
|
77
|
+
"@capacitor/cli": "^8.0.0",
|
|
78
|
+
"@capacitor/core": "^8.0.0",
|
|
79
|
+
"@capacitor/docgen": "^0.3.1",
|
|
80
|
+
"@capacitor/ios": "^8.0.0",
|
|
58
81
|
"@ionic/eslint-config": "^0.4.0",
|
|
59
82
|
"@ionic/prettier-config": "^4.0.0",
|
|
60
83
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
61
|
-
"eslint": "^8.57.
|
|
62
|
-
"prettier": "^3.
|
|
63
|
-
"prettier-plugin-java": "^2.
|
|
64
|
-
"rimraf": "^6.0
|
|
65
|
-
"rollup": "^4.
|
|
84
|
+
"eslint": "^8.57.1",
|
|
85
|
+
"prettier": "^3.6.2",
|
|
86
|
+
"prettier-plugin-java": "^2.7.7",
|
|
87
|
+
"rimraf": "^6.1.0",
|
|
88
|
+
"rollup": "^4.53.2",
|
|
66
89
|
"swiftlint": "^2.0.0",
|
|
67
|
-
"typescript": "
|
|
90
|
+
"typescript": "^5.9.3"
|
|
68
91
|
},
|
|
69
92
|
"peerDependencies": {
|
|
70
|
-
"@capacitor/core": ">=
|
|
93
|
+
"@capacitor/core": ">=8.0.0"
|
|
71
94
|
},
|
|
72
95
|
"prettier": "@ionic/prettier-config",
|
|
73
96
|
"swiftlint": "@ionic/swiftlint-config",
|