@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.
package/android/src/main/java/com/margelo/nitro/reactnativebundleupdate/ReactNativeBundleUpdate.kt
CHANGED
|
@@ -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().
|
|
176
|
+
prefs.edit().clear().commit()
|
|
177
177
|
// Clear all signature files
|
|
178
178
|
val ascDir = File(getAscDir(context))
|
|
179
179
|
if (ascDir.exists()) {
|