-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Set isGame flag as true on AndroidManifest #48547
Conversation
For reference, here's what the documentation says:
This is also used in the Android TV home screen: https://developer.android.com/training/tv/games/ We may want to expose this as an export preset setting (enabled by default), so that people can disable it if they're making non-game applications with Godot. |
Could you amend the commit message to be more explicit about what the commit does? |
@akien-mga You mean change the commit message? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I reached out internally, and the @lucasnlm Even though we won't include it, we really appreciate your contribution and thanks for bringing this to our attention! |
@m4gr3d I guess it might still be used by some Android-derived OSes that have game-specific categories in their launcher? I know my Pocophone F1's MIUI 12 has a Game category, though none of my installed games seem to be sorted in it. Edit: The Android TV documentation mentions it as used to sort the app among games: https://developer.android.com/training/tv/games/index.html#manifest Unity does seem to still have the It does sound like something that shouldn't hurt to enable for those launchers which do use this metadata? Otherwise I'd advise pushing internally for getting it marked as deprecated if there's no benefit to setting it: https://developer.android.com/guide/topics/manifest/application-element#isGame |
@akien-mga Thanks for the pointer to the Android TV documentation. It indeed sounds like it shouldn't hurt to give users the ability to set it if they want. |
@lucasnlm Based on @akien-mga's comment, it may be worth adding this feature, however this PR would have to be updated so that the feature is customizable by the user. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The feature should be togglable.
@m4gr3d I will try to implement it. |
Superseded by #50028. |
Adds
android:isGame
to AndroidManifest.