Skip to content

Live updates spike#535

Draft
lmeier wants to merge 2 commits into
masterfrom
ios-17-spiking
Draft

Live updates spike#535
lmeier wants to merge 2 commits into
masterfrom
ios-17-spiking

Conversation

@lmeier

@lmeier lmeier commented Feb 18, 2026

Copy link
Copy Markdown
Contributor

Key changes:

  • New RadarLocationProviding protocol for routing between implementations
  • New RadarLocationManager.swift (1:1 structural mirror of .m)
  • New liveUpdateConfiguration option on RadarTrackingOptions
  • ObjC API client wrappers on Radar class for Swift interop
  • Nullable annotations on RadarState.h for correct Swift optional bridging

lmeier and others added 2 commits February 18, 2026 14:22
…or, and CLBackgroundActivitySession

Introduces a new Swift-based location manager gated behind a server-side
`useModernLocationManager` flag in RadarSdkConfiguration. When enabled on
iOS 17+, location delivery uses CLLocationUpdate.liveUpdates() async streams,
region monitoring uses CLMonitor, and background sessions use
CLBackgroundActivitySession. The existing ObjC RadarLocationManager is
unchanged and serves as the fallback path.

Key changes:
- New RadarLocationProviding protocol for routing between implementations
- New RadarLocationManagerModern.swift (1:1 structural mirror of .m)
- New liveUpdateConfiguration option on RadarTrackingOptions
- ObjC API client wrappers on Radar class for Swift interop
- Nullable annotations on RadarState.h for correct Swift optional bridging

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant