From 5001d79bbceca757b73d91c00e3d3f1b2b98fbd3 Mon Sep 17 00:00:00 2001 From: goon-foss Date: Tue, 6 Oct 2026 15:48:16 +0200 Subject: [PATCH] fix(player): odtwarzacz respektuje systemowa blokade obrotu Ekran Playera mial w nawigacji orientation: 'all', ktore react-native-screens zamienia na SCREEN_ORIENTATION_FULL_SENSOR, a ten ignoruje blokade obrotu z ustawien Androida i wygrywal z naszym unlockAsync (UNSPECIFIED). Zgloszenie 62d0192e: ekran sie obracal mimo wylaczonego autoobrotu. Opcja usunieta, obrotem steruje tylko PlayerScreenActive. Emulator: przed zmiana przy blokadzie FULL_SENSOR i obrot do 270, po zmianie UNSPECIFIED i pion, a przy wlaczonym autoobrocie ekran dalej obraca sie za telefonem. Co-Authored-By: Claude Opus 5.5 --- mobile/src/changelog.ts | 8 ++++++++ mobile/src/navigation.tsx | 5 ++++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/mobile/src/changelog.ts b/mobile/src/changelog.ts index 099776a..cc3bc35 100644 --- a/mobile/src/changelog.ts +++ b/mobile/src/changelog.ts @@ -35,6 +35,14 @@ export type ChangelogEntry = { }; export const CHANGELOG: ChangelogEntry[] = [ + { + id: '2026-10-06a', + date: 'October 2026', + items: [ + 'The player now respects the phone\'s rotation lock. With auto-rotate turned off in Android, the video stays upright even when you lie on your side. The fullscreen button still switches to landscape.', + 'Edge: when a creator deletes their account, all of their clips disappear from the feed and their page within the hour, instead of over a week.', + ], + }, { id: '2026-10-02e', date: 'October 2026', diff --git a/mobile/src/navigation.tsx b/mobile/src/navigation.tsx index 21ffdf2..49b0aa2 100644 --- a/mobile/src/navigation.tsx +++ b/mobile/src/navigation.tsx @@ -297,7 +297,10 @@ export function AppNavigator({ onLogout, client, appVersion }: AppNavigatorProps // dawaĊ‚ ~80-90px czarnego paska w landscape, letterboxowaĊ‚o wideo. headerShown: false, contentStyle: { backgroundColor: '#000' }, - orientation: 'all', + // BEZ `orientation`: react-native-screens zamienia 'all' na FULL_SENSOR, ktory + // ignoruje systemowa blokade obrotu, i wygrywal z naszym unlockAsync + // (UNSPECIFIED respektuje blokade). Obrotem steruje PlayerScreenActive + // (zgloszenie 62d0192e: ekran sie obracal mimo wylaczonego autoobrotu). }} />