Skip to content

Commit

Permalink
fix(ios): Moves updateBinaryVersion call to the end of loadView. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven0351 committed Feb 2, 2024
1 parent 625505d commit 7724760
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ios/Capacitor/Capacitor/CAPBridgeViewController.swift
Expand Up @@ -34,10 +34,6 @@ import Cordova
CAPLog.enableLogging = configuration.loggingEnabled
logWarnings(for: configDescriptor)

if configDescriptor.instanceType == .fixed {
updateBinaryVersion()
}

setStatusBarDefaults()
setScreenOrientationDefaults()

Expand All @@ -55,6 +51,10 @@ import Cordova
assetHandler: assetHandler,
delegationHandler: delegationHandler)
capacitorDidLoad()

if configDescriptor.instanceType == .fixed {
updateBinaryVersion()
}
}

override open func viewDidLoad() {
Expand Down

0 comments on commit 7724760

Please sign in to comment.