-
-
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
Introduce appCategory
attribute of android to set category
#63483
Conversation
Exposing There are two options, either we keep the current |
We should go with the new |
What I think should be done is replacing the |
When trying the export type I have made some efforts but cannot change this problem, so I submit it and hope to get help. |
After a moment of searching, there doesn't seem to be any solution to the previous problem. Now it works fine and could merges into |
Shouldn't the value for the |
Actually, it's It is very strange that no matter how I order them, there is always an index corresponding to a category that does not display properly, guessing maybe the enumeration can only hold 8 objects? It looks good when there are only 8 objects. |
I tested with 'Accessibility' using the value So it should be safe to reintroduce the |
Like this, it's not the same as the other categories (android:appCategory="game") and maybe it's a bug ?🤔, I have no idea on how to fix it. |
@qianjunakasumi Can you squash the commits. |
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 changes look good, and the logic works as expected (based on my own testing) so this PR is good to go.
As mentioned, once you squash the commits, this should be ready to merge.
appCategory
attribute of android set to gameappCategory
attribute of android to set category
sure, ptal :) |
Thanks! And congrats for your first merged Godot contribution 🎉 |
According to android documentation (https://developer.android.com/guide/topics/manifest/application-element#isGame),
android:isGame
is deprecated.To accommodate this change, use the
appCategory
attribute set to game.: )
Considering that godot may also run on a lower version of android (because of minSDK), so the
isGame
attribute not delete.Personally think: the change is compatible with
3.x
.