AndroidProjectFiles.SetManifestFile

Declaration

public void SetManifestFile(string path, Unity.Android.Gradle.Manifest.AndroidManifestFile manifest);

Parameters

path The file path to place the Manifest file at. This path is relative to the gradle project path.
manifest The representation of Android Manifest file.

Description

Sets a new Android Manifest file.

To use this method, you must also declare your new file in AndroidProjectFilesModifier.Setup using the AndroidProjectFilesModifierContext.AdditionalOutputs.AddManifestFile method.


Did you find this page useful? Please give it a rating: