fix: yarn ios:staging
This commit is contained in:
parent
c5c570392b
commit
c11b05a108
1 changed files with 7 additions and 1 deletions
|
|
@ -21,7 +21,13 @@ class AppDelegate: RCTAppDelegate {
|
||||||
|
|
||||||
// Initialize expo-updates controller so AppController.sharedInstance can be used safely.
|
// Initialize expo-updates controller so AppController.sharedInstance can be used safely.
|
||||||
AppController.initializeWithoutStarting()
|
AppController.initializeWithoutStarting()
|
||||||
AppController.sharedInstance.start()
|
|
||||||
|
let updatesController = AppController.sharedInstance
|
||||||
|
if updatesController.isActiveController {
|
||||||
|
updatesController.start()
|
||||||
|
} else {
|
||||||
|
NSLog("[AppDelegate] Skipping AppController.start(): isActiveController is false (dev client or disabled updates)")
|
||||||
|
}
|
||||||
|
|
||||||
// Configure React Native root module.
|
// Configure React Native root module.
|
||||||
self.moduleName = "main"
|
self.moduleName = "main"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue