gluonhq / attach

GNU General Public License v3.0
48 stars 26 forks source link

Please add home bar detection & hide #387

Open salmonb opened 7 months ago

salmonb commented 7 months ago

Hi,

Can you please add a feature to detect (and eventually hide) the home bar (the swipe line that appears on some mobiles usually at the bottom of the screen)?

image

This bar can be annoying, especially when it overlaps the navigation buttons that an app typically displays at the bottom of the screen. In such cases, it would be much appreciated to have the possibility to hide this bar (ex: using prefershomeindicatorautohidden on iOS), or at least to know it is present, so the app can add some padding at the bottom to prevent the home bar overlapping the navigation buttons.

I guess the display module would be the best module to add this feature to.

Thank you!