Commit graph

1586 commits

Author SHA1 Message Date
Daniel Shokouhi 84d392f681
Update change log week of 12/16 (#3157) 2022-12-16 10:01:00 -08:00
dependabot[bot] a5bbe2bccc
Bump actions/setup-java from 3.6.0 to 3.9.0 (#3154)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.6.0 to 3.9.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.6.0...v3.9.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 15:18:39 +00:00
dependabot[bot] e29f692986
Bump sentry-android from 6.9.1 to 6.9.2 (#3141)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.9.1 to 6.9.2.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.9.1...6.9.2)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-16 10:01:09 -05:00
Alex Bilevskiy c3349bb25a
use custom user-agent in websocket requests (#3137)
* use custom user-agent in websocket requests

* expose USER_AGENT const; fix imports in WebSocketRepositoryImpl.kt
2022-12-16 10:00:45 -05:00
Tamás Nagy 77f6de4550
Fix monochrome icon on Android 13+ (#3131)
Signed-off-by: Tamás Nagy (T-bond) <tbondvagyok@gmail.com>

Signed-off-by: Tamás Nagy (T-bond) <tbondvagyok@gmail.com>
2022-12-16 10:00:10 -05:00
Daniel Shokouhi 5780f1492b
Restart health services if no updates received in 30 minutes (#3126)
* Restart health services if no updates received in 30 minutes

* Only update activity state if the state changes or an update needs to be forced
2022-12-16 09:59:29 -05:00
Daniel Shokouhi 49849d4587
Let heart rate sensor get up to 10 events in case first is invalid (#3125)
* Let heart rate sensor get up to 5 events in case first is invalid

* Increase to 10 events to try and get a reading
2022-12-16 09:58:28 -05:00
Daniel Shokouhi e7c18b870c
Add new option to vibrate when quick settings tile is clicked (#3123)
* Add new option to vibrate when quick settings tile is clicked

* Use vibration effects if the device supports it

* Review comments

* Remove question mark

* Set switch color when unchecked
2022-12-16 09:55:59 -05:00
Justin Bassett e9fe00917c
Revert "Bump actions/setup-java from 3.6.0 to 3.7.0" (#3139)
Revert "Bump actions/setup-java from 3.6.0 to 3.7.0 (#3129)"

This reverts commit 17368c3a39.
2022-12-06 01:10:19 +00:00
Daniel Shokouhi 956b26cc99
Update change log week of 12/3 (#3133)
* Update change log week of 12/3

* Rewrite some changes

* Add Matter
2022-12-03 16:39:53 -08:00
dependabot[bot] 17368c3a39
Bump actions/setup-java from 3.6.0 to 3.7.0 (#3129)
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](https://github.com/actions/setup-java/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:54:15 -05:00
dependabot[bot] 9e8949fe9b
Bump sentry-android from 6.9.0 to 6.9.1 (#3127)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.9.0 to 6.9.1.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.9.0...6.9.1)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-03 17:53:52 -05:00
Joris Pelgröm 69d5949f14
Add initial Matter commissioning support (#3132)
* Matter commissioning: MVP

 - Implement a basic framework for the app to support Matter commissioning
 - Add hooks for the `matter/commission` message that will be sent by the frontend to trigger Matter commissioning

* [WIP] HA as Matter share target

* [WIP] Updated commissioning flow

 - Add websocket Matter API support
 - Update architecture to better ensure a working minimal build
 - Remove external bus responses for Matter commissioning message

* Rename MatterRepository

* Handle shared Matter devices

 - Adds UI to handle shared Matter devices instead of copying the pairing code to the clipboard
 - Updates the on network pairing pin/code to be a String, which may be received for shared devices

* Cleanup test button

* Pairing code type and service error handling

 - Update pairing/pin code type to Long for server
 - Send Play Services error if commissioning returned an error

* Increase timeout for Matter commissioning requests

* Use normal commissioning for shared devices

 - Use the normal matter/commission command for devices shared with the app
 - Shared device UI polishing

* Fix minimal and remove old name

* Update frontend commissioning status enum
2022-12-03 17:36:12 -05:00
Daniel Shokouhi 312a36e898
Update quick setting tiles with state updates (#3121)
* Update quick setting tiles with state updates

* Keep track of appropriate job to cancel when needed, use variable for toggle with lock

* Switch to Job from CoroutineScope
2022-11-30 15:19:00 -05:00
dependabot[bot] 8ced5d3974
Bump sentry-android from 6.8.0 to 6.9.0 (#3117)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.8.0 to 6.9.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/6.9.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.8.0...6.9.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 15:00:20 -05:00
dependabot[bot] ffd658b539
Bump accompanist-appcompat-theme from 0.27.1 to 0.28.0 (#3116)
Bumps [accompanist-appcompat-theme](https://github.com/google/accompanist) from 0.27.1 to 0.28.0.
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.1...v0.28.0)

---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-appcompat-theme
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-30 15:00:11 -05:00
Daniel Shokouhi d5714d85e4
Only subscribe to supported entities on Wear OS home screen (#3103)
* Only subscribe to favorite entities on Wear OS homescreen

* Switch to subscribing to all supported domains

* Update entity states when app is resumed and entities are loaded to keep things in sync

* Only update domains when needed

* Update all registeries when we resume

* Move UI update to view model

* Review comment

* Clear values before updates

* Process review comments
2022-11-30 14:59:57 -05:00
Daniel Shokouhi 8563efef5f
Add some debug logs for heart rate sensor (#3111) 2022-11-28 22:15:36 -05:00
Joris Pelgröm 4ec5fbf1f0
Remove NFC tag sample YAML for 'scanned by this device' on 2022.12+ (#3114) 2022-11-28 22:14:30 -05:00
Joris Pelgröm 11e8d5a8e8
Only request multiple tasks for HA notification intents (#3109)
Only request multiple tasks for notification intents for HA
2022-11-28 22:13:51 -05:00
Joris Pelgröm 71bf6a76f1
Don't crash when system is unable to handle download intent (#3108)
Catch ActivityNotFoundException for downloads

 - When trying to forward a download intent to the system catch the exception that is thrown if the system can't handle it to prevent a crash
2022-11-28 22:12:55 -05:00
Joris Pelgröm 442cb25e59
Add deeplinks to Wear OS sensor sync notifications (#3105)
Add deeplinks to Wear sensor sync notifications
2022-11-28 22:11:57 -05:00
Daniel Shokouhi fd7a593c41
Fix current version sensor so it properly reports the flavor (#3104)
* Fix current version sensor so it properly reports the flavor

* Review comments
2022-11-28 22:11:12 -05:00
Joris Pelgröm bd044c9be0
Support automation entities in quick settings tiles (#3102) 2022-11-28 22:06:30 -05:00
Tanishq Manuja 9bf5299fb2
Button Widget: Uniform Spacing (#3099)
* style(widget): more uniform spacing in button widget

* style(widget): more uniform spacing in entity state widget

* fix: revert unused changes
2022-11-28 22:05:30 -05:00
Tanishq Manuja f35f9ce26e
Button Widget: Hide label if empty or null (#3097)
* feat(widget): hide label if empty or null

* fix(formatting): ktlint issue
2022-11-28 22:05:04 -05:00
Bassett, Justin 6a0b18525b Make sure package is included in Sentry.
The documentation doesn't mention it but it worked previously with other action so let's try...
2022-11-22 15:51:03 -05:00
Justin Bassett 64afe45609
Update a bunch of Github Actions (#3092) 2022-11-22 15:25:42 -05:00
dependabot[bot] 7af5b237cc
Bump sentry-android from 6.7.0 to 6.8.0 (#3089)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.7.0 to 6.8.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.7.0...6.8.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 19:17:51 +00:00
dependabot[bot] ee60714ad5
Bump accompanist-appcompat-theme from 0.27.0 to 0.27.1 (#3085)
Bumps [accompanist-appcompat-theme](https://github.com/google/accompanist) from 0.27.0 to 0.27.1.
- [Release notes](https://github.com/google/accompanist/releases)
- [Commits](https://github.com/google/accompanist/compare/v0.27.0...v0.27.1)

---
updated-dependencies:
- dependency-name: com.google.accompanist:accompanist-appcompat-theme
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 14:05:31 -05:00
dependabot[bot] 7f8bb2d216
Bump firebase-appdistribution-gradle from 3.1.0 to 3.1.1 (#3082)
Bumps firebase-appdistribution-gradle from 3.1.0 to 3.1.1.

---
updated-dependencies:
- dependency-name: com.google.firebase:firebase-appdistribution-gradle
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-22 14:05:05 -05:00
Daniel Shokouhi f15b192a79
Reduce usage of job scheduling to avoid throttling (#3087) 2022-11-22 14:04:55 -05:00
dependabot[bot] 21d301b3f8
Bump reorderable from 0.9.5 to 0.9.6 (#3064)
* Bump reorderable from 0.9.5 to 0.9.6

Bumps [reorderable](https://github.com/aclassen/ComposeReorderable) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/aclassen/ComposeReorderable/releases)
- [Commits](https://github.com/aclassen/ComposeReorderable/commits/0.9.6)

---
updated-dependencies:
- dependency-name: org.burnoutcrew.composereorderable:reorderable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update canDragOver to new format

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Joris Pelgröm <joris.pelgrom@gmail.com>
2022-11-22 14:02:47 -05:00
Daniel Shokouhi 382b26c4c3
Skip heart rate value updates when below 0 (#3081) 2022-11-22 13:59:58 -05:00
Joris Pelgröm c50ce30b5b
Update and fix in-app language picker (#3080)
* Manage app language using AndroidX, integrate with Android 13

 - Manage the app language using AndroidX to fix the setting not being applied and to be able to easily integrate with Android 13's system setting

* Move locales_config.xml to common

* Generate locales_config.xml when downloading translations

* Fix multiple variants for languages being collapsed into one

* Fix language codes with region variants

* Don't split languages when using app bundles

* Rename
2022-11-22 13:59:24 -05:00
Daniel Shokouhi 5a38f95482
Add proper device class for daily distance sensor on Wear OS3 (#3079)
* Add proper device class for daily distance sensor on Wear OS3

* Only use the device class distance when supported
2022-11-22 13:57:21 -05:00
dependabot[bot] 62ebb90f2e
Bump hilt-android from 2.44 to 2.44.2 (#3071)
Bumps [hilt-android](https://github.com/google/dagger) from 2.44 to 2.44.2.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 14:42:31 +00:00
dependabot[bot] c0badc2326
Bump com.github.ben-manes.versions from 0.43.0 to 0.44.0 (#3068)
Bumps com.github.ben-manes.versions from 0.43.0 to 0.44.0.

---
updated-dependencies:
- dependency-name: com.github.ben-manes.versions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 09:34:58 -05:00
dependabot[bot] 1b5ab1c2ec
Bump hilt-android-compiler from 2.44 to 2.44.2 (#3072)
Bumps [hilt-android-compiler](https://github.com/google/dagger) from 2.44 to 2.44.2.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-compiler
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 09:30:21 -05:00
dependabot[bot] 41daf72efc
Bump hilt-android-gradle-plugin from 2.44 to 2.44.2 (#3070)
Bumps [hilt-android-gradle-plugin](https://github.com/google/dagger) from 2.44 to 2.44.2.
- [Release notes](https://github.com/google/dagger/releases)
- [Changelog](https://github.com/google/dagger/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/dagger/compare/dagger-2.44...dagger-2.44.2)

---
updated-dependencies:
- dependency-name: com.google.dagger:hilt-android-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-17 09:29:48 -05:00
Daniel Shokouhi a390865cad
Store health services updates and send them with worker updates (#3076)
* Store health services updates and send them with worker updates

* Switch update type to worker
2022-11-17 09:06:56 -05:00
Joris Pelgröm 0bccff65c3
Revert jackson-module-kotlin bump to fix compatibility on older Android version (#3077) 2022-11-17 09:06:31 -05:00
Joris Pelgröm 23e65c491a
Make active websocket message tracking thread-safe (#3061)
- Make sure that the `activeMessages` map that tracks the active messages/subscriptions on the websocket is thread-safe to prevent exceptions when it is read/modified from different coroutines.
2022-11-12 17:37:33 -05:00
Daniel Shokouhi 4eb709d9c6
Update change log week of 11/11 (#3058) 2022-11-12 09:26:10 -08:00
dependabot[bot] 65df318161
Bump reorderable from 0.9.2 to 0.9.5 (#3055)
Bumps [reorderable](https://github.com/aclassen/ComposeReorderable) from 0.9.2 to 0.9.5.
- [Release notes](https://github.com/aclassen/ComposeReorderable/releases)
- [Commits](https://github.com/aclassen/ComposeReorderable/commits)

---
updated-dependencies:
- dependency-name: org.burnoutcrew.composereorderable:reorderable
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-12 08:25:00 -05:00
Daniel Shokouhi 70c66fcb46
Bump location dependency (#3056) 2022-11-12 08:24:38 -05:00
Daniel Shokouhi 494414eb87
Add Daily Calories, Distance and Steps sensors for health services (#3054)
* Add Daily Calories, Distance and Steps sensors for health services

* Process data points before condition to push update
2022-11-12 08:24:17 -05:00
Daniel Shokouhi 33d1e30cb1
Switch from viewModelScope to lifecycleScope for external collections (#3045)
* Switch from viewmodelscope to lifecyclescope for external collections

* Check loading state before collecting

* Revert previous changes for checking loading state

* Skip collection if not connected

* Simplify launching collections
2022-11-12 08:23:44 -05:00
dependabot[bot] 5bac66c0c7
Bump sentry-android from 6.6.0 to 6.7.0 (#3049)
Bumps [sentry-android](https://github.com/getsentry/sentry-java) from 6.6.0 to 6.7.0.
- [Release notes](https://github.com/getsentry/sentry-java/releases)
- [Changelog](https://github.com/getsentry/sentry-java/blob/6.7.0/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-java/compare/6.6.0...6.7.0)

---
updated-dependencies:
- dependency-name: io.sentry:sentry-android
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 16:18:18 -05:00
dependabot[bot] a20fb24ddc
Bump jackson-module-kotlin from 2.13.4 to 2.14.0 (#3048)
Bumps [jackson-module-kotlin](https://github.com/FasterXML/jackson-module-kotlin) from 2.13.4 to 2.14.0.
- [Release notes](https://github.com/FasterXML/jackson-module-kotlin/releases)
- [Commits](https://github.com/FasterXML/jackson-module-kotlin/compare/jackson-module-kotlin-2.13.4...jackson-module-kotlin-2.14.0)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson.module:jackson-module-kotlin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-09 16:18:05 -05:00