A Cordova/PhoneGap plugin to update iOS and Android platform configuration files based on custom preferences and config-file data defined in config.xml.
cordova-custom-config is a Cordova/PhoneGap plugin that automates the updating of native platform configuration files (such as AndroidManifest.xml and iOS Info.plist) based on custom preferences and config-file blocks defined in the project's config.xml. It solves the problem of maintaining manual edits to platform files across different development machines and CI environments, ensuring configuration changes persist even when platforms are removed and re-added.
Cordova and PhoneGap developers who need to customize native iOS and Android configuration settings beyond what the CLI supports out-of-the-box, particularly those working in team or CI environments where configuration consistency is critical.
Developers choose this plugin because it provides a reliable, version-controlled method to manage native configuration, supports advanced operations like deleting Android elements or manipulating iOS Xcode projects, and offers reversible changes with backup/restore functionality—filling gaps until official CLI features catch up.
Cordova/Phonegap plugin to update platform configuration files based on preferences and config-file data defined in config.xml
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Allows deletion and precise modification of elements in AndroidManifest.xml using XPath expressions, which standard Cordova doesn't support, enabling operations like removing unwanted permissions.
Supports manipulation of Xcode project settings (e.g., ENABLE_BITCODE) and asset catalogs via XCBuildConfiguration and custom-resource blocks, filling gaps in Cordova's iOS tooling.
Offers auto-backup/restore functionality to undo modifications, preventing manual edits from being overwritten and ensuring changes can be rolled back if needed.
Stores configuration in config.xml, making changes maintainable across development machines and CI environments, and ensuring they survive platform re-additions.
Major updates like v5 introduce backward-incompatible changes (e.g., requiring <custom-> prefixes) and depend on specific Cordova versions, leading to maintenance overhead and potential build errors.
Does not work with cloud-based build services due to reliance on local hook scripts, limiting deployment options for teams using services like Phonegap Build or Ionic Cloud.
Requires deep understanding of XPath for Android and intricate XML structures for iOS, making setup error-prone and time-consuming compared to simpler alternatives.