Skip to content

Commit 4e27416

Browse files
jamesarichclaude
andcommitted
refactor(node): fetch device links from the API, drop the bundled matcher (#5765)
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a9fd667 commit 4e27416

23 files changed

Lines changed: 5628 additions & 1686 deletions

File tree

androidApp/src/fdroid/kotlin/org/meshtastic/app/di/FDroidNetworkModule.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ package org.meshtastic.app.di
1919
import org.koin.core.annotation.Module
2020
import org.koin.core.annotation.Single
2121
import org.meshtastic.core.model.NetworkDeviceHardware
22+
import org.meshtastic.core.model.NetworkDeviceLinksResponse
2223
import org.meshtastic.core.model.NetworkFirmwareReleases
2324
import org.meshtastic.core.network.service.ApiService
2425

@@ -36,6 +37,9 @@ class FDroidNetworkModule {
3637
override suspend fun getDeviceHardware(): List<NetworkDeviceHardware> =
3738
throw UnsupportedOperationException("getDeviceHardware is not supported on F-Droid builds.")
3839

40+
override suspend fun getDeviceLinks(): NetworkDeviceLinksResponse =
41+
throw UnsupportedOperationException("getDeviceLinks is not supported on F-Droid builds.")
42+
3943
override suspend fun getFirmwareReleases(): NetworkFirmwareReleases =
4044
throw UnsupportedOperationException("getFirmwareReleases is not supported on F-Droid builds.")
4145
}

0 commit comments

Comments
 (0)