social-app icon indicating copy to clipboard operation
social-app copied to clipboard

Remove portrait orientation locking from native Android/iOS apps

Open WolfWings opened this issue 1 year ago • 9 comments

https://github.com/bluesky-social/social-app/blob/c8c308e31e63607280648e3e9f1f56a371adcd05/app.config.js#L13

Can we get this line either removed, or explicitly changed to 'default' so the native apps stop forcing Portrait orientation please?

https://docs.expo.dev/versions/latest/config/app/#orientation

This appears to have been done blindly as part of moving to "react-navigation" without any consideration for if it was actually needed or not, when it was still using the older app.json format before the file was renamed:

https://github.com/bluesky-social/social-app/blob/56cf890debeb9872f791ccb992a5587f2c05fd9e/app.json#L6

The UI works just fine in Landscape mode if you load it on any number of browsers on mobile (worst case on my 2:1 aspect ratio 2160x1080 6" device is the navigation icons get a scrollbar?), but that results in a sub-par experience due to fighting with browsers built-in gestures on mobile at times.

WolfWings avatar Nov 11 '23 10:11 WolfWings