Skip to content

Satellite tracker and pass predictor for Android, inspired by Gpredict

v4.4.2 - Fixed transceivers retention, various minor tweaks

Arty Bishop7b6fb5eb8f43
diff --git a/build.gradle.kts b/build.gradle.kts
index 6692654b..467d490a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -8,5 +8,6 @@ plugins {
}
tasks.register("clean", Delete::class.java) {
+ description = "Cleans the build directory"
delete(rootProject.layout.buildDirectory)
}
diff --git a/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/LocalSource.kt b/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/LocalSource.kt
index 57d13295..b377e807 100644
--- a/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/LocalSource.kt
+++ b/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/LocalSource.kt
@@ -74,7 +74,6 @@ class LocalSource(private val look4SatDao: Look4SatDao) : ILocalSource {
}
override suspend fun insertRadios(radios: List<SatRadio>) {
- look4SatDao.deleteRadios()
look4SatDao.insertRadios(radios.toFrameworkRadios())
}
diff --git a/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/RemoteSource.kt b/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/RemoteSource.kt
index 2deafb8d..300e930d 100644
--- a/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/RemoteSource.kt
+++ b/core/data/src/main/java/com/rtbishop/look4sat/core/data/source/RemoteSource.kt
@@ -24,6 +24,7 @@ import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.coroutines.withContext
import okhttp3.OkHttpClient
import okhttp3.Request
+import java.io.ByteArrayInputStream
import java.io.InputStream
class RemoteSource(
@@ -45,7 +46,10 @@ class RemoteSource(
override suspend fun getNetworkStream(url: String): InputStream? = withContext(dispatcher) {
try {
val networkRequest = Request.Builder().url(url).build()
- httpClient.newCall(networkRequest).execute().body.byteStream()
+ httpClient.newCall(networkRequest).execute().use { response ->
+ if (!response.isSuccessful) return@withContext null
+ ByteArrayInputStream(response.body.bytes())
+ }
} catch (exception: Exception) {
println("RemoteSource network stream exception: $exception")
null
diff --git a/core/presentation/src/main/res/values/strings.xml b/core/presentation/src/main/res/values/strings.xml
index ff17b1ed..b73c01cf 100644
--- a/core/presentation/src/main/res/values/strings.xml
+++ b/core/presentation/src/main/res/values/strings.xml
@@ -49,9 +49,9 @@
\n\nPlease update the database at least weekly to get accurate predictions.</string>
<string name="pass_whatsnew_title" translatable="false">What\'s new in Look4Sat</string>
<string name="pass_whatsnew_message" translatable="false">
- * Enabled continuous SSTV decoding for manually selected types (Play button enables/disables decoding)
- \n\n* Added selected transceiver\'s frequency display to SSTV page
- \n\n* Fixed Reset/Save/Play buttons behavior and states on SSTV page
+ * Fixed transceivers retention on a failed fetch from server
+ \n\n* Fixed SSTV frequency display, no transceiver selected hint
+ \n\n* Fixed All satellite category retention on Satellites screen
</string>
<!-- Radar screen -->
diff --git a/fastlane/metadata/android/en-US/changelogs/default.txt b/fastlane/metadata/android/en-US/changelogs/default.txt
index f7520be5..b0b03c0b 100644
--- a/fastlane/metadata/android/en-US/changelogs/default.txt
+++ b/fastlane/metadata/android/en-US/changelogs/default.txt
@@ -1,3 +1,3 @@
-* Enabled continuous SSTV decoding for manually selected types (Play button enables/disables decoding)
-* Added selected transceiver\'s frequency display to SSTV page
-* Fixed Reset/Save/Play buttons behavior and states on SSTV page
+* Fixed transceivers retention on a failed fetch from server
+* Fixed SSTV frequency display, no transceiver selected hint
+* Fixed All satellite category retention on Satellites screen
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 2f4abd08..5e8de41c 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -1,8 +1,8 @@
[versions]
#noinspection UnusedVersionCatalogEntry
-appVersionCode = "441"
+appVersionCode = "442"
#noinspection UnusedVersionCatalogEntry
-appVersionName = "4.4.1"
+appVersionName = "4.4.2"
#noinspection GradleDependency,UnusedVersionCatalogEntry
compileSdk = "36"
#noinspection UnusedVersionCatalogEntry
@@ -18,18 +18,18 @@ androidx-core-ktx = "1.18.0"
androidx-core-splashscreen = "1.2.0"
androidx-room = "2.8.4"
-compose-bom = "2026.05.01"
+compose-bom = "2026.06.00"
compose-activity = "1.13.0"
compose-lifecycle = "2.10.0"
-compose-navigation3 = "1.1.2"
+compose-navigation3 = "1.1.3"
-google-ksp = "2.3.7"
+google-ksp = "2.3.8"
kotlin = "2.4.0"
kotlin-coroutines = "1.11.0"
kotlin-serialization = "1.11.0"
-other-okhttp = "5.3.2"
+other-okhttp = "5.4.0"
other-osmdroid = "6.1.20"
test-junit4 = "4.13.2"
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 354565ba..681b4f8b 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,7 +1,7 @@
-#Mon May 25 11:20:48 BST 2026
+#Sun Jun 21 14:57:04 BST 2026
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.0-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME