public void OnPostGenerateGradleAndroidProject(string basePath) { // If needed, add condition checks on whether you need to run the modification routine. // For example, specific configuration/app options enabled var androidManifest = new AndroidManifest(GetManifestPath(basePath)); //androidManifest.SetMicrophonePermission(); androidManifest.SetACCESS_NETWORK_STATEPermission(); // Add your XML manipulation routines androidManifest.Save(); }