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 <noreply@anthropic.com>
This commit is contained in:
parent
8971d81ef9
commit
5001d79bbc
2 changed files with 12 additions and 1 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
}}
|
||||
/>
|
||||
</Stack.Navigator>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue