Repository navigation
v0.4.3
π MetaJammer v0.4.3 β Release Notes
Summary
MetaJammer v0.4.3 is a stability and compatibility hardening release focused on backward compatibility for Android 8.0β9.0 devices, resolving library deprecations, and eliminating build pipeline workarounds for official F-Droid inclusion.
π What's Changed in v0.4.3 (from v0.4.2)
1. Android 8.0β9.0 (API 26β28) Backward Compatibility
- Safe Media Metadata Lifecycle (
MediaUtils.useCompat): Replaced standard Kotlin.use { ... }withuseCompatacrossMetadataRepositoryandMediaMetadataProcessor. This prevents runtimeNoSuchMethodError/IncompatibleClassChangeErrorcrashes on API 26β28 whereMediaMetadataRetrieverdid not implementAutoCloseable. - OGG Audio Remux Guard: Added an explicit API level check (
Build.VERSION_CODES.Q) before attempting native OGG remuxing inMediaMetadataProcessor, gracefully failing closed with an explicit error on legacy Android versions. - Notification Permission Guard: Guarded
POST_NOTIFICATIONSruntime permission request launcher inMainActivitywithBuild.VERSION_CODES.TIRAMISU.
2. Library Deprecations & Lifecycle Cleanup
- Room Database Migration: Upgraded
fallbackToDestructiveMigration()tofallbackToDestructiveMigration(dropAllTables = true)inAppDatabase. - WorkManager Data Handling: Replaced deprecated
inputData.getStringArray()with null-safeinputData.getNullableStringArray()inMetadataProcessingWorker. - ViewModel Lifecycle: Removed redundant
super.onCleared()call inMainViewModel.
3. Jetpack Compose UI Guidelines Alignment
- Modifier Parameter Ordering: Positioned
modifier: Modifier = Modifieras the first optional parameter acrossProcessingScreen,QuickScrubScreen, andSettingsScreenin accordance with Android Compose API conventions.
4. F-Droid Pipeline & Metadata Hardening
- Zero-Sed Build Recipe: Switched from
signingConfigs.getByName("release")to null-safesigningConfigs.findByName("release")?.let { ... }inapp/build.gradle.kts. This allows F-Droid's build server to cleanly strip signing blocks without crashing Gradle or requiringprebuild: sedscripts. - Zero-Scanignore Configuration: Removed external Gradle
foojay-resolverplugin fromsettings.gradle.ktsto eliminate scanner flags (suss.json). - Fastlane & Metadata Polish: Shortened Fastlane
short_description.txtto 69 characters (complying with F-Droid's 80-char limit) and formatted YAMLprebuildas an inline scalar string forfdroid rewritemeta. - Fastlane Changelog: Added
fastlane/metadata/android/en-US/changelogs/4.txt.
5. Version Bump
- Bumped
versionNameto0.4.3andversionCodeto4.