fix(android): declare INTERNET permission in the main manifest (release had none)

Flutter auto-adds android.permission.INTERNET only to the debug/profile
manifests, so every RELEASE build (Play + F-Droid) shipped with no network
permission at all — the whole social layer (market, messaging, trust, sync)
was dead on Android release, while desktop (no permission model) worked. The
market's 'can't reach the servers' was the visible symptom. Adds it to
android/app/src/main/AndroidManifest.xml.

Release prep v0.1.14: pubspec 0.1.13+15 -> 0.1.14+16; fdroid recipe
versionCodes 161/162/163, commit v0.1.14, CurrentVersionCode 163.
This commit is contained in:
vjrj 2026-07-22 17:11:12 +02:00
parent 3d042c673e
commit 3f6c29ffe4
3 changed files with 18 additions and 12 deletions

View file

@ -1,4 +1,10 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Network access for the social layer (relays: offers, messaging, trust,
device sync). Flutter auto-adds this only to the debug/profile manifests,
so release builds shipped it MISSING — every store build had no network
at all (the market's "can't reach the servers" was the visible symptom;
messaging and sync were equally dead). Must live in the main manifest. -->
<uses-permission android:name="android.permission.INTERNET" />
<!-- Coarse location only, for the optional "use my location" sharing area <!-- Coarse location only, for the optional "use my location" sharing area
(reduced to a low-precision geohash; never a precise fix). --> (reduced to a low-precision geohash; never a precise fix). -->
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />

View file

@ -1,7 +1,7 @@
name: tane name: tane
description: "Tane — local-first, encrypted, decentralized traditional-seed inventory and market." description: "Tane — local-first, encrypted, decentralized traditional-seed inventory and market."
publish_to: 'none' publish_to: 'none'
version: 0.1.13+15 version: 0.1.14+16
environment: environment:
sdk: ^3.11.5 sdk: ^3.11.5

View file

@ -22,9 +22,9 @@ Repo: https://git.comunes.org/comunes/tane.git
AllowedAPKSigningKeys: ddfae432091b8248a8a4a1b353487fa626301f4357ef835e94ec312f69418e38 AllowedAPKSigningKeys: ddfae432091b8248a8a4a1b353487fa626301f4357ef835e94ec312f69418e38
Builds: Builds:
- versionName: 0.1.13 - versionName: 0.1.14
versionCode: 151 versionCode: 161
commit: v0.1.13 commit: v0.1.14
subdir: apps/app_seeds subdir: apps/app_seeds
output: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk output: build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk
binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-armeabi-v7a-release.apk binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-armeabi-v7a-release.apk
@ -58,9 +58,9 @@ Builds:
$PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar $PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar
- $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm - $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm
- versionName: 0.1.13 - versionName: 0.1.14
versionCode: 152 versionCode: 162
commit: v0.1.13 commit: v0.1.14
subdir: apps/app_seeds subdir: apps/app_seeds
output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk output: build/app/outputs/flutter-apk/app-arm64-v8a-release.apk
binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-arm64-v8a-release.apk binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-arm64-v8a-release.apk
@ -94,9 +94,9 @@ Builds:
$PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar $PUB_CACHE/hosted/pub.dev/flutter_tesseract_ocr-0.4.31/android/libs/tesseract4android-release.aar
- $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm64 - $$flutter$$/bin/flutter build apk --release --split-per-abi --target-platform=android-arm64
- versionName: 0.1.13 - versionName: 0.1.14
versionCode: 153 versionCode: 163
commit: v0.1.13 commit: v0.1.14
subdir: apps/app_seeds subdir: apps/app_seeds
output: build/app/outputs/flutter-apk/app-x86_64-release.apk output: build/app/outputs/flutter-apk/app-x86_64-release.apk
binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-x86_64-release.apk binary: https://git.comunes.org/comunes/tane/releases/download/v%v/app-x86_64-release.apk
@ -138,5 +138,5 @@ VercodeOperation:
- '%c * 10 + 3' - '%c * 10 + 3'
UpdateCheckData: UpdateCheckData:
apps/app_seeds/pubspec.yaml|version:\s*[\d.]+\+(\d+)|apps/app_seeds/pubspec.yaml|version:\s*([\d.]+)\+ apps/app_seeds/pubspec.yaml|version:\s*[\d.]+\+(\d+)|apps/app_seeds/pubspec.yaml|version:\s*([\d.]+)\+
CurrentVersion: 0.1.13 CurrentVersion: 0.1.14
CurrentVersionCode: 153 CurrentVersionCode: 163