@capacitor/background-runner 1.0.1-dev-20230731T150028.0 → 1.0.1-dev-20230731T175405.0

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/README.md CHANGED
@@ -186,6 +186,11 @@ In addition to the standard Web APIs, Background Runner also supports a number o
186
186
 
187
187
  Currently, the runners are designed for performing periodic bursts of work while your app is in the background, or for executing asynchronous work in a separate thread from your UI while your app is in the foreground. As a result, runners are not long lived. State is not maintained between calls to events in the runner. Each call to `dispatchEvent()` creates a new context in with your runner code is loaded and executed, and once `completed()` is called, the context is destroyed.
188
188
 
189
+ ## Android Battery Optimizations
190
+ Some Android vendors offer built-in battery optimization settings that go beyond what stock Android provides. Some of these optimizations must be disabled by your end users in order for your background tasks to work properly.
191
+
192
+ Visit [Don't kill my app!](https://dontkillmyapp.com) for more information on the affected manufacturers and steps required by your users to adjust the settings.
193
+
189
194
  ## Limitations of Background Tasks
190
195
 
191
196
  It’s not possible to run persistent, always running background services on mobile operating systems. Due to the limitations imposed by iOS and Android designed to reduce battery and data consumption, background tasks are constrained with various limitations that you must keep in mind while designing and implementing your background task.
package/dist/plugin.js CHANGED
@@ -31,5 +31,5 @@ var capacitorBackgroundRunner = (function (exports, core) {
31
31
 
32
32
  return exports;
33
33
 
34
- }({}, capacitorExports));
34
+ })({}, capacitorExports);
35
35
  //# sourceMappingURL=plugin.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/background-runner",
3
- "version": "1.0.1-dev-20230731T150028.0",
3
+ "version": "1.0.1-dev-20230731T175405.0",
4
4
  "description": "Capacitor Background Runner",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -47,19 +47,19 @@
47
47
  "postinstall": "node ./scripts/install_libs.js"
48
48
  },
49
49
  "devDependencies": {
50
- "@capacitor/android": "^5.2.1",
51
- "@capacitor/cli": "^5.2.1",
52
- "@capacitor/core": "^5.2.1",
50
+ "@capacitor/android": "^5.2.2",
51
+ "@capacitor/cli": "^5.2.2",
52
+ "@capacitor/core": "^5.2.2",
53
53
  "@capacitor/docgen": "^0.0.18",
54
- "@capacitor/ios": "^5.2.1",
54
+ "@capacitor/ios": "^5.2.2",
55
55
  "@ionic/eslint-config": "^0.3.0",
56
56
  "@ionic/prettier-config": "^1.0.1",
57
57
  "@ionic/swiftlint-config": "^1.1.2",
58
- "eslint": "^7.11.0",
59
- "prettier": "~2.3.0",
58
+ "eslint": "^7.32.0",
59
+ "prettier": "~2.3.2",
60
60
  "prettier-plugin-java": "~2.1.0",
61
61
  "rimraf": "^3.0.2",
62
- "rollup": "^2.32.0",
62
+ "rollup": "^2.79.1",
63
63
  "swiftlint": "^1.0.2",
64
64
  "typescript": "^5.1.6"
65
65
  },
@@ -79,5 +79,5 @@
79
79
  "src": "android"
80
80
  }
81
81
  },
82
- "gitHead": "353dbe331f5ed2344ded407041e001e440b9d0ee"
82
+ "gitHead": "e954d30817185152c5ff0c63cd9bc7a6e3b5cfa0"
83
83
  }