Commit graph

91 commits

Author SHA1 Message Date
Daniel Shokouhi 49cc4aa7d3
Use recommended splash screen library for Wear OS (#3908)
* Use recommended splash screen library for Wear OS

* More tweaks per recommendations

* Add splash screen to Assist

* Add splash screen for Assist

* Use mipmap instead of drawable
2023-10-02 18:24:39 -04:00
Daniel Shokouhi f9c7bceac0
Switch to Wear Device specific preview (#3906) 2023-10-02 18:23:48 -04:00
dependabot[bot] 09698f0e37
Bump io.sentry:sentry-android from 6.29.0 to 6.30.0 (#3900)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.29.0 to 6.30.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.29.0...6.30.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-29 22:48:21 -04:00
Joris Pelgröm b0ad11d04f
Add troubleshooting tool: location history (#3886)
* Add location history (location, trigger, result)

 - Initial setup saving data, no UI, cleanup or preferences yet

* On/off setting, limit history size and basic UI

 - Add a on/off setting for location history (default on)
 - Limit the history size to 48 hours, any older entries will be deleted during regular sensor updates
 - Add a basic UI for location history based on paging considering the possible data size with multiserver/high accuracy. The list looks good and shows status at a glance, detail view still needs work.

* Finish expanded UI

 - Make the expanded UI nicer and show relevant data, buttons for opening the location in a maps app and sharing log data
 - Add empty states for location history

* Filter by state, improve list speed

 - Add option to filter by state
 - Simplify Room configuration and sort by indexed ID to improve list loading speed

* Remove duplicate source

* Fix minimal

* Split sent into sent and failed to send
2023-09-28 17:37:37 -04:00
Joris Pelgröm 43cc4d4a73
Fix rotary input after first screen & for picker (#3881)
- The recent switch to Horologist modifiers for rotary input broke after the first screen because of manual focus requesting, and the refresh interval picker in general so also switch that to a Horologist modifier.
2023-09-20 19:42:20 -04:00
dependabot[bot] 03e3cee8e3
Bump org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0 (#3877)
Bumps org.jlleitschuh.gradle.ktlint from 11.5.1 to 11.6.0.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 15:39:39 -04:00
Dubzer 20f87c810b
Add smooth scrolling for rotary input (#3876) 2023-09-19 15:39:25 -04:00
dependabot[bot] ff70fb7c8c
Bump io.sentry:sentry-android from 6.28.0 to 6.29.0 (#3849)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.28.0 to 6.29.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.28.0...6.29.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-07 14:48:43 -04:00
Joris Pelgröm e4f38bae43
Dependency updates; Compose 1.5.1 and Kotlin 1.9.10 bugfixes (#3848) 2023-09-06 22:07:04 +00:00
dependabot[bot] ffd46b385d
Bump hilt from 2.47 to 2.48 (#3834)
Bumps `hilt` from 2.47 to 2.48.

Updates `com.google.dagger:hilt-android-compiler` from 2.47 to 2.48
- [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.47...dagger-2.48)

Updates `com.google.dagger:hilt-android` from 2.47 to 2.48
- [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.47...dagger-2.48)

Updates `com.google.dagger.hilt.android` from 2.47 to 2.48
- [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.47...dagger-2.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 19:53:45 -04:00
Joris Pelgröm cde8dc9ee9
More dependency bumps (#3815) 2023-08-26 16:42:20 -04:00
Joris Pelgröm fb71b9c788
Update to Kotlin 1.9/Compose 1.5/Compose Wear 1.2/AGP 8.1.1 (#3814)
- Update to Kotlin 1.9
 - Update to Compose 1.5 and Compose Wear 1.2, both depend on and are required for Kotlin 1.9. Compose Wear includes lazy classes moving to a different package so updated imports.
 - Update to AGP 8.1.1 to remove compatibility warning
 - Update Navigation Compose to 2.7.1 as it uses Compose 1.5 internally
 - Update Accompanist to 0.32 as it uses Compose 1.5 internally
 - Switch Room to KSP instead of kapt because this (latest stable) release doesn't work with Kotlin 1.9 otherwise. As a result, we no longer need to specifically enable incremental compilation.
2023-08-24 14:51:29 -04:00
Joris Pelgröm 8d3c2609fe
Bump compile SDK to 34 (Android 14) (#3782) 2023-08-19 14:34:56 -04:00
dependabot[bot] eb195b6687
Bump org.jlleitschuh.gradle.ktlint from 11.5.0 to 11.5.1 (#3771)
Bumps org.jlleitschuh.gradle.ktlint from 11.5.0 to 11.5.1.

---
updated-dependencies:
- dependency-name: org.jlleitschuh.gradle.ktlint
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-08 16:05:48 -04:00
dependabot[bot] a10d9149e5
Bump io.sentry:sentry-android from 6.27.0 to 6.28.0 (#3766)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.27.0 to 6.28.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.27.0...6.28.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-07 15:54:55 -04:00
Joris Pelgröm 49f3080b9e
Update ExoPlayer usage (#3760)
* Switch to StyledPlayerView for migration

* Migrate to media3 for ExoPlayer

* Replace deprecated code

* Restore/customize layout to ExoPlayer v2
2023-08-04 20:07:52 -04:00
Daniel Shokouhi ed677e8c97
Change SDK min back to 21 for main app (#3750) 2023-08-01 22:23:07 -04:00
Justin Bassett b0deb6de77
Migrate deploys to Fastlane (#3745)
* Migrate deploys to Fastlane

* Couple minor fixes to onPush.yml

* Copy paste is hard
2023-08-01 11:08:12 -04:00
Justin Bassett 1a6c2b94d2
Initial work on migrating plugins to catalogs. (#3737)
* Initial work on migrating plugins to catalogs.

* Remove Enterprise Build profiling since we really don't use it.

* Use a common Java Version and sdk versions.

* ktlint

* Review comments.
2023-07-31 20:35:39 -04:00
dependabot[bot] 6c8f67faad
Bump io.sentry:sentry-android from 6.26.0 to 6.27.0 (#3743)
Bumps [io.sentry:sentry-android](https://github.com/getsentry/sentry-java) from 6.26.0 to 6.27.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.26.0...6.27.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-31 15:19:27 -04:00
Márton Maráz a8a7363317
Implement support for multiple Shortcut Tiles on Wear OS (#3697)
* Extract JSONArray -> List<String> conversion to extension fun

* Refactor navigation around Shortcuts Tile settings

* Add ShortcutsTileId enum class

* Introduce multiple ShortcutTile subclasses and modify settings UI and storage to support multiple Tiles

* Check if correct ShortcutsTileId is passed as parameter to BaseShortcutTile

* Update TileUpdateRequester usages to account for multiple Tiles

* Add entity count to Shortcut Tile list in Settings

* Fix ktlint errors

* Fix more ktlint errors

* Extract string resource

* Add MULTI_INSTANCES_SUPPORTED to ShortcutsTile to be able to use any number of Tiles

* Refresh the list of Shortcut Tiles in the Settings without needing to restart the app

* Remove test logs

* Update androidx.wear.tiles:tiles to the latest version which doesn't yet require API 34 compileSdk version

* Fix crash when the preference's value is "{}"

* Fix crash when key String is "null" and converting to Int

* Rename placeholder variable name

* Add a comment explaining why to save the tiles in a getter

* Return emptyList() directly for clarity

* Remove icons from "Shortcut tile #n" entries in Settings

* Pass emptyList instead of using the non-null assertion operator to prevent NPEs in edge cases

* Refactor getTileShortcuts and getAllTileShortcuts in WearPrefsRepositoryImpl.
Make the code more readable and understandable, and reduce code duplication.

* Make it explicit that intKey is only intended to be null if stringKey == "null"

* Rename getTileShortcuts to getTileShortcutsAndSaveTileId and make it save the tileId not only when there's a null key in the map, but also when the tileId is not yet in the map. This way, actual Tiles and the tileId keys will be more in sync.

* Handle adding Shortcuts Tile immediately after updating the app to a new version which introduces support for multiple Shortcuts Tiles.

* Show message in the Settings when there are no Shortcuts tiles added yet.

* Refine message in the Settings when there are no Shortcuts tiles added yet

* WIP: ConfigShortcutsTile action

* Update comments about Wear OS versions

* Finalize ConfigShortcutsTile feature by applying @jpelgrom's suggestion to OpenShortcutTileSettingsActivity

* Only wrap the code in runCatching which is expected to throw an Exception under normal circumstances, when the pref value needs to be migrated from the old format.

* Call getTileShortcutsAndSaveTileId in OpenShortcutTileSettingsActivity

* Remove unnecessary stuff
2023-07-31 15:14:01 -04:00
dependabot[bot] fcab330115
Bump kotlinx-coroutines from 1.7.2 to 1.7.3 (#3735)
Bumps `kotlinx-coroutines` from 1.7.2 to 1.7.3.

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-guava` from 1.7.2 to 1.7.3
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.2...1.7.3)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-play-services` from 1.7.2 to 1.7.3
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.2...1.7.3)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-android` from 1.7.2 to 1.7.3
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.2...1.7.3)

Updates `org.jetbrains.kotlinx:kotlinx-coroutines-core` from 1.7.2 to 1.7.3
- [Release notes](https://github.com/Kotlin/kotlinx.coroutines/releases)
- [Changelog](https://github.com/Kotlin/kotlinx.coroutines/blob/master/CHANGES.md)
- [Commits](https://github.com/Kotlin/kotlinx.coroutines/compare/1.7.2...1.7.3)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-guava
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-play-services
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlinx:kotlinx-coroutines-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-29 12:13:58 -04:00
Justin Bassett ba3170362e
First Steps into making Gradle Catalogs (#3724)
* First Steps into making Gradle Catalogs

* Rename a couple dependencies.

* Downgrade compose compiler since it'll take more to bump the kotlin version apparently.

* Code review comments.

* Refactoring these are painful.

* Now I know my ABC, next time wont you sing with me....
2023-07-29 11:11:08 -04:00
dependabot[bot] 6b03613352
Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0 (#3474)
* Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0

Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.0.

---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

* Bump Gradle version

* Build default values changes

 - Remove items that match new defaults
 - Add item to keep old default to allow for those changes to happen in another PR

* Align target Kotlin version with target Java version

* Use JDK 17

* Remove one more item that now matches default

---------

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>
2023-04-24 21:05:20 -04:00
Joris Pelgröm abf0220430
Update Gradle to 7.5.1, Android Gradle plugin to 7.3.0 (#2934)
- Update Gradle to latest version (7.5.1)
 - Update Android Gradle plugin to latest version (7.3.0)
 - Move package property out of manifest into gradle build files namespace as recommended
2022-10-01 16:14:45 -04:00
Justin Bassett 11868c185c
Dependency bumps. (#2556) 2022-05-30 15:40:54 -04:00
Nelson Osacky 2767952bc3
Update to Gradle 7.2 (#1726)
* Update to Gradle 7.2

Also update other plugins

* Fix ktlint violations
2021-09-30 20:37:51 -04:00
Nelson Osacky 2ae76e95e9
Update Kotlin and Gradle versions. (#1649) 2021-07-26 08:28:00 -04:00
Nelson Osacky 89457c5fe0
Bump AGP, Gradle and Kotlin Versions (#1563) 2021-06-08 14:58:50 -04:00
Nelson Osacky d4b5819693
Bump versions, Kotlin, Gradle, etc. (#1411) 2021-03-08 09:03:32 -05:00
Nelson Osacky 4fed595a3d
Update to Gradle 6.8 (#1300)
This takes advantage of the new central declaration of repositories feature.
2021-01-19 10:36:38 -05:00
Nelson Osacky 010b63a5c3
Update to Gradle 6.7. (#1066)
Also enable Gradle parallel flag and caching flags.
2020-10-17 22:57:22 -04:00
Nelson Osacky 46dde1912e
Remove redundant buildscript declaration (#1029)
Update Gradle to 6.6.1, AGP to 4.0.2
Declare root project name
Use lazy task configuration
2020-10-11 13:38:46 -04:00
Tim f87ed32560
Feature/switch to kotlin dsl (#595)
* Switch to using Kotlin in of groovy for the gradle configurations.

* Gradle file cleanup.

* Switch to using Kotlin in of groovy for the gradle configurations.

* Gradle file cleanup.

* Retrofit (and maybe others libs) requires java compile options 1.8, still backwards compatible.

* Prep for release 1.9.0-XXX

* Fix ktLint errors.
2020-06-10 15:16:11 -04:00
Justin Bassett 5f1c72586b
Support for multiple ssids. (#485)
* Support for multiple ssids.

* Implementation of requested changes.

* Implementation of the official way of showing a custom preference dialog.
2020-03-04 13:16:13 -05:00
Justin Bassett 03478310c0
Build/Release Changes (#423)
* Fix app version in settings.

* Dependency Upgrades

* Enable beta -> production promotion via tag in Travis.

* Fix firebase release notes location.

* Add some logging around what we are building.

* TRAVIS_PULL_REQUEST is a number or false....
2020-02-13 21:44:28 -05:00
Cedrick Flocon cc35db99e4
Update jackson dependency (#69) 2019-11-26 09:34:04 +01:00
Justin Bassett ea56328a52 Initial work on integrating the mobile_app component. (#25)
* Initial work on integrating the mobile_app component.

* Tests because even if I don't like to write them, I probably should.

* Remove unused dependency for now.

* Fix view related PR comments, migrate to view flipper to make more
consistent with other UI.

* Migrate from error handling at Repository to Presenter for Integration.

* Extract register device data class.

* Extract the mapping of DeviceRegistration to RegisterDeviceRequest.

* Extract ensuring we have a valid, refreshed session.

* Unique localStorage per usage to avoid name collision.
2019-11-15 07:59:41 +01:00
Cedrick Flocon 3219504a12 [ARCHITECTURE] Let's do some quality (#15)
* extract dependencies

* Update test command and add lint

* Move Retrofit into data module and test authentication service

* Implement authorization repository

* Implementation authentication usecase

* Implementation presenter layer

* Remove old session stuff

* Java time backport

* Dependency with dagger
2019-11-10 13:07:38 -08:00
Cedrick Flocon 5cf20a56d2 Cleanup (#3)
* Delete unused icon

* Cleanup build gradle

* Update all dependencies

* Retro compatibility to lollipop

* Cleanup the main activity
2019-10-25 09:53:40 -07:00
Robbie Trencheny aed98be0c5
Initial commit 2019-04-01 22:52:08 -07:00