Skip to content

Commit

Permalink
fix: persist version between reload
Browse files Browse the repository at this point in the history
  • Loading branch information
riderx committed Nov 22, 2021
1 parent 41f1de1 commit 8c7470a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/Plugin/CapacitorUpdaterPlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public class CapacitorUpdaterPlugin: CAPPlugin {
DispatchQueue.main.async {
let vc = self.bridge?.viewController as! CAPBridgeViewController
vc.setServerBasePath(path: res!.path)
vc.persistServerBasePath()
}
call.resolve([
"done": res!.path
Expand Down

0 comments on commit 8c7470a

Please sign in to comment.