godot
godot copied to clipboard
Add "filesRoot" path to Android provider paths xml
Adds a filesRoot provider path to the Android build godot_provider_paths.xml file.
See: https://github.com/godotengine/godot/pull/72495#issuecomment-1455241402
This allows custom Android plugins to register the project as a androidx.core.content.FileProvider for sharing capabilities in a compatible way with the changes in #72495.
@Derektamente has tested it with their Godroid plugin and verified that it works.
The indentation changes seem a bit arbitrary, are they intentional?
For the record, your commit seems not to be linked to your GitHub account. See: Why are my commits linked to the wrong user? for more info.
Thanks for the heads up, my IDE must have done something strange there - I've fixed the indentation and the author email.
Thanks!
Cherry-picked for 4.0.2.