@capacitor/app 1.0.3 → 1.0.7

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/CHANGELOG.md CHANGED
@@ -3,6 +3,47 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.7](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@1.0.6...@capacitor/app@1.0.7) (2021-12-08)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **app:** Don't unset App Listeners on removeAllListeners ([#716](https://github.com/ionic-team/capacitor-plugins/issues/716)) ([17f2ee8](https://github.com/ionic-team/capacitor-plugins/commit/17f2ee8743e1366dd74771bdad9829cc5f3891e8))
12
+
13
+
14
+
15
+
16
+
17
+ ## [1.0.6](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@1.0.5...@capacitor/app@1.0.6) (2021-11-03)
18
+
19
+ **Note:** Version bump only for package @capacitor/app
20
+
21
+
22
+
23
+
24
+
25
+ ## [1.0.5](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@1.0.4...@capacitor/app@1.0.5) (2021-10-14)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * remove postpublish scripts ([#656](https://github.com/ionic-team/capacitor-plugins/issues/656)) ([ed6ac49](https://github.com/ionic-team/capacitor-plugins/commit/ed6ac499ebf4a47525071ccbfc36c27503e11f60))
31
+
32
+
33
+
34
+
35
+
36
+ ## [1.0.4](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@1.0.3...@capacitor/app@1.0.4) (2021-10-13)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * correct addListeners links ([#655](https://github.com/ionic-team/capacitor-plugins/issues/655)) ([f9871e7](https://github.com/ionic-team/capacitor-plugins/commit/f9871e7bd53478addb21155e148829f550c0e457))
42
+
43
+
44
+
45
+
46
+
6
47
  ## [1.0.3](https://github.com/ionic-team/capacitor-plugins/compare/@capacitor/app@1.0.2...@capacitor/app@1.0.3) (2021-09-01)
7
48
 
8
49
  **Note:** Version bump only for package @capacitor/app
package/README.md CHANGED
@@ -75,10 +75,10 @@ const checkAppLaunchUrl = async () => {
75
75
  * [`getInfo()`](#getinfo)
76
76
  * [`getState()`](#getstate)
77
77
  * [`getLaunchUrl()`](#getlaunchurl)
78
- * [`addListener('appStateChange', ...)`](#addlistenerappstatechange-)
79
- * [`addListener('appUrlOpen', ...)`](#addlistenerappurlopen-)
80
- * [`addListener('appRestoredResult', ...)`](#addlistenerapprestoredresult-)
81
- * [`addListener('backButton', ...)`](#addlistenerbackbutton-)
78
+ * [`addListener('appStateChange', ...)`](#addlistenerappstatechange)
79
+ * [`addListener('appUrlOpen', ...)`](#addlistenerappurlopen)
80
+ * [`addListener('appRestoredResult', ...)`](#addlistenerapprestoredresult)
81
+ * [`addListener('backButton', ...)`](#addlistenerbackbutton)
82
82
  * [`removeAllListeners()`](#removealllisteners)
83
83
  * [Interfaces](#interfaces)
84
84
  * [Type Aliases](#type-aliases)
@@ -58,13 +58,6 @@ public class AppPlugin extends Plugin {
58
58
  getActivity().getOnBackPressedDispatcher().addCallback(getActivity(), callback);
59
59
  }
60
60
 
61
- @Override
62
- @PluginMethod(returnType = PluginMethod.RETURN_NONE)
63
- public void removeAllListeners(PluginCall call) {
64
- super.removeAllListeners(call);
65
- unsetAppListeners();
66
- }
67
-
68
61
  @PluginMethod
69
62
  public void exitApp(PluginCall call) {
70
63
  unsetAppListeners();
package/dist/plugin.js CHANGED
@@ -41,5 +41,5 @@ var capacitorApp = (function (exports, core) {
41
41
 
42
42
  return exports;
43
43
 
44
- }({}, capacitorExports));
44
+ })({}, capacitorExports);
45
45
  //# sourceMappingURL=plugin.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capacitor/app",
3
- "version": "1.0.3",
3
+ "version": "1.0.7",
4
4
  "description": "The App API handles high level App state and events.For example, this API emits events when the app enters and leaves the foreground, handles deeplinks, opens other apps, and manages persisted plugin state.",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -33,7 +33,7 @@
33
33
  "verify:android": "cd android && ./gradlew clean build test && cd ..",
34
34
  "verify:web": "npm run build",
35
35
  "lint": "npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint",
36
- "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format",
36
+ "fmt": "npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- --fix --format",
37
37
  "eslint": "eslint . --ext ts",
38
38
  "prettier": "prettier \"**/*.{css,html,ts,js,java}\"",
39
39
  "swiftlint": "node-swiftlint",
@@ -41,12 +41,13 @@
41
41
  "build": "npm run clean && npm run docgen && tsc && rollup -c rollup.config.js",
42
42
  "clean": "rimraf ./dist",
43
43
  "watch": "tsc --watch",
44
- "prepublishOnly": "npm run build"
44
+ "prepublishOnly": "npm run build",
45
+ "publish:cocoapod": "pod trunk push ./CapacitorApp.podspec --allow-warnings"
45
46
  },
46
47
  "devDependencies": {
47
48
  "@capacitor/android": "^3.0.0",
48
49
  "@capacitor/core": "^3.0.0",
49
- "@capacitor/docgen": "0.0.17",
50
+ "@capacitor/docgen": "0.0.18",
50
51
  "@capacitor/ios": "^3.0.0",
51
52
  "@ionic/eslint-config": "^0.3.0",
52
53
  "@ionic/prettier-config": "~1.0.1",
@@ -78,5 +79,5 @@
78
79
  "publishConfig": {
79
80
  "access": "public"
80
81
  },
81
- "gitHead": "f0dcbb1413ba781714dfdc44f41c0ccab735b1e9"
82
+ "gitHead": "d378c00d51b1c9fb978772906448fa0ec9cb81d0"
82
83
  }