Releases: mutualmobile/ComposeSensors
1.2.0
1.1.2
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
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:
- Compose (Mobile) -
1.4.3
- Compose (Wear) -
1.1.2
- Android Gradle Plugin (
com.android.application
&com.android.library
) -8.1.0
- Gradle Plugin -
8.2.1
- Kotlin -
1.9.0
(Withobject -> data object
migration)
Minor fixes in sample apps:
- Ask for sensor permission in the wearable sample app
- 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
This version contains implementation for the following sensors
- Pose6DOF Sensor (
rememberPose6DOFSensorState
) - Uncalibrated Limited Axes Gyroscope Sensor (
rememberUncalibratedLimitedAxesGyroscopeSensorState
)
v1.0.0
What's Changed
This version introduces implementations for the following sensors
- HeartBeat sensor
- Stationary Detect sensor
- Motion Detect sensor
- 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 totrue
. For example:
Use this while initiating the sensor state function
val accelerometerState = rememberAccelerometerSensorState(autoStart = false)
startListening()
andstopListening()
- 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
What's Changed
- Support for Low Latency Off-Body Detect sensor by @swap-musale in #52
- Support for Head Tracker sensor by @Chandra-Mauli-Sharma in #55
- Mobile Sample App by @shubhamsinghmutualmobile in #54
- Rename rememberPressureState to rememberPressureSensorState by @Chandra-Mauli-Sharma in #56
- Add
@RequiresApi
to the required state composables by @shubhamsinghmutualmobile in #58 - Accelerometer Limited Axes (Uncalibrated) sensor Implementation by @aditya-bhawsar-mm in #49
- Accelerometer Limited Axes Sensor Implementation. by @aditya-bhawsar-mm in #59
- Support for Uncalibrated Gyroscope by @Adi-MMandroid in #61
- Support for heading Sensor by @Adi-MMandroid in #64
- Support for relative humidity by @Adi-MMandroid in #63
- Support for Uncalibrated Accelerometer by @Adi-MMandroid in #62
New Contributors
- @Adi-MMandroid made their first contribution in #61
Full Changelog: 0.2.0-SNAPSHOT...0.3.0
v0.2.0-SNAPSHOT
What's Changed
- Add lint check GitHub action workflow by @shubhamsinghmutualmobile in #45
- Implement HingeSensorState by @shubhamsinghmutualmobile in #46
- feat: Support for Magnetic Field Uncalibrated Sensor by @swap-musale in #47
- Support for Gyroscope Limited Axes sensor by @Chandra-Mauli-Sharma in #43
- Merge
development
changes for version 0.2.0 by @shubhamsinghmutualmobile in #50
New Contributors
- @Chandra-Mauli-Sharma made their first contribution in #43
Full Changelog: 0.1.0-alpha...0.2.0-SNAPSHOT
v0.1.0-alpha
What's Changed
- Linear Acceleration implementation by @shubhamsinghmutualmobile in #8
- Support for StepCount Sensor by @swap-musale in #10
- feat: Proximity sensor Implementation by @aditya-bhawsar-mm in #17
- feat: Step Detector Sensor Implementation by @swap-musale in #16
- feat: Hear Rate Sensor Implementation by @swap-musale in #15
- feat: Ambient Temperature sensor Implementation by @aditya-bhawsar-mm in #18
- feat: Rotation Vector sensor Implementation by @aditya-bhawsar-mm in #21
- feat: Geomagnetic rotation vector sensor Implementation by @aditya-bhawsar-mm in #22
- feat: Game Rotation Vector sensor Implementation by @aditya-bhawsar-mm in #20
- v0.1.0-SNAPSHOT changes by @shubhamsinghmutualmobile in #27
New Contributors
- @aditya-bhawsar-mm made their first contribution in #17
Full Changelog: 0.0.1-SNAPSHOT...0.1.0-alpha
0.1.0-SNAPSHOT
This version provides an implementation for the following sensors:
- StepCount Sensor
- HeartRate sensor
- Proximity Sensor
- Ambient Temperature
- Game Rotation Vector Sensor
- Geomagnetic Rotation Vector Sensor
Thanks to our contributors @aditya-bhawsar-mm @swap-musale 🥳
0.0.1-SNAPSHOT
This version contains implementation for the following sensor(s):
- Accelerometer
- Magnetic Field
- Gyroscope
- Light
- Pressure
- Gravity