Apache Cordova · Schema

Widget

Root configuration element of the Apache Cordova config.xml file, defining app identity, metadata, and behavior preferences.

ApacheCross-PlatformHybrid AppsJavaScriptMobileOpen SourcePlugins

Properties

Name Type Description
id string Reverse-DNS format unique app identifier (e.g., com.example.myapp).
version string Major/minor/patch version number for the application.
android-versionCode string Alternative version for Android; overrides the versionCode auto-generated from version.
ios-CFBundleVersion string Alternative version string for iOS build.
xmlns string Required W3C widgets namespace.
name string Formal display name of the application.
description string Metadata description used for app-store listings.
author object Author contact information.
content object Defines the app's starting page.
preferences array Array of preference settings controlling application behavior.
plugins array List of plugins to restore.
platforms array List of target platforms.
View JSON Schema on GitHub