For example, config.xml in cordova, you can use the edit-config and resource-file tags
<?xml version='1.0' encoding='utf-8'?>
<widget android-versionCode="1" id="ionic.demos" ios-CFBundleVersion="1" version="1.0.0">
<platform name="android">
<edit-config file="app/src/main/AndroidManifest.xml" mode="merge" target="/manifest/application" xmlns:android="http://schemas.android.com/apk/res/android">
<application android:networkSecurityConfig="@xml/network_security_config" />
</edit-config>
<resource-file src="resources/android/xml/network_security_config.xml" target="app/src/main/res/xml/network_security_config.xml" />
</platform>
<platform name="ios">
<edit-file file="*-Info.plist" mode="merge" platform="ios" target="NSCameraUsageDescription">
<string>your reason</string>
</edit-file>
</platform>
</widget>
There doesn’t seem to be a similar feature in Capacitor.