Repository navigation
refactor: retire the dead Jellyfin/AFinity stack - #3
Merged
Merged
Conversation
The new commonMain viewrr stack now covers login -> browse -> detail -> series -> player -> history -> settings, so the original Android-only Jellyfin code is dead weight. Remove it: - Delete ~467 .kt under app/ (data layer, old DI/Koin Jellyfin modules, navigation, cast, mpv/audiobookshelf players, all old ui screens + VMs, jellyfin models/managers/workers). - MainActivity -> minimal ComponentActivity hosting shared App(); AfinityApplication -> startKoin with viewrr modules only (drop appModules/cast/workers/Coil factory). - AndroidManifest -> minimal (drop PlayerActivity/AudiobookshelfService/cast/WorkManager/FileProvider). - Prune app deps: remove jellyfin-sdk, libmpv, media3-ffmpeg, retrofit, room, okhttp, cast, mediarouter, tink, paging, datastore, lottie, commonmark, richtext, aboutlibraries, etc. app/ now depends on :shared + compose + koin-android + timber only. Native libs gone. - Drop KoinModulesTest (verified the old graph). :app:assembleDebug green; 34 host tests pass; emulator launches clean (dark viewrr login).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The new commonMain viewrr stack covers the core flows, so the original Jellyfin code is retired.
.ktunderapp/(data layer, old DI, navigation, cast, mpv/abs players, old UI/VMs, models, workers)MainActivity(hosts sharedApp()) +AfinityApplication(startKoin viewrr modules only) + minimal manifest:shared+ compose + koin-android + timber — jellyfin-sdk/libmpv/ffmpeg/retrofit/room/cast all gone (native libs removed)KoinModulesTest(old graph)Verified:
:app:assembleDebuggreen, 34 host tests pass, emulator launches clean. CI runs JVM + iOS-native suites.