Hi. Help please. Google play console ask me about - android:contentDescription. How add this property?
Problem with export to Google Play store
- Edited
Facing the same problem now 2024. Seems like Google wants this for various Images or Inputfields in order to describe for example visual impaired people a description of what they are looking at. So, an image on the main menu might have: android:contentDescription="Main menu"
Or if it's not applicable it might have: android:contentDescription="@null"
However, how do we include this information in our Android exports? Is there a way to add this in the editor so it follows along out in the export process?
does fdroid asks for this garbage? maybe post your apk's there?
- Edited
fdroid? No, it's an .aab that we put up on google play store. And in that process google play store complain about this when they generate a report for if they are going to accept the app or not. It's not something game breaking it seems, but still a warning. Not sure what fdroid is.
[Edit:]
Ok, I checked out Fdroid. No our app is not a FOSS project, it's a monetized project. Seems this is not suited for F-droid. Not sure if F-Droid would ask for this. But it's for making apps handling accessability features for for instance visually impaired people.
dlccmind https://f-droid.org/en/
Google play is mostly filled with garbage, its dangerous to use nowadays..
kuligs2
I don't disagree per se. But the company I work for wants to release on google play. And at least we are not releasing anything dangerous. So I still need a solution.
Does anyone know if the button I found in newer versionof godot, "Add metadata" could be helpful in solving this problem?
- Edited
ChatGPT provided this example. ChatGPT says it only applies to Control's, but that may be incorrect, since all Godot Object's have Metadata.
I haven't tested it (ChatGPT is often wrong), but that should be easy to do using Android's TalkBack screen reader.
func _ready():
# Set the accessible description for the control node
self.set_meta("accessible_description", "A description of the image.")
Setting Metadata using the Inspector ("Add Metadata") is equivalent to setting in a script. I don't know when that feature was added to the Inspector. It was probably available via scripting before then.
I just tried to test this, but I couldn't get TalkBack to work at all with an Android app exported from Godot.
kuligs2 Google play is mostly filled with garbage, its dangerous to use nowadays..
That's nonsense. What's the alternative?
DaveTheCoder What's the alternative?
Download the required apk directly.
DaveTheCoder compile from source, gentoo style, or if lazy use fdroid
- Edited
DaveTheCoder Thank you for this! I will try this out and see if this affects it. I hope it will, looks like it should.
[Edit:] Oh, just read you didn't get it to work. But, I just want to get rid of the annoying warnings. It might be able to do that at least.
dlccmind Oh, just read you didn't get it to work.
It may or may not work. The problem is that Godot apparently doesn't support the text-to-speech screen reader, so I couldn't test it.