@extscreen/es-core 2.3.4 → 2.3.5
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 +10 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1678,6 +1678,11 @@ class ESSharedPreferencesModule {
|
|
1678
1678
|
'initSharedPreferences', name);
|
1679
1679
|
}
|
1680
1680
|
|
1681
|
+
initESSharedPreferences(name) {
|
1682
|
+
return Vue.Native.callNativeWithPromise('AndroidSharedPreferencesModule',
|
1683
|
+
'initESSharedPreferences', name);
|
1684
|
+
}
|
1685
|
+
|
1681
1686
|
//----------------------------------------------------
|
1682
1687
|
getBoolean(key, defValue) {
|
1683
1688
|
return Vue.Native.callNativeWithPromise('AndroidSharedPreferencesModule',
|
@@ -1746,6 +1751,11 @@ class ESSharedPreferencesManager {
|
|
1746
1751
|
return ESSharedPreferencesModule$1.initSharedPreferences(name);
|
1747
1752
|
}
|
1748
1753
|
|
1754
|
+
initESSharedPreferences(name) {
|
1755
|
+
this._sharedPreferencesName = name;
|
1756
|
+
return ESSharedPreferencesModule$1.initESSharedPreferences(name);
|
1757
|
+
}
|
1758
|
+
|
1749
1759
|
//----------------------------------------------------
|
1750
1760
|
getBoolean(key, defValue) {
|
1751
1761
|
if (!this._sharedPreferencesName) {
|