react-native-update 10.35.2 → 10.35.3

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.
@@ -273,6 +273,7 @@ public class UpdateContext {
273
273
  if (lastVersion == null) {
274
274
  editor.remove("currentVersion");
275
275
  } else {
276
+ editor.remove("lastVersion");
276
277
  editor.putString("currentVersion", lastVersion);
277
278
  }
278
279
  editor.putBoolean("firstTimeOk", true);
@@ -245,6 +245,7 @@ export class UpdateContext {
245
245
  if (!lastVersion) {
246
246
  this.preferences.deleteSync('currentVersion');
247
247
  } else {
248
+ this.preferences.deleteSync('lastVersion');
248
249
  this.preferences.putSync('currentVersion', lastVersion);
249
250
  }
250
251
  this.preferences.putSync('firstTimeOk', true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-update",
3
- "version": "10.35.2",
3
+ "version": "10.35.3",
4
4
  "description": "react-native hot update",
5
5
  "main": "src/index",
6
6
  "scripts": {