Skip to content

consolidate geofence swift#604

Merged
ShiCheng-Lu merged 7 commits into
masterfrom
shicheng/consolidate-swift-geofence-v2
May 21, 2026
Merged

consolidate geofence swift#604
ShiCheng-Lu merged 7 commits into
masterfrom
shicheng/consolidate-swift-geofence-v2

Conversation

@ShiCheng-Lu

@ShiCheng-Lu ShiCheng-Lu commented May 21, 2026

Copy link
Copy Markdown
Contributor

we had RadarGeofenceSwift for event sync and RadarGeofence_Swift for notifications, RadarGeofenceSwift was missing metadata, added that so it can be consolidated.

see #569
The other PR got a little messy with merge conflicts, so I've re-done the consolidation on main.

https://linear.app/radarlabs/issue/FENCE-2853/swift-geofence-clean-up

stevepopovich
stevepopovich previously approved these changes May 21, 2026

@stevepopovich stevepopovich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an attached ticket? Looks legit though

import CoreLocation
import Foundation

struct RadarCoordinateSwift: Codable, Sendable {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So this just implements == implicitly right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, adding Equatable automatically implements == since everyfield of this class is equatable.

Comment thread RadarSDK/RadarGeofence.swift Outdated
@alanjcharles14

Copy link
Copy Markdown
Contributor

@ShiCheng-Lu happy to re-approve once the linter is happy. Would do it now but it'll just get dismissed I think

@ShiCheng-Lu ShiCheng-Lu requested a review from stevepopovich May 21, 2026 17:32
@ShiCheng-Lu ShiCheng-Lu merged commit 79fc11d into master May 21, 2026
2 checks passed
@ShiCheng-Lu ShiCheng-Lu deleted the shicheng/consolidate-swift-geofence-v2 branch May 21, 2026 18:59
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.

3 participants