Skip to content

Commit

Permalink
fix: correct message debug make it iso Android ios
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Mar 22, 2024
1 parent 5f76e85 commit ad3ca27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1115,7 +1115,7 @@ private Thread backgroundDownload() {
if (res.has("message")) {
Log.i(
CapacitorUpdater.TAG,
"API message " + res.get("message")
"API message: " + res.get("message")
);
if (
res.has("major") &&
Expand Down
2 changes: 1 addition & 1 deletion ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
let current = self.implementation.getCurrentBundle()

if (res.message) != nil {
print("\(self.implementation.TAG) API response: \(res.message ?? "")")
print("\(self.implementation.TAG) API message: \(res.message ?? "")")
if res.major == true {
self.notifyListeners("majorAvailable", data: ["version": res.version])
}
Expand Down

0 comments on commit ad3ca27

Please sign in to comment.