@extscreen/es-core 2.2.23 → 2.2.24
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/dist/index.js +20 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2928,7 +2928,15 @@ class ESPluginManager {
|
|
2928
2928
|
return Promise.resolve();
|
2929
2929
|
}
|
2930
2930
|
|
2931
|
-
|
2931
|
+
installPlugin(plugin) {
|
2932
|
+
let pluginArray = [
|
2933
|
+
plugin
|
2934
|
+
];
|
2935
|
+
if (ESLog.isLoggable(ESLog.DEBUG)) {
|
2936
|
+
ESLog.d('ESPluginManager', "------installPlugin------>>>>>" +
|
2937
|
+
"pluginArray:" + JSON.stringify(pluginArray)
|
2938
|
+
);
|
2939
|
+
}
|
2932
2940
|
ESPluginModule$1.install(pluginArray);
|
2933
2941
|
}
|
2934
2942
|
}
|
@@ -2944,6 +2952,7 @@ class ES {
|
|
2944
2952
|
init(configuration) {
|
2945
2953
|
if (configuration) {
|
2946
2954
|
return Promise.resolve()
|
2955
|
+
.then(() => ESSharedPreferencesManager$1.init())
|
2947
2956
|
.then(() => ESDeviceManager$1.init())
|
2948
2957
|
.then(() => ESDevelopManager$1.init())
|
2949
2958
|
.then(() => ESDisplayManager$1.init())
|
@@ -2951,6 +2960,16 @@ class ES {
|
|
2951
2960
|
.then(() => ESNetworkManager$1.init())
|
2952
2961
|
.then(() => ESPluginManager$1.init())
|
2953
2962
|
.then(() => ESLaunchManager$1.init(configuration.router))
|
2963
|
+
.then(() => Promise.all([
|
2964
|
+
ESUsbDeviceManager$1.init(),
|
2965
|
+
ESStorageManager$1.init(),
|
2966
|
+
ESToast$1.init(),
|
2967
|
+
ESPowerManager$1.init(),
|
2968
|
+
ESPermissionManager$1.init(),
|
2969
|
+
ESMMapManager$1.init(),
|
2970
|
+
ESAudioManager$1.init(),
|
2971
|
+
ESAppManager$1.init(),
|
2972
|
+
]))
|
2954
2973
|
} else {
|
2955
2974
|
return Promise.reject('configuration can not be null!')
|
2956
2975
|
}
|