Skip to content

metainfo: Add device-specific metadata#356

Merged
tchx84 merged 1 commit into
tchx84:masterfrom
1peter10:metainfo-mobile-collection
Jan 15, 2026
Merged

metainfo: Add device-specific metadata#356
tchx84 merged 1 commit into
tchx84:masterfrom
1peter10:metainfo-mobile-collection

Conversation

@1peter10

@1peter10 1peter10 commented Dec 15, 2025

Copy link
Copy Markdown
Contributor

Thank you, @tchx84, for creating this very helpful app!

This PR will (after a subsequent release) make Portfolio show up in Flathub's Mobile Collection: https://flathub.org/en/apps/collection/mobile/1

See https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/\#mobile-only-apps for information regarding the change.

Mobile only apps

Mobile and tablet only apps typically should have:

<requires>
  <control>touch</control>
  <display_length compare="le">1279</display_length>
</requires>

Desktop and mobile apps

Apps that support and work on mobile, tablet and desktop typically should have:

<recommends>
  <control>keyboard</control>
  <control>pointing</control>
  <control>touch</control>
</recommends>
<requires>
  <display_length compare="ge">360</display_length>
</requires>

I chose mobile-only as

<value key="Purism::form_factor">mobile</value>

suggests that this is most fitting.

@tchx84 tchx84 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @1peter10 , thanks for looking into this, just left a minor comment.

Comment thread data/dev.tchx84.Portfolio.metainfo.xml.in Outdated
See https://docs.flathub.org/docs/for-app-authors/metainfo-guidelines/\#mobile-only-apps
for further information.

This will (after a subsequent release) make Portfolio show up in
Flathub's Mobile Collection: https://flathub.org/en/apps/collection/mobile/1
@1peter10
1peter10 force-pushed the metainfo-mobile-collection branch from 309061b to b663686 Compare January 6, 2026 14:09
@tchx84
tchx84 merged commit b62ed1b into tchx84:master Jan 15, 2026
1 check passed
@tchx84

tchx84 commented Jan 15, 2026

Copy link
Copy Markdown
Owner

thank you @1peter10 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants