@onekeyfe/react-native-bundle-update 1.1.37 → 1.1.39

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.
@@ -173,7 +173,7 @@ object BundleUpdateStoreAndroid {
173
173
 
174
174
  fun clearUpdateBundleData(context: Context) {
175
175
  val prefs = context.getSharedPreferences(PREFS_NAME, Context.MODE_PRIVATE)
176
- prefs.edit().clear().apply()
176
+ prefs.edit().clear().commit()
177
177
  // Clear all signature files
178
178
  val ascDir = File(getAscDir(context))
179
179
  if (ascDir.exists()) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/react-native-bundle-update",
3
- "version": "1.1.37",
3
+ "version": "1.1.39",
4
4
  "description": "react-native-bundle-update",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",