Installing Ionic geolocation plugin.

This commit is contained in:
Eric van der Vlist 2022-09-01 12:59:45 +02:00
parent 6e419839e9
commit 375d173d6d
2 changed files with 93 additions and 0 deletions

90
package-lock.json generated
View File

@ -7,6 +7,8 @@
"": { "": {
"version": "0.0.1", "version": "0.0.1",
"dependencies": { "dependencies": {
"@awesome-cordova-plugins/core": "^5.44.0",
"@awesome-cordova-plugins/geolocation": "^5.44.0",
"@capacitor/android": "4.1.0", "@capacitor/android": "4.1.0",
"@capacitor/app": "4.0.1", "@capacitor/app": "4.0.1",
"@capacitor/core": "4.1.0", "@capacitor/core": "4.1.0",
@ -25,6 +27,7 @@
"@types/react-leaflet": "^2.8.2", "@types/react-leaflet": "^2.8.2",
"@types/react-router": "^5.1.11", "@types/react-router": "^5.1.11",
"@types/react-router-dom": "^5.1.7", "@types/react-router-dom": "^5.1.7",
"cordova-plugin-geolocation": "^4.1.0",
"ionicons": "^6.0.3", "ionicons": "^6.0.3",
"leaflet": "^1.8.0", "leaflet": "^1.8.0",
"react": "^18.2.0", "react": "^18.2.0",
@ -69,6 +72,29 @@
"node": ">=6.0.0" "node": ">=6.0.0"
} }
}, },
"node_modules/@awesome-cordova-plugins/core": {
"version": "5.44.0",
"resolved": "https://registry.npmjs.org/@awesome-cordova-plugins/core/-/core-5.44.0.tgz",
"integrity": "sha512-LFa0RQyKoiMoh8GiFTOUh+SHdxs6XiozCAzOqq0YUrAAGb/sQRwZ+pDtqw0RTSQqN7DV3FH8ayeuHX8LEm3bNA==",
"dependencies": {
"@types/cordova": "latest"
},
"peerDependencies": {
"rxjs": "^5.5.0 || ^6.5.0 || ^7.3.0"
}
},
"node_modules/@awesome-cordova-plugins/geolocation": {
"version": "5.44.0",
"resolved": "https://registry.npmjs.org/@awesome-cordova-plugins/geolocation/-/geolocation-5.44.0.tgz",
"integrity": "sha512-2lC9wVwO2csLT9B1PXn9ZXj/O7GhpYr1+9NWZ0tvVjeSGXtge72z6LfXN+N+CN0UysF0SIfZcaKQIpPWtA4KlQ==",
"dependencies": {
"@types/cordova": "latest"
},
"peerDependencies": {
"@awesome-cordova-plugins/core": "^5.1.0",
"rxjs": "^5.5.0 || ^6.5.0 || ^7.3.0"
}
},
"node_modules/@babel/code-frame": { "node_modules/@babel/code-frame": {
"version": "7.18.6", "version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
@ -3673,6 +3699,11 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"node_modules/@types/cordova": {
"version": "0.0.34",
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
},
"node_modules/@types/eslint": { "node_modules/@types/eslint": {
"version": "8.4.6", "version": "8.4.6",
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.6.tgz", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.6.tgz",
@ -5750,6 +5781,21 @@
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
}, },
"node_modules/cordova-plugin-geolocation": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-geolocation/-/cordova-plugin-geolocation-4.1.0.tgz",
"integrity": "sha512-y5io/P10xGMxSn2KEqfv/fExK47eA1pmSonJdmDqDsaSADV9JpgdPx0mUSA08+5pzma/OS9R0LoODeDPx7Jvjg==",
"engines": {
"cordovaDependencies": {
"3.0.0": {
"cordova-android": ">=6.3.0"
},
"5.0.0": {
"cordova": ">100"
}
}
}
},
"node_modules/core-js": { "node_modules/core-js": {
"version": "3.25.0", "version": "3.25.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.0.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.0.tgz",
@ -13416,6 +13462,15 @@
"queue-microtask": "^1.2.2" "queue-microtask": "^1.2.2"
} }
}, },
"node_modules/rxjs": {
"version": "7.5.6",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz",
"integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==",
"peer": true,
"dependencies": {
"tslib": "^2.1.0"
}
},
"node_modules/safe-buffer": { "node_modules/safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
@ -16002,6 +16057,22 @@
"@jridgewell/trace-mapping": "^0.3.9" "@jridgewell/trace-mapping": "^0.3.9"
} }
}, },
"@awesome-cordova-plugins/core": {
"version": "5.44.0",
"resolved": "https://registry.npmjs.org/@awesome-cordova-plugins/core/-/core-5.44.0.tgz",
"integrity": "sha512-LFa0RQyKoiMoh8GiFTOUh+SHdxs6XiozCAzOqq0YUrAAGb/sQRwZ+pDtqw0RTSQqN7DV3FH8ayeuHX8LEm3bNA==",
"requires": {
"@types/cordova": "latest"
}
},
"@awesome-cordova-plugins/geolocation": {
"version": "5.44.0",
"resolved": "https://registry.npmjs.org/@awesome-cordova-plugins/geolocation/-/geolocation-5.44.0.tgz",
"integrity": "sha512-2lC9wVwO2csLT9B1PXn9ZXj/O7GhpYr1+9NWZ0tvVjeSGXtge72z6LfXN+N+CN0UysF0SIfZcaKQIpPWtA4KlQ==",
"requires": {
"@types/cordova": "latest"
}
},
"@babel/code-frame": { "@babel/code-frame": {
"version": "7.18.6", "version": "7.18.6",
"resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.18.6.tgz",
@ -18455,6 +18526,11 @@
"@types/node": "*" "@types/node": "*"
} }
}, },
"@types/cordova": {
"version": "0.0.34",
"resolved": "https://registry.npmjs.org/@types/cordova/-/cordova-0.0.34.tgz",
"integrity": "sha512-rkiiTuf/z2wTd4RxFOb+clE7PF4AEJU0hsczbUdkHHBtkUmpWQpEddynNfJYKYtZFJKbq4F+brfekt1kx85IZA=="
},
"@types/eslint": { "@types/eslint": {
"version": "8.4.6", "version": "8.4.6",
"resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.6.tgz", "resolved": "https://registry.npmjs.org/@types/eslint/-/eslint-8.4.6.tgz",
@ -20058,6 +20134,11 @@
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
}, },
"cordova-plugin-geolocation": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/cordova-plugin-geolocation/-/cordova-plugin-geolocation-4.1.0.tgz",
"integrity": "sha512-y5io/P10xGMxSn2KEqfv/fExK47eA1pmSonJdmDqDsaSADV9JpgdPx0mUSA08+5pzma/OS9R0LoODeDPx7Jvjg=="
},
"core-js": { "core-js": {
"version": "3.25.0", "version": "3.25.0",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.0.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.25.0.tgz",
@ -25453,6 +25534,15 @@
"queue-microtask": "^1.2.2" "queue-microtask": "^1.2.2"
} }
}, },
"rxjs": {
"version": "7.5.6",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.5.6.tgz",
"integrity": "sha512-dnyv2/YsXhnm461G+R/Pe5bWP41Nm6LBXEYWI6eiFP4fiwx6WRI/CD0zbdVAudd9xwLEF2IDcKXLHit0FYjUzw==",
"peer": true,
"requires": {
"tslib": "^2.1.0"
}
},
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",

View File

@ -3,6 +3,8 @@
"version": "0.0.1", "version": "0.0.1",
"private": true, "private": true,
"dependencies": { "dependencies": {
"@awesome-cordova-plugins/core": "^5.44.0",
"@awesome-cordova-plugins/geolocation": "^5.44.0",
"@capacitor/android": "4.1.0", "@capacitor/android": "4.1.0",
"@capacitor/app": "4.0.1", "@capacitor/app": "4.0.1",
"@capacitor/core": "4.1.0", "@capacitor/core": "4.1.0",
@ -21,6 +23,7 @@
"@types/react-leaflet": "^2.8.2", "@types/react-leaflet": "^2.8.2",
"@types/react-router": "^5.1.11", "@types/react-router": "^5.1.11",
"@types/react-router-dom": "^5.1.7", "@types/react-router-dom": "^5.1.7",
"cordova-plugin-geolocation": "^4.1.0",
"ionicons": "^6.0.3", "ionicons": "^6.0.3",
"leaflet": "^1.8.0", "leaflet": "^1.8.0",
"react": "^18.2.0", "react": "^18.2.0",