Skip to content

Commit f0fdb1d

Browse files
committed
chore: TSLocationManager 4.1.2 (url + checksum)
1 parent 6c51861 commit f0fdb1d

5 files changed

Lines changed: 17 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# CHANGELOG
22

3+
## 4.1.2 — 2026-04-10
4+
- feat: recorded_at respects timestampFormat, expose recordedAt on event wrappers
5+
- feat: add PersistenceConfig.timestampFormat option
6+
- Increase wait time when verifying checksum
7+
38
## 4.1.1 — 2026-04-08
49
- make getCurrentPosition gates more stricts in demo app
510
- Dave's deep dive docs

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ let package = Package(
2525
targets: [
2626
.binaryTarget(
2727
name: "TSLocationManager",
28-
url: "https://github.com/transistorsoft/native-background-geolocation/releases/download/4.1.1/TSLocationManager.xcframework.zip",
29-
checksum: "07d85e73c7bb8352ef9cb9b7b2abf4fd9bd496651d10f5cda926e883fdf7b9f1"
28+
url: "https://github.com/transistorsoft/native-background-geolocation/releases/download/4.1.2/TSLocationManager.xcframework.zip",
29+
checksum: "59b36b0963c4964caa59d654f7f4cde1db518c9d7612aa29adb860d9f353ee3a"
3030
),
3131

3232
// Swift overlay that reexports the binary + TSBackgroundFetch

Sources/BackgroundGeolocation/SwiftInterface/Config/PersistenceConfig.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ extension BGGeo {
3535
get { module.geofenceTemplate }
3636
set { module.geofenceTemplate = newValue }
3737
}
38+
public var timestampFormat: String {
39+
get { module.timestampFormat }
40+
set { module.timestampFormat = newValue }
41+
}
3842
public var maxDaysToPersist: Int {
3943
get { Int(module.maxDaysToPersist) }
4044
set { module.maxDaysToPersist = newValue }

Sources/BackgroundGeolocation/SwiftInterface/Events/LocationEvent.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ extension BGGeo {
4545

4646
public let timestamp: Date?
4747
public let timestampString: String
48+
public let recordedAt: Date?
49+
public let recordedAtString: String
4850

4951
public let data: [String: Any]
5052
public let location: CLLocation
@@ -66,6 +68,8 @@ extension BGGeo {
6668
public init(_ obj: TSLocationEvent) {
6769
self.timestampString = obj.timestamp
6870
self.timestamp = ISO8601DateFormatter.fullParsing.date(from: obj.timestamp)
71+
self.recordedAtString = obj.recordedAt
72+
self.recordedAt = ISO8601DateFormatter.fullParsing.date(from: obj.recordedAt)
6973
self.data = obj.toDictionary() as? [String: Any] ?? [:]
7074
self.location = obj.location
7175
self.uuid = data["uuid"] as? String

TSLocationManager.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
Pod::Spec.new do |s|
77
s.name = 'TSLocationManager'
8-
s.version = '4.1.1'
8+
s.version = '4.1.2'
99
s.summary = 'Enterprise-grade background geolocation.'
1010
s.description = 'Reliable background location with SQLite-first persistence and robust HTTP uploader.'
1111

@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
1515
s.author = { 'Transistor Software' => 'info@transistorsoft.com' }
1616

1717
# Binary distribution
18-
s.source = { :http => 'https://github.com/transistorsoft/native-background-geolocation/releases/download/4.1.1/TSLocationManager.xcframework.zip' }
18+
s.source = { :http => 'https://github.com/transistorsoft/native-background-geolocation/releases/download/4.1.2/TSLocationManager.xcframework.zip' }
1919
s.vendored_frameworks = 'TSLocationManager.xcframework'
2020
s.static_framework = true
2121

0 commit comments

Comments
 (0)