Post

Replies

Boosts

Views

Activity

Reply to XCFramework Location Behavior Differs from Standalone App in Background/Sleep Mode
Thanks! I will follow this. I need one help here. I have some logs from my App. in which I have seen. After 14:28 logs came up 14:34 and by lopg it seems app is launched gain means its seuspended by iOS. Moreover I have log the CPU and other details, can you look around what is causing the app to be suspended? I am attaching full log file. in which many times app started freshely means iOS is suspending the app. Logs-4-Plano-Issue.txt 06/19/25, 14:28:30.134: Memory: 46.70 MB | CPU: 95.9% | Thermal: Fair | LowPower: OFF | Battery: 55% | Freq: 0 GHz 06/19/25, 14:28:31.171: Update location from FrontApp -Optional({ "FrontApp Logs lat" = "33.02536663980198"; Long = "-96.79783826176703"; UpdateLocationTime = "2025-06-19 14:28:31"; alt = "209.8318194923922"; bearing = "28.3394427136505"; speed = "1.197042"; }) 06/19/25, 14:28:31.173: Memory: 46.75 MB | CPU: 97.5% | Thermal: Fair | LowPower: OFF | Battery: 55% | Freq: 0 GHz 06/19/25, 14:34:51.309: App Version Detail: [Version:1.4 Build: 1] 06/19/25, 14:34:51.436: 🟢 App launched fresh or no prior background time found 06/19/25, 14:34:51.940: RA state:Connecting 06/19/25, 14:34:52.019: RA state:Connected 06/19/25, 14:34:54.658: Update location from FrontApp -Optional({ "FrontApp Logs lat" = "33.02541124008995"; Long = "-96.7980045255685"; UpdateLocationTime = "2025-06-19 14:34:54"; alt = "198.5674925941163"; bearing = 0; speed = 0; }) Can you please look at logs and suggest what is causing issue, we need continous alert from app but the gap in getting location is causing issue. This is not always we feel it at some location and can CPU spike upto 100% can cause the issue? I need help, we are stuck. SO waiting for reply.
Jun ’25
Reply to XCFramework Location Behavior Differs from Standalone App in Background/Sleep Mode
Can you guide me, how can I get location continuously in background or sleep mode? Here is the location manager code UIApplication.shared.isIdleTimerDisabled = true self.locationManager.desiredAccuracy = kCLLocationAccuracyBest //kCLLocationAccuracyBestForNavigation self.locationManager.delegate = self self.locationManager.requestAlwaysAuthorization() self.locationManager.allowsBackgroundLocationUpdates = true self.locationManager.pausesLocationUpdatesAutomatically = false if CLLocationManager.headingAvailable() { locationManager.headingFilter = 1 locationManager.startUpdatingHeading() } What other code you need to have look?
Jun ’25
Reply to XCFramework Location Behavior Differs from Standalone App in Background/Sleep Mode
Can you guide me, how can I get location continuously in background or sleep mode? Here is the location manager code UIApplication.shared.isIdleTimerDisabled = true self.locationManager.desiredAccuracy = kCLLocationAccuracyBest //kCLLocationAccuracyBestForNavigation self.locationManager.delegate = self self.locationManager.requestAlwaysAuthorization() self.locationManager.allowsBackgroundLocationUpdates = true self.locationManager.pausesLocationUpdatesAutomatically = false if CLLocationManager.headingAvailable() { locationManager.headingFilter = 1 locationManager.startUpdatingHeading() } here is Plist let me know what else you need?
Jun ’25
Reply to XCFramework Location Behavior Differs from Standalone App in Background/Sleep Mode
Hi Quinn, Thanks for the clarification that helps narrow it down. We’ve double-checked that the app’s Info.plist (not the framework’s) includes the correct UIBackgroundModes and location permission keys. We’re now reviewing the remaining setup, lifecycle handling, and differences from our working standalone app. Would it be okay if I share a sample project or code snippet that reproduces the issue? I’d appreciate it if you could take a look or let me know what might be best to include for further analysis. Thanks again!
Jun ’25