- Overview
- Create your first app
- Templates for apps
- Platform support
- Android
- Blackberry 10
- iOS
- OS X
- Ubuntu
- Windows
- WP8
- Manage versions and platforms
- Customize icons
- Store data
- Manage privacy
- Manage security
- Whitelisting
- Create a plugin
- Android
- Blackberry 10
- iOS
- Windows
- WP8
- Use Plugman
- Embed Cordova in native apps
- Next Steps
- Config.xml
- Events
- CLI Reference
- Hooks
- Plugin.xml
- Battery Status
- Camera
- Console
- Contacts
- Device
- Device Motion
- Device Orientation
- Dialogs
- File
- File Transfer
- Geolocation
- Globalization
- Inappbrowser
- Media
- Media Capture
- Network Information
- Splashscreen
- Vibration
- Statusbar
- Whitelist
- Legacy Whitelist
This version of the documentation is outdated!
Click here for the latest released version.
BlackBerry 10 Configuration
The config.xml
file controls an app's basic settings that apply
across each application and CordovaWebView instance. This section
details preferences that only apply to BlackBerry 10 builds. See The config.xml
File for information on global configuration options.
ChildBrowser
(disable
or the defaultenable
): Disables child browser windows. By default, apps launch a secondary browser window to display resources accessed viawindow.open()
or by specifying a_blank
anchor target. Specifydisable
to override this default behavior.<preference name="ChildBrowser" value="disable"/>
PopupBlocker
(enable
or the defaultdisable
): Enables the popup blocker, which prevents calls towindow.open()
. By default, popups display in a child browser window. Setting the preference toenable
prevents it from displaying at all.<preference name="PopupBlocker" value="enable"/>
WebSecurity
(disable
or the defaultenable
): Set todisable
to override web security settings, allowing access to remote content from unknown sources. This preference is intended as a development convenience only, so remove it before packaging the app for distribution. For the released app, all URIs should be known and whitelisted using the<access>
element, described in the Domain Whitelist Guide.<preference name="WebSecurity" value="disable"/>