Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
How do I make Phosh consider my app "mobile friendly"?
I'm working on an app for Linux phone operating systems like postmarketOS and publishing it as a Flatpak on Flathub. What steps do I need to take to make it appear as a "mobile friendly" app in the Phosh app grid? Currently I need to press the "Show All Apps" button for it to appear, which tells me Phosh doesn't consider it mobile friendly as it by default filters out desktop-only apps.
1 answer
For store metadata, you'd be looking for the Device Support section of Flathub's documentation.
Notably the touch control:
<!-- Desktop AND mobile supported -->
<supports>
<control>keyboard</control>
<control>pointing</control>
<control>touch</control>
</supports>
and the display size
<requires>
<!-- Mobile/tablet AND desktop supported -->
<display_length compare="ge">360</display_length>
</requires>
Hopefully, that gets you what you need. If not, there are some older (perhaps deprecated) tags mentioned in this Foliate ticket.

0 comment threads