Build latest Android apk

This commit is contained in:
Janez T
2026-03-01 11:20:14 +01:00
parent 98718c8476
commit e43b386029
21 changed files with 1244 additions and 48 deletions

View File

@@ -32,8 +32,10 @@ VoicePacketMode voiceModeForBandwidth(int radioBandwidthHz) {
/// executed in a background isolate so the UI thread is never blocked.
class VoiceCodecService {
void _ensureCodec2Supported() {
if (kIsWeb || defaultTargetPlatform != TargetPlatform.iOS) {
throw UnsupportedError('Codec2 is enabled only on iOS.');
if (kIsWeb ||
(defaultTargetPlatform != TargetPlatform.iOS &&
defaultTargetPlatform != TargetPlatform.android)) {
throw UnsupportedError('Codec2 is enabled only on iOS and Android.');
}
}