Skip to content

Commit

Permalink
fix: default val ios
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Aug 24, 2022
1 parent 4e232da commit a7a1f08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
} catch {
print("\(self.implementation.TAG) Cannot get version native \(currentVersionNative)")
}
autoDeleteFailed = getConfig().getBoolean("autoDeleteFailed", false)
autoDeletePrevious = getConfig().getBoolean("autoDeletePrevious", false)
autoDeleteFailed = getConfig().getBoolean("autoDeleteFailed", true)
autoDeletePrevious = getConfig().getBoolean("autoDeletePrevious", true)
updateUrl = getConfig().getString("updateUrl") ?? CapacitorUpdaterPlugin.updateUrlDefault
autoUpdate = getConfig().getBoolean("autoUpdate", false)
appReadyTimeout = getConfig().getInt("appReadyTimeout", 10000)
Expand Down

0 comments on commit a7a1f08

Please sign in to comment.