Skip to content

Releases: mutualmobile/ComposeSensors

1.1.2

25 Oct 15:14
Compare
Choose a tag to compare

This is just a maintenance release.
Please feel free to leave your feedback or raise issues if you face any.

What's Changed

  • Update composeVersion to v1.5.0 by @renovate in #94
  • Update compose_version to v1.5.0 by @renovate in #95
  • Update wear_compose_version to v1.2.0 by @renovate in #96
  • Update dependency gradle to v8.3 by @renovate in #97
  • Update plugin com.android.application to v8.1.1 by @renovate in #98
  • Update plugin com.android.library to v8.1.1 by @renovate in #99
  • Update plugin org.jetbrains.kotlin.android to v1.9.10 by @renovate in #100
  • Update dependency composeOptions to v1.5.3 by @renovate in #101
  • Update dependency com.google.android.gms:play-services-wearable to v18.1.0 by @renovate in #102
  • Update actions/checkout action to v4 by @renovate in #103
  • Update all dependencies by @renovate in #117

Full Changelog: 1.1.1...1.1.2

1.1.1

30 Jul 11:54
Compare
Choose a tag to compare

This release fixes the case where setting autoStart = false in any of the sensor state functions (like rememberHeartRateSensorState(autoStart = false)) didn't work.

This release also contains the following version bumps:

  1. Compose (Mobile) - 1.4.3
  2. Compose (Wear) - 1.1.2
  3. Android Gradle Plugin (com.android.application & com.android.library) - 8.1.0
  4. Gradle Plugin - 8.2.1
  5. Kotlin - 1.9.0 (With object -> data object migration)

Minor fixes in sample apps:

  1. Ask for sensor permission in the wearable sample app
  2. Drastically improve the performance of the mobile sample app

Complete change logs

  • Configure Renovate by @renovate in #74
  • Update compose_version to v1.4.3 by @renovate in #76
  • Update composeVersion to v1.4.3 by @renovate in #75
  • Update plugin com.android.library to v8 by @renovate in #93
  • Update plugin com.android.application to v8 by @renovate in #92
  • Update github/super-linter action to v5 by @renovate in #91
  • Update actions/setup-java action to v3 by @renovate in #90
  • Update actions/checkout action to v3 by @renovate in #89
  • Update dependency androidx.activity:activity-compose to v1.7.2 by @renovate in #78
  • Update dependency androidx.activity:activity-compose to v1.7.2 by @renovate in #79
  • Update wear_compose_version to v1.1.2 by @renovate in #88
  • Update plugin com.vanniktech.maven.publish to v0.25.3 by @renovate in #81
  • Update dependency androidx.core:core-ktx to v1.10.1 by @renovate in #82
  • Update dependency androidx.compose.material3:material3 to v1.1.1 by @renovate in #80
  • Update dependency androidx.core:core-ktx to v1.10.1 by @renovate in #83
  • Update dependency com.google.android.material:material to v1.9.0 by @renovate in #84
  • Update dependency composeOptions to v1.5.1 by @renovate in #85
  • Update dependency gradle to v8.2.1 by @renovate in #86
  • Update plugin org.jetbrains.kotlin.android to v1.9.0 by @renovate in #87

New Contributors

Full Changelog: 1.1.0...1.1.1

1.1.0

15 Jun 10:16
e524d7b
Compare
Choose a tag to compare

This version contains implementation for the following sensors

  1. Pose6DOF Sensor (rememberPose6DOFSensorState)
  2. Uncalibrated Limited Axes Gyroscope Sensor (rememberUncalibratedLimitedAxesGyroscopeSensorState)

v1.0.0

10 Jun 11:24
229f0c0
Compare
Choose a tag to compare

What's Changed

This version introduces implementations for the following sensors

  1. HeartBeat sensor
  2. Stationary Detect sensor
  3. Motion Detect sensor
  4. Significant Motion sensor

This version also introduces a few methods and parameters to manage sensor event subscriptions

  • autoStart - This is a boolean parameter available in all sensor state functions to declare whether to start observing the sensor events as soon as the state instance is created or not. It defaults to true. For example:

Use this while initiating the sensor state function

val accelerometerState = rememberAccelerometerSensorState(autoStart = false)
  • startListening() and stopListening() - Use these methods from any sensor state function to start or stop observing the sensor events. For example:
val accelerometerState = rememberAccelerometerSensorState(autoStart = false)

LaunchedEffect(doesUserWantToObserveEvents) {
    if (doesUserWantToObserveEvents) {
        accelerometerState.startListening()
    } else {
        accelerometerState.stopListening()
    }
}

Full Changelog: 0.3.0...1.0.0

v0.3.0

20 May 06:33
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.2.0-SNAPSHOT...0.3.0

v0.2.0-SNAPSHOT

20 Apr 14:11
b3887e6
Compare
Choose a tag to compare
v0.2.0-SNAPSHOT Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: 0.1.0-alpha...0.2.0-SNAPSHOT

v0.1.0-alpha

20 Apr 14:10
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 0.0.1-SNAPSHOT...0.1.0-alpha

0.1.0-SNAPSHOT

03 Apr 10:49
Compare
Choose a tag to compare

This version provides an implementation for the following sensors:

  1. StepCount Sensor
  2. HeartRate sensor
  3. Proximity Sensor
  4. Ambient Temperature
  5. Game Rotation Vector Sensor
  6. Geomagnetic Rotation Vector Sensor

Thanks to our contributors @aditya-bhawsar-mm @swap-musale 🥳

0.0.1-SNAPSHOT

26 Mar 16:03
7ad7419
Compare
Choose a tag to compare
0.0.1-SNAPSHOT Pre-release
Pre-release

This version contains implementation for the following sensor(s):

  1. Accelerometer
  2. Magnetic Field
  3. Gyroscope
  4. Light
  5. Pressure
  6. Gravity