[iOS] Defer cellular telephony initialization in NetworkMonitor - #70
Merged
ladd merged 4 commits intoOct 2, 2026
Merged
Conversation
angelaguilar06
marked this pull request as ready for review
October 2, 2026 20:09
ladd
requested changes
Oct 2, 2026
ladd
approved these changes
Oct 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change summary:
Defer
CTTelephonyNetworkInfoconstruction inNetworkMonitoruntil telemetry reads an observed cellular network path. The cached instance is protected byMutexfor concurrent attribute reads. Network path attributes and cellular radio subtype reporting remain available when applicable.Context:
An iOS launch trace showed
NetworkMonitorconstructingCTTelephonyNetworkInfoduring app lifecycle setup, before homepage prefetch. CoreTelephony can synchronously contact CommCenter even when the device is on Wi-Fi. Only cellular telemetry needs that work, so non-cellular and not-yet-known paths now avoid it.How was it tested?
xcodebuild test -scheme NautilusTelemetry-Package -destination 'platform=iOS Simulator,id=91CF97E1-3C14-40CF-AA1F-552E2EC7EEF0'locally; full suite passed.xcodebuild test -scheme NautilusTelemetry-Package -destination 'platform=macOS'locally; full suite passed.Please review:
This upstream fix can be released before the consuming app updates its package revision.