@extscreen/es-core 2.2.32 → 2.2.33

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -199,6 +199,9 @@ var ESDeviceModule$1 = new ESDeviceModule();
199
199
  * 设备信息管理
200
200
  *
201
201
  */
202
+
203
+ const TAG$6 = 'ESDeviceManager';
204
+
202
205
  class ESDeviceManager {
203
206
 
204
207
  //内存
@@ -255,6 +258,9 @@ class ESDeviceManager {
255
258
  this.initAndroidDevice();
256
259
  ESDeviceModule$1.getDevice().then(
257
260
  (device) => {
261
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
262
+ ESLog.d(TAG$6, '#----------init---------->>>>>' + JSON.stringify(device));
263
+ }
258
264
  this._device = device;
259
265
 
260
266
  try {
@@ -305,11 +311,17 @@ class ESDeviceManager {
305
311
  this._buildVersionRelease = device.buildVersionRelease;
306
312
  }
307
313
  } catch (e) {
314
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
315
+ ESLog.d(TAG$6, '#----------init---解析--error----->>>>>' + e);
316
+ }
308
317
  }
309
318
  resolve(device);
310
319
  },
311
320
  //
312
321
  error => {
322
+ if (ESLog.isLoggable(ESLog.DEBUG)) {
323
+ ESLog.d(TAG$6, '#----------init-----error----->>>>>' + error);
324
+ }
313
325
  resolve(error);
314
326
  }
315
327
  );
@@ -4337,7 +4349,7 @@ var ESApplication = {
4337
4349
  );
4338
4350
  },
4339
4351
  _initESApplication() {
4340
- // ESLaunchManager.setRouteListener(this._routeListener)
4352
+ ESLaunchManager$1.setRouteListener(this._routeListener);
4341
4353
  this._initESAppParams();
4342
4354
  },
4343
4355
  _routeListener(url, params) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@extscreen/es-core",
3
- "version": "2.2.32",
3
+ "version": "2.2.33",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {