Skip to content

Commit

Permalink
fix: missing reset versionName
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Feb 4, 2022
1 parent 91d7d77 commit 880045d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ios/Plugin/CapacitorUpdater.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ public class AppVersion: NSObject {
@objc public func reset() {
UserDefaults.standard.set("", forKey: "lastPathHot")
UserDefaults.standard.set("", forKey: "lastPathPersist")
UserDefaults.standard.set("", forKey: "versionName")
UserDefaults.standard.synchronize()
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "capacitor-updater",
"version": "1.1.0",
"version": "1.1.1",
"license": "AGPL-3.0-only",
"description": "Download app update from url",
"main": "dist/plugin.cjs.js",
Expand Down

0 comments on commit 880045d

Please sign in to comment.