Skip to content

Commit 867e92a

Browse files
fix. infinite loading screen
1 parent 8e3c109 commit 867e92a

File tree

5 files changed

+57
-35
lines changed

5 files changed

+57
-35
lines changed

package-lock.json

Lines changed: 50 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"autoprefixer": "^10.4.19",
6464
"babel-loader": "^9.1.3",
6565
"com.foxdebug.acode.exec": "file:src/plugins/Executor",
66-
"cordova-android": "^13.0.0",
66+
"cordova-android": "^14.0.1",
6767
"cordova-clipboard": "^1.3.0",
6868
"cordova-plugin-advanced-http": "^3.3.1",
6969
"cordova-plugin-browser": "file:src/plugins/browser",

src/plugins/Executor/index.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/plugins/Executor/plugin.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<plugin id="com.foxdebug.acode.exec" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"><name>Executor</name><js-module name="Executor" src="index.js"><clobbers target="cordova.plugins.Executor" /></js-module><platform name="android"><config-file parent="/*" target="res/xml/config.xml"><feature name="Executor"><param name="android-package" value="com.foxdebug.acode.exec.Executor" /></feature></config-file><config-file parent="/*" target="AndroidManifest.xml"></config-file><source-file src="src/android/Executor.java" target-dir="src/com/foxdebug/acode/exec/Executor" /></platform></plugin>
2+
<plugin id="com.foxdebug.acode.exec" version="1.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"><name>Executor</name><js-module name="Executor" src="www/Executor.js"><clobbers target="cordova.plugins.Executor" /></js-module><platform name="android"><config-file parent="/*" target="res/xml/config.xml"><feature name="Executor"><param name="android-package" value="com.foxdebug.acode.exec.Executor" /></feature></config-file><config-file parent="/*" target="AndroidManifest.xml"></config-file><source-file src="src/android/Executor.java" target-dir="src/com/foxdebug/acode/exec/Executor" /></platform></plugin>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
var exec = require('cordova/exec');
2+
3+
module.exports.execute = function (cmd,success,failure) {
4+
exec(success, failure, 'Executor', 'exec', [cmd]);
5+
}

0 commit comments

Comments
 (0)