Repository navigation
Mobile: finish auth (#101) + gate sample fallbacks + player/build polish (#102) - #12
Merged
Merged
Conversation
release: AFinity → viewrr Compose Multiplatform migration
release: player controls, media playback, res cleanup
release: live API + iOS render smoke job
…ix iOS seek precision + state sync - shared/build.gradle.kts: minSdk 35 -> 24 (35 excluded nearly the entire device base) - VideoSurface.android.kt: useController=false (ExoPlayer controls overlapped Compose overlay) - AvPlayer.kt (iOS): CMTimeMakeWithSeconds timescale 1 -> 600 (was whole-second-only seeks); reset _state on load() so stale position/duration don't carry over; sync isPlaying/isBuffering from AVPlayer.timeControlStatus in refreshState() From MakD#102 triage.
Dev SampleData fallbacks were unconditionally masking backend failures, so a
broken integration rendered as fake 'working' content. Introduce a self-contained
expect/actual isDebugBuild flag and gate all three fallbacks behind it:
- MediaRepository.homeRows(): return real (possibly empty) rows in release
- DetailViewModel: emit DetailUiState.Error on failure in release
- PlayerViewModel: emit PlayerUiState.Error on failure in release
Detail/Player modules switch viewModelOf -> explicit viewModel{} so the debug
default param isn't force-resolved from the Koin graph. commonTest extended to
assert empty/Error when flag off and sample fallback when flag on.
…er, sanitized logging
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.
Fans out three vetted units, all merged with combined
:shared:testAndroidHostTestgreen.A — MakD#101 auth finish (
26e0261)expectSuccess=true+ HttpResponseValidator → typedViewrrApiException(no more 401 body deserialized as AuthTokens)B — gate SampleData fallbacks (MakD#102 P1) (
e9ebb4f)expect/actual isDebugBuild; SampleData in repo/detail/player gated → release surfaces real empty/Error statesC — player/build polish (MakD#102) (
fdb7311)Remaining MakD#102 work tracked as sub-issues. iOS end-to-end playback test still a follow-up (CI render smoke only).