Skip to content

Commit

Permalink
v1.10.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajit Kumar committed May 25, 2024
1 parent 896e077 commit 5c829b7
Show file tree
Hide file tree
Showing 89 changed files with 1,134 additions and 1,582 deletions.
2 changes: 1 addition & 1 deletion .vscode/plugins.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"plugins":["cordova-clipboard","cordova-plugin-buildinfo","cordova-plugin-device","cordova-plugin-file","cordova-plugin-sftp","cordova-plugin-server","cordova-plugin-iap","cordova-plugin-ftp","cordova-plugin-sdcard","cordova-plugin-browser","cordova-plugin-system"]}
{"plugins":["cordova-clipboard","cordova-plugin-buildinfo","cordova-plugin-device","cordova-plugin-file","cordova-plugin-sftp","cordova-plugin-server","cordova-plugin-ftp","cordova-plugin-sdcard","cordova-plugin-browser","cordova-plugin-system","cordova-plugin-iap"]}
2 changes: 1 addition & 1 deletion config.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8' ?>
<widget id="com.foxdebug.acode" android-versionCode="947" version="1.10.2"
<widget id="com.foxdebug.acode" android-versionCode="950" version="1.10.3"
xmlns="http://www.w3.org/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:cdv="http://cordova.apache.org/ns/1.0">
Expand Down
2,458 changes: 1,001 additions & 1,457 deletions package-lock.json

Large diffs are not rendered by default.

44 changes: 22 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
"cordova-plugin-file": {},
"cordova-plugin-sftp": {},
"cordova-plugin-server": {},
"cordova-plugin-iap": {},
"cordova-plugin-ftp": {},
"cordova-plugin-sdcard": {},
"cordova-plugin-browser": {},
"cordova-plugin-system": {}
"cordova-plugin-system": {},
"cordova-plugin-iap": {}
},
"platforms": [
"android"
Expand All @@ -43,17 +43,17 @@
},
"homepage": "https://github.com/deadlyjack/acode#readme",
"devDependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.24.0",
"@babel/plugin-transform-runtime": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/runtime": "^7.24.0",
"@babel/runtime-corejs3": "^7.24.0",
"@babel/cli": "^7.24.6",
"@babel/core": "^7.24.6",
"@babel/plugin-transform-runtime": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/runtime": "^7.24.6",
"@babel/runtime-corejs3": "^7.24.6",
"@types/ace": "^0.0.52",
"@types/url-parse": "^1.4.11",
"autoprefixer": "^10.4.18",
"autoprefixer": "^10.4.19",
"babel-loader": "^9.1.3",
"cordova-android": "^12.0.1",
"cordova-android": "^13.0.0",
"cordova-clipboard": "^1.3.0",
"cordova-plugin-browser": "file:src/plugins/browser",
"cordova-plugin-buildinfo": "^4.0.0",
Expand All @@ -65,38 +65,38 @@
"cordova-plugin-server": "file:src/plugins/server",
"cordova-plugin-sftp": "file:src/plugins/sftp",
"cordova-plugin-system": "file:src/plugins/system",
"css-loader": "^6.10.0",
"mini-css-extract-plugin": "^2.8.1",
"css-loader": "^7.1.2",
"mini-css-extract-plugin": "^2.9.0",
"path-browserify": "^1.0.1",
"postcss-loader": "^8.1.1",
"prettier": "^3.2.5",
"prettier-plugin-java": "^2.6.0",
"raw-loader": "^4.0.2",
"sass": "^1.72.0",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"webpack": "^5.90.3",
"sass": "^1.77.2",
"sass-loader": "^14.2.1",
"style-loader": "^4.0.0",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@deadlyjack/ajax": "^1.2.6",
"@ungap/custom-elements": "^1.3.0",
"autosize": "^6.0.1",
"cordova": "12.0.0",
"core-js": "^3.36.0",
"core-js": "^3.37.1",
"crypto-js": "^4.2.0",
"escape-string-regexp": "^5.0.0",
"esprima": "^4.0.1",
"filesize": "^10.1.0",
"html-tag-js": "^1.4.3",
"filesize": "^10.1.2",
"html-tag-js": "^1.5.1",
"js-base64": "^3.7.7",
"jszip": "^3.10.1",
"markdown-it": "^14.0.0",
"markdown-it": "^14.1.0",
"mime-types": "^2.1.35",
"minimatch": "^9.0.3",
"minimatch": "^9.0.4",
"mustache": "^4.2.0",
"url-parse": "^1.5.10",
"vanilla-picker": "^2.12.2",
"vanilla-picker": "^2.12.3",
"yargs": "^17.7.2"
},
"browserslist": "cover 100%,not android < 5"
Expand Down
4 changes: 4 additions & 0 deletions res/android/values/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version='1.0' encoding='utf-8'?>
<resources xmlns:tools="http://schemas.android.com/tools">
<color name="cdv_splashscreen_background">#3a3e54</color>
</resources>
2 changes: 1 addition & 1 deletion src/plugins/iap/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
</config-file>

<source-file src="src/com/foxdebug/iap/Iap.java" target-dir="src/com/foxdebug/iap"/>
<framework src="com.android.billingclient:billing:5.1.0" />
<framework src="com.android.billingclient:billing:6.0.1" />
</platform>
</plugin>
40 changes: 22 additions & 18 deletions src/plugins/iap/src/com/foxdebug/iap/Iap.java
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public void run() {
getPurchases(callbackContext);
break;
case "acknowledgePurchase":
aknowledgePurchase(arg1, callbackContext);
acknowledgePurchase(arg1, callbackContext);
break;
}
}
Expand Down Expand Up @@ -165,25 +165,29 @@ public void onConsumeResponse(
}

private void startConnection(CallbackContext callbackContext) {
if (billingClient == null) {
billingClient = getBillingClient();
}
billingClient.startConnection(
new BillingClientStateListener() {
public void onBillingSetupFinished(BillingResult billingResult) {
int responseCode = billingResult.getResponseCode();
if (responseCode == BillingResponseCode.OK) {
callbackContext.success(responseCode);
} else {
callbackContext.error(responseCode);
try {
if (billingClient == null) {
billingClient = getBillingClient();
}
billingClient.startConnection(
new BillingClientStateListener() {
public void onBillingSetupFinished(BillingResult billingResult) {
int responseCode = billingResult.getResponseCode();
if (responseCode == BillingResponseCode.OK) {
callbackContext.success(responseCode);
} else {
callbackContext.error(responseCode);
}
}
}

public void onBillingServiceDisconnected() {
callbackContext.error("Billing service disconnected");
public void onBillingServiceDisconnected() {
callbackContext.error("Billing service disconnected");
}
}
}
);
);
} catch (SecurityException e) {
callbackContext.error(e.getMessage());
}
}

private void getProducts(
Expand Down Expand Up @@ -295,7 +299,7 @@ public void onQueryPurchasesResponse(
);
}

private void aknowledgePurchase(
private void acknowledgePurchase(
String purchaseToken,
CallbackContext callbackContext
) {
Expand Down
2 changes: 1 addition & 1 deletion www/js/ace/ace.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/ext-inline_autocomplete.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/ext-language_tools.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/ext-prompt.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-apex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-asl.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-astro.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-c_cpp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-coldfusion.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-csharp.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-csound_document.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-csound_orchestra.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-css.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-curly.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion www/js/ace/mode-d.js

Large diffs are not rendered by default.

Loading

0 comments on commit 5c829b7

Please sign in to comment.