SpotiFLAC-Mobile/android/app
zarzet d24435dbc2 fix: truncate SAF filenames and directory segments safely at UTF-8 boundaries
Long track names (especially CJK/emoji) could exceed filesystem limits
when used as SAF document display names, causing write failures.

- Add truncateUtf8Bytes in Go, Kotlin (MainActivity + SafDownloadHandler),
  and Dart to truncate strings at valid UTF-8 codepoint boundaries
- Limit SAF filenames to 180 UTF-8 bytes (preserving file extension)
- Limit SAF directory segments to 120 UTF-8 bytes
- Fix Go sanitizeFilename to use UTF-8 aware truncation instead of
  byte slice which could split multi-byte characters
- Add Go test for multi-byte truncation correctness
- Sanitize SAF relative directory in Dart native worker and regular
  download paths via _sanitizeSafRelativeDir
2026-05-06 01:18:49 +07:00
..
src fix: truncate SAF filenames and directory segments safely at UTF-8 boundaries 2026-05-06 01:18:49 +07:00
build.gradle.bak Fix metadata consistency (Go->Flutter) and build optimization 2026-01-09 02:12:24 +07:00
build.gradle.kts feat: add experimental Android native download worker 2026-05-05 02:41:00 +07:00
proguard-rules.pro v3.7.0: roll back from v4, remove internal player — v3 is already complete 2026-03-04 02:02:25 +07:00