Skip to content

Commit bff828e

Browse files
committed
v10.36.2
1 parent 48b9f7a commit bff828e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

android/src/main/java/cn/reactnative/modules/update/UpdateContext.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,6 @@ public UpdateContext(Context context) {
6464
if (packageVersionChanged || buildTimeChanged) {
6565
// Execute cleanUp before clearing SharedPreferences to avoid race condition
6666
this.cleanUp();
67-
68-
SharedPreferences.Editor editor = sp.edit();
6967
editor.clear();
7068
editor.putString("packageVersion", packageVersion);
7169
editor.putString("buildTime", buildTime);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-update",
3-
"version": "10.36.1",
3+
"version": "10.36.2",
44
"description": "react-native hot update",
55
"main": "src/index",
66
"scripts": {

0 commit comments

Comments
 (0)