Skip to content

Commit

Permalink
1.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
w2sv committed Jan 5, 2025
1 parent 9f97886 commit 3cced1e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,14 +112,16 @@

<h2 align="center">Tech Stack</h2>

- Kotlin
- Jetpack Compose
- Kotlin only
- Jetpack Compose for in-app UI, xml for widget UI
- Coroutines & flows
- [Dagger-Hilt](https://dagger.dev/hilt/) for dependency injection
- [OkHttp](https://square.github.io/okhttp/) for network requests, [kotlinx serialization](https://github.com/Kotlin/kotlinx.serialization) for JSON parsing
- [compose-destinations](https://github.com/raamcosta/compose-destinations) for navigation
- Proto & Preferences data store
- JUnit 4 & [mockito](https://github.com/mockito/mockito) for unit testing
- JUnit 4, [mockito](https://github.com/mockito/mockito), [robolectric](https://robolectric.org/) & [turbine](https://github.com/cashapp/turbine) for unit testing
- JUnit 4 Compose android (instrumented) testing
- Androidx Macro benchmarking & baseline profile generation with app-specific usage journey, implemented with [UI Automator](https://developer.android.com/training/testing/other-components/ui-automator)

<h2 align="center">Architecture</h2>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,16 +147,17 @@ class LocationAccessState(
}

when {
isLaunchingSuppressed(requestLaunchedBefore.value) && !skipSnackbarIfInAppPromptingSuppressed -> snackbarEmitter.dismissCurrentAndShow {
AppSnackbarVisuals(
msg = getString(R.string.you_need_to_go_to_the_app_settings_and_grant_location_access_permission),
kind = SnackbarKind.Warning,
action = SnackbarAction(
label = getString(R.string.go_to_app_settings),
callback = openAppSettings
isLaunchingSuppressed(requestLaunchedBefore.value) && !skipSnackbarIfInAppPromptingSuppressed ->
snackbarEmitter.dismissCurrentAndShow {
AppSnackbarVisuals(
msg = getString(R.string.you_need_to_go_to_the_app_settings_and_grant_location_access_permission),
kind = SnackbarKind.Warning,
action = SnackbarAction(
label = getString(R.string.go_to_app_settings),
callback = openAppSettings
)
)
)
}
}

isLaunchingSuppressed(requestLaunchedBefore.value) -> setOnGrantActionAnd(openAppSettings)
else -> setOnGrantActionAnd { launchMultiplePermissionRequest() }
Expand Down
6 changes: 4 additions & 2 deletions app/src/main/play/release-notes/en-US/production.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
- Enable configuration of property alignment on widget and set default back to right-aligned upon popular demand
- Enable resizing the widget to a width of 2 cells
- Show 'location access missing' snackbar upon in-app widget pinning with access requiring properties active, but no access
- Fix background location access grant initially not being recognized
- Fix widget property copy-to-clipboard functionality on click
- Improve in-app and widget refreshing performance
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ android.nonTransitiveRClass=true
android.uniquePackageNames=true
android.nonFinalResIds=false
# ======= Version =======
version=1.6.3
versionCode=65
version=1.6.4
versionCode=66

0 comments on commit 3cced1e

Please sign in to comment.