Skip to content

Commit 7ddcdce

Browse files
Merge branch 'next' into refactor/RMET-5239/replace-deprecated-bundle-get
2 parents 99a4cf3 + 371a386 commit 7ddcdce

29 files changed

Lines changed: 177 additions & 205 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ These are experimental plugins. Use at your own risk.
6161

6262
| GitHub | Package | Version |
6363
| --- | --- | --- |
64-
| [Watch](https://github.com/ionic-team/CapacitorWatch) | [`@capacitor/watch`](https://capacitorjs.com/docs/apis/watch) | [![npm badge](https://img.shields.io/npm/v/@capacitor/watch?style=flat-square)](https://www.npmjs.com/package/@capacitor/watch) |
64+
| [LocalLLM](https://github.com/ionic-team/capacitor-local-llm) | [`@capacitor/local-llm`](https://capacitorjs.com/docs/apis/local-llm) | [![npm badge](https://img.shields.io/npm/v/@capacitor/local-llm?style=flat-square)](https://www.npmjs.com/package/@capacitor/local-llm) |
6565

6666
## Contributing
6767

action-sheet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/action-sheet",
3-
"version": "8.1.1",
3+
"version": "9.0.0-alpha.0",
44
"description": "The Action Sheet API provides access to native Action Sheets, which come up from the bottom of the screen and display actions a user can take.",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

app-launcher/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/app-launcher",
3-
"version": "8.0.1",
3+
"version": "9.0.0-alpha.0",
44
"description": "The AppLauncher API allows to open other apps",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

app/android/src/main/java/com/capacitorjs/plugins/app/AppPlugin.java

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,16 @@ public class AppPlugin extends Plugin {
3333
public void load() {
3434
boolean disableBackButtonHandler = getConfig().getBoolean("disableBackButtonHandler", false);
3535

36-
bridge
37-
.getApp()
38-
.setStatusChangeListener((isActive) -> {
39-
Logger.debug(getLogTag(), "Firing change: " + isActive);
40-
JSObject data = new JSObject();
41-
data.put("isActive", isActive);
42-
notifyListeners(EVENT_STATE_CHANGE, data, false);
43-
});
44-
bridge
45-
.getApp()
46-
.setAppRestoredListener((result) -> {
47-
Logger.debug(getLogTag(), "Firing restored result");
48-
notifyListeners(EVENT_RESTORED_RESULT, result.getWrappedResult(), true);
49-
});
36+
bridge.getApp().setStatusChangeListener((isActive) -> {
37+
Logger.debug(getLogTag(), "Firing change: " + isActive);
38+
JSObject data = new JSObject();
39+
data.put("isActive", isActive);
40+
notifyListeners(EVENT_STATE_CHANGE, data, false);
41+
});
42+
bridge.getApp().setAppRestoredListener((result) -> {
43+
Logger.debug(getLogTag(), "Firing restored result");
44+
notifyListeners(EVENT_RESTORED_RESULT, result.getWrappedResult(), true);
45+
});
5046
this.onBackPressedCallback = new OnBackPressedCallback(!disableBackButtonHandler) {
5147
@Override
5248
public void handleOnBackPressed() {

app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/app",
3-
"version": "8.1.0",
3+
"version": "9.0.0-alpha.0",
44
"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.",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

browser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/browser",
3-
"version": "8.0.3",
3+
"version": "9.0.0-alpha.0",
44
"description": "The Browser API provides the ability to open an in-app browser and subscribe to browser events.",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

clipboard/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/clipboard",
3-
"version": "8.0.1",
3+
"version": "9.0.0-alpha.0",
44
"description": "The Clipboard API enables copy and pasting to/from the system clipboard.",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

device/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/device",
3-
"version": "8.0.2",
3+
"version": "9.0.0-alpha.0",
44
"description": "The Device API exposes internal information about the device, such as the model and operating system version, along with user information such as unique ids.",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

dialog/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@capacitor/dialog",
3-
"version": "8.0.1",
3+
"version": "9.0.0-alpha.0",
44
"description": "The Dialog API provides methods for triggering native dialog windows for alerts, confirmations, and input prompts",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/esm/index.js",

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"npmClientArgs": ["--no-package-lock"]
66
},
77
"version": {
8-
"allowBranch": "main",
8+
"allowBranch": "next",
99
"conventionalCommits": true,
1010
"createRelease": "github",
1111
"message": "chore(release): publish [skip ci]",

0 commit comments

Comments
 (0)