Skip to content

Commit

Permalink
fix: send download fail as it should
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Aug 14, 2024
1 parent 0f8e448 commit a2563c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
if res.major == true {
self.notifyListeners("majorAvailable", data: ["version": res.version])
}
self.endBackGroundTaskWithNotif(msg: res.message ?? "", latestVersionName: res.version, current: current, error: false)
self.endBackGroundTaskWithNotif(msg: res.message ?? "", latestVersionName: res.version, current: current, error: true)
return
}
let sessionKey = res.sessionKey ?? ""
Expand Down

0 comments on commit a2563c0

Please sign in to comment.