Skip to content

Commit

Permalink
fix(ios): isNewBinary is true if defaults have no stored versions (#4779
Browse files Browse the repository at this point in the history
)
  • Loading branch information
Zapominacz authored Jun 30, 2021
1 parent dec3fb2 commit bd86dbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Capacitor/Capacitor/CAPBridgeViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import Cordova
let lastVersionName = UserDefaults.standard.string(forKey: "lastBinaryVersionName") {
return (curVersionCode.isEqual(lastVersionCode) == false || curVersionName.isEqual(lastVersionName) == false)
}
return true
}
return false
}()
Expand Down

0 comments on commit bd86dbe

Please sign in to comment.