fix: yarn ios:staging

This commit is contained in:
devthejo 2026-01-04 14:16:42 +01:00
parent c5c570392b
commit c11b05a108

View file

@ -21,7 +21,13 @@ class AppDelegate: RCTAppDelegate {
// Initialize expo-updates controller so AppController.sharedInstance can be used safely.
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.
self.moduleName = "main"