@extscreen/es-core 3.0.0 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +13 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1808,6 +1808,7 @@ var ESSharedPreferencesModule$1 = new ESSharedPreferencesModule();
|
|
1808
1808
|
|
1809
1809
|
class ESManager {
|
1810
1810
|
|
1811
|
+
_esSdkCid = null;
|
1811
1812
|
_esSdkVersionCode = null;
|
1812
1813
|
_esSdkVersionName = null;
|
1813
1814
|
_esSdkPackageName = null;
|
@@ -1840,6 +1841,14 @@ class ESManager {
|
|
1840
1841
|
//
|
1841
1842
|
this._runtimePath = result.runtimePath;
|
1842
1843
|
}
|
1844
|
+
return ESModule$1.getESDeviceInfo();
|
1845
|
+
}
|
1846
|
+
)
|
1847
|
+
//获取cid
|
1848
|
+
.then((result) => {
|
1849
|
+
if (result) {
|
1850
|
+
this._esSdkCid = result.cid;
|
1851
|
+
}
|
1843
1852
|
return Promise.resolve();
|
1844
1853
|
}
|
1845
1854
|
);
|
@@ -1849,6 +1858,10 @@ class ESManager {
|
|
1849
1858
|
return this._esSdkInfo;
|
1850
1859
|
}
|
1851
1860
|
|
1861
|
+
getESSDKCid() {
|
1862
|
+
return this._esSdkCid;
|
1863
|
+
}
|
1864
|
+
|
1852
1865
|
getESSDKVersionCode() {
|
1853
1866
|
return this._esKitVersionCode;
|
1854
1867
|
}
|