crysxd / OctoApp-Plugin

Companion plugin for OctoApp
GNU Affero General Public License v3.0
54 stars 4 forks source link

Android Foldable Awareness #33

Closed DrewCPU closed 1 year ago

DrewCPU commented 1 year ago

Is your feature request related to a problem? Please describe. I realize I'm probably the only Pixel Fold owner who has installed OctoApp so far, but when I open the app on the outside screen and then unfold it, it stays on the phone-sized layout instead of transitioning to the tablet layout. When I force close the app and reopen it unfolded, I get the tablet multi-column layout, but it reverts back the the phone single column when I close it and stays that way until I force close it again.

Describe the solution you'd like I'd like for the app to automatically switch between the phone layout and the tablet layout based on if the phone is open or closed.

Describe alternatives you've considered Force closing the app and reopening it while unfolded will display the correct layout until the phone is closed.

Additional context Google's doc on making your app foldable-aware: https://developer.android.com/guide/topics/large-screens/make-apps-fold-aware

DrewCPU commented 1 year ago

SOrry. Didn't realize I posted to the plugin repo. I'll put this in the proper place.