therms-device-tracker 1.0.0-rc.2 → 1.0.0-rc.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [1.0.0-rc.3] - 2026-06-19
11
+
12
+ ### Fixed
13
+ - **Critical Android build failure**: Compilation errors in `compileDebugKotlin`.
14
+ - `ThermsDeviceTrackerModule.kt:464`: Removed stray Swift `nil` literal in `sendEvent` for `onMotionChange` (was `location to nil`, now `null`). Other call sites already used `null` or `toLocationDict(...)`.
15
+ - `LocationProvider.kt`: Removed `fun getClient()` which caused JVM signature clash with the Kotlin-generated getter for the private `val client` property (`getClient(): FusedLocationProviderClient`). The constructor injection seam (`fusedClient` param) and internal `client` usage remain; no external callers depended on `getClient()`.
16
+ - Updated deprecated `lintOptions` to modern `lint { abortOnError = false }` in `android/build.gradle`.
17
+
10
18
  ## [1.0.0-rc.2] - 2026-06-18
11
19
 
12
20
  ### Fixed
@@ -4,16 +4,16 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'expo.modules.thermsdevicetracker'
7
- version = '1.0.0-rc.2'
7
+ version = '1.0.0-rc.3'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.thermsdevicetracker"
11
11
  defaultConfig {
12
12
  versionCode 1
13
- versionName "1.0.0-rc.2"
13
+ versionName "1.0.0-rc.3"
14
14
  }
15
- lintOptions {
16
- abortOnError false
15
+ lint {
16
+ abortOnError = false
17
17
  }
18
18
  }
19
19
 
@@ -21,7 +21,7 @@ import com.google.android.gms.location.*
21
21
  * Seam: module wires `onNewLocation` callback (or consumes via start).
22
22
  * No direct sendEvent here; module owns event + state + sync trigger (keeps provider thin).
23
23
  *
24
- * Test seam precedent: callers can inject a mock FusedLocationProviderClient.
24
+ * Test seam precedent: callers can inject a mock FusedLocationProviderClient via the constructor parameter.
25
25
  */
26
26
  class LocationProvider(
27
27
  private val context: Context,
@@ -79,6 +79,4 @@ class LocationProvider(
79
79
  }
80
80
  currentCallback = null
81
81
  }
82
-
83
- fun getClient(): FusedLocationProviderClient = client
84
82
  }
@@ -461,7 +461,7 @@ class ThermsDeviceTrackerModule : Module() {
461
461
 
462
462
  syncProvider.stop()
463
463
  lastSyncConfig = null
464
- sendEvent("onMotionChange", mapOf("isMoving" to false, "location" to nil))
464
+ sendEvent("onMotionChange", mapOf("isMoving" to false, "location" to null))
465
465
  // Note: schedule lifecycle independent (no auto stopSchedule on stopTracking; call explicitly if needed)
466
466
  }
467
467
 
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |s|
2
2
  s.name = 'ThermsDeviceTracker'
3
- s.version = '1.0.0-rc.2'
3
+ s.version = '1.0.0-rc.3'
4
4
  s.summary = 'Device physical activity and geolocation tracking for THERMS'
5
5
  s.description = 'Expo native module providing unified access to location updates, physical activity recognition (walking/running/etc), and pedometer data with foreground and background support.'
6
6
  s.author = 'Cory Robinson <cory@therms.io>'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "therms-device-tracker",
3
- "version": "1.0.0-rc.2",
3
+ "version": "1.0.0-rc.3",
4
4
  "description": "THERMS software expo app device physical activity and geo location tracking",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",