I need to add one meta-data directive to the AndroidManifest manually (as this is neccessary regarding to Vuforia documentation to enable ARCore), but I cannot find any way, to do this the Unity-way. Currently I export the project to Android Studio, edit the Manifest and then build it.
Overwriting the manifest with another one in the Plugins-directory is no option at all, because this way is highly error-prune, as a lot of other directives are overwritten.
Those two are the “best” options. Third one is to replace the default manifest but that is even more error prone. Fourth one is to use IPostGenerateGradleAndroidProject
thank you very much, especially for the linked github project. Do you have some clue about the used Xml-framework, as Im not able to find a working method to create a new XmlNode? System.Xml.CreateNode is not available in the Unity .NET as it seems?
I would highly appreciate if you have a working code snipped for creating a meta-data node, because Im used to a different Xml-framework and might miss something here.