Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamsinghmutualmobile authored May 20, 2023
1 parent 2430cb8 commit 04cc29e
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Compose Sensors
<img src="https://raw.githubusercontent.com/mutualmobile/ComposeSensors/main/art/thumnail.png" width=200 />

[![Sonatype](https://img.shields.io/nexus/s/com.mutualmobile/composesensors?server=https%3A%2F%2Foss.sonatype.org)](https://oss.sonatype.org/#nexus-search;gav~com.mutualmobile~composesensors~~~)
[![Sonatype](https://img.shields.io/nexus/r/com.mutualmobile/composesensors?server=https%3A%2F%2Foss.sonatype.org%2F)](https://oss.sonatype.org/#nexus-search;gav~com.mutualmobile~composesensors~~~)

Accessing sensor data of your Android devices just became quick and easy ⚡️
Expand Down Expand Up @@ -31,31 +30,6 @@ dependencies {
}
```

### Snapshots 📸
Add `https://oss.sonatype.org/content/repositories/snapshots` as a maven repository resource to be able to access SNAPSHOT versions of this library. Check `tags` for the latest library version.
#### Kotlin `settings.gradle.kts`
```
dependencyResolutionManagement {
...
repositories {
...
maven("https://oss.sonatype.org/content/repositories/snapshots")
}
}
```
#### Groovy `settings.gradle`
```
dependencyResolutionManagement {
...
repositories {
...
maven {
url = 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
}
```

The library provides straightforward state methods for multiple sensors like Accelerometer, Gyroscope, etc (more mentioned below). Following is an example on how to get the current values from the `Accelerometer`:
```
val accelerometerState = rememberAccelerometerSensorState()
Expand Down Expand Up @@ -109,7 +83,6 @@ Gyroscope Limited Axes | ✅️️ | rememberLimitedAxesGyroscopeSensorState()
Accelerometer Limited Axes (Uncalibrated) | ✅ | rememberUncalibratedLimitedAxesAccelerometerSensorState()
Gyroscope Limited Axes (Uncalibrated) | — | N/A
Heading | ✅ | rememberHeadingSensorState()
All | — | N/A

## License 🔖
```
Expand Down

0 comments on commit 04cc29e

Please sign in to comment.