@capgo/background-geolocation 7.0.14 → 7.0.19

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capgo/background-geolocation",
3
- "version": "7.0.14",
4
- "description": "Receive geolocation updates even while the app is in the background.",
3
+ "version": "7.0.19",
4
+ "description": "Receive accurate geolocation updates even while the app is in the background.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
7
7
  "types": "dist/esm/index.d.ts",
@@ -10,7 +10,8 @@
10
10
  "android/src/main/",
11
11
  "android/build.gradle",
12
12
  "dist/",
13
- "ios/Plugin/",
13
+ "ios/Sources",
14
+ "ios/Tests",
14
15
  "Package.swift",
15
16
  "CapgoBackgroundGeolocation.podspec"
16
17
  ],
@@ -25,14 +26,13 @@
25
26
  },
26
27
  "scripts": {
27
28
  "verify": "npm run verify:ios && npm run verify:android && npm run verify:web",
28
- "verify:ios": "cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -sdk iphoneos -scheme Plugin && cd ..",
29
- "verify:iosSPM": "xcodebuild -workspace ios/Plugin.xcworkspace -scheme Plugin -destination generic/platform=iOS",
29
+ "verify:ios": "xcodebuild -scheme CapgoBackgroundGeolocation -destination generic/platform=iOS",
30
30
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
31
31
  "verify:web": "npm run build",
32
32
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
33
- "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --autocorrect --format",
34
- "eslint": "eslint .",
35
- "prettier": "prettier --config .prettierrc.js \"**/*.{css,html,ts,js,java}\"",
33
+ "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
34
+ "eslint": "eslint . --ext ts",
35
+ "prettier": "prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java",
36
36
  "swiftlint": "node-swiftlint",
37
37
  "docgen": "docgen --api BackgroundGeolocationPlugin --output-readme README.md --output-json dist/docs.json",
38
38
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs",
@@ -44,6 +44,7 @@
44
44
  "capacitor",
45
45
  "plugin",
46
46
  "native",
47
+ "accurate",
47
48
  "background",
48
49
  "geolocation"
49
50
  ],
@@ -70,11 +71,11 @@
70
71
  "peerDependencies": {
71
72
  "@capacitor/core": ">=7.0.0"
72
73
  },
74
+ "prettier": "@ionic/prettier-config",
75
+ "swiftlint": "@ionic/swiftlint-config",
73
76
  "eslintConfig": {
74
77
  "extends": "@ionic/eslint-config/recommended"
75
78
  },
76
- "prettier": "@ionic/prettier-config",
77
- "swiftlint": "@ionic/swiftlint-config",
78
79
  "capacitor": {
79
80
  "ios": {
80
81
  "src": "ios"
@@ -1,24 +0,0 @@
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>CFBundleDevelopmentRegion</key>
6
- <string>$(DEVELOPMENT_LANGUAGE)</string>
7
- <key>CFBundleExecutable</key>
8
- <string>$(EXECUTABLE_NAME)</string>
9
- <key>CFBundleIdentifier</key>
10
- <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
- <key>CFBundleInfoDictionaryVersion</key>
12
- <string>6.0</string>
13
- <key>CFBundleName</key>
14
- <string>$(PRODUCT_NAME)</string>
15
- <key>CFBundlePackageType</key>
16
- <string>FMWK</string>
17
- <key>CFBundleShortVersionString</key>
18
- <string>1.0</string>
19
- <key>CFBundleVersion</key>
20
- <string>$(CURRENT_PROJECT_VERSION)</string>
21
- <key>NSPrincipalClass</key>
22
- <string></string>
23
- </dict>
24
- </plist>
@@ -1,10 +0,0 @@
1
- #import <UIKit/UIKit.h>
2
-
3
- //! Project version number for Plugin.
4
- FOUNDATION_EXPORT double PluginVersionNumber;
5
-
6
- //! Project version string for Plugin.
7
- FOUNDATION_EXPORT const unsigned char PluginVersionString[];
8
-
9
- // In this header, you should import all the public headers of your framework using statements like #import <Plugin/PublicHeader.h>
10
-
@@ -1,9 +0,0 @@
1
- #import <Foundation/Foundation.h>
2
- #import <Capacitor/Capacitor.h>
3
-
4
- CAP_PLUGIN(BackgroundGeolocation, "BackgroundGeolocation",
5
- CAP_PLUGIN_METHOD(start, CAPPluginReturnCallback);
6
- CAP_PLUGIN_METHOD(stop, CAPPluginReturnPromise);
7
- CAP_PLUGIN_METHOD(openSettings, CAPPluginReturnPromise);
8
- CAP_PLUGIN_METHOD(setPlannedRoute, CAPPluginReturnPromise);
9
- )