Hi mobfish_cai,
Thanks for your feedback. We will not delete exist android manifest or overwrite it in next version.
Currently, you can changed the code at Library\PackageCache\com.htc.upm.wave.xrsdk@1.0.0\Editor\WaveXRBuildCheck.cs as below
namespace Wave.XR.BuildCheck
{
static class CustomBuildProcessor
{
const string AndroidManifestPathSrc = "Packages/com.htc.upm.wave.xrsdk/Runtime/Android/AndroidManifest.xml";
const string AndroidManifestPathDest = "Assets/Plugins/Android/AndroidManifest.xml";
static bool isAndroidManifestPathDestExisted = false;
static void CopyAndroidManifest()
{
const string PluginAndroidPath = "Assets/Plugins/Android";
if (!Directory.Exists(PluginAndroidPath))
Directory.CreateDirectory(PluginAndroidPath);
isAndroidManifestPathDestExisted = File.Exists(AndroidManifestPathDest );
if (File.Exists(AndroidManifestPathSrc))
File.Copy(AndroidManifestPathSrc, AndroidManifestPathDest, false); // not to overwrite existed AndroidManifest.xml
}
...
private class CustomPostprocessor : IPostprocessBuildWithReport
{
public int callbackOrder { get { return 0; } }
public void OnPostprocessBuild(BuildReport report)
{
if (report.summary.platform == BuildTarget.Android && CheckIsBuildingWave())
{
if (!isAndroidManifestPathDestExisted) // not to delete existed AndroidManifest.xml
DelAndroidManifest();
}
}
}
}