Sets the targetSdkVersion attribute of the tag in the project's AndroidManifest.xml (see here).Įxpects a full version string eg. Sets the minSdkVersion attribute of the tag in the project's AndroidManifest.xml (see here). Sets the maxSdkVersion attribute of the tag in the project's AndroidManifest.xml (see here).ĭefault: Dependent on cordova-android Version Note: Enabling this setting allows malicious scripts loaded in a file:/// context to launch cross-site scripting attacks, either accessing arbitrary local files including WebView cookies, app private data or even credentials used on arbitrary web sites. If set to true loading file:/// URLs is allowed. This changes what happens when the app is launched from app icon or intent and is already running. Sets the Activity android:launchMode attribute. Set to true to allow JavaScript window.open and HTML target="_blank" links to open a new view overlaying the web view.Īllowed values: standard, singleTop, singleTask, singleInstance NOTE: Prior to iOS 10, elements need to use the webkit-playsinline attribute name instead. For this to work, add the playsinline attribute to any elements. Set to true to allow HTML5 media playback to appear inline within the screen layout, using browser-supplied controls rather than native controls. Many preferences are unique to specific platforms,Īnd will be indicated as such. Each preference's name is case-insensitive. Sets various options as pairs of name/value attributes. Value of the CLI variable to be used when restoring the parent plugin during a prepare. Can only contain capital letters, digits, and underscores. Preference element of plugin.xml for more details on CLI variables. Project and restore it by running cordova prepare. In order for changes to this value to take effect, remove the plugin from the Prepare, changing it will not change the value used by the plugin in the current Note that this value is only used when the plugin is restored to the project during a This element is added to config.xml when a plugin that uses CLI variables Persists the value of a CLI variable to be used when restoring a plugin during a Note that this is only set once after the Android platform is first added. Set the activity name for your app in AndroidManifest.xml. For example, you can use values like en or en_US. This preference key explicitly sets the value for CFBundleDevelopmentRegion. Specify the default language of the app using an IANA language code. ![]() This preference overrides the id attribute with an alternative bundle ID specifically for iOS. This preference overrides the id attribute with an alternative package name specifically for Android. For further details, see Apple Developer - CFBundleVersion. See the Android guide for information on how this attribute may be modified.Īlternative version for iOS. Sets the version code for the application. e.g: įull version number expressed in major/minor/patch notation.Īlternative version for Android. The id should be in a reverse-DNS format however, only alphanumeric and dot characters are allowed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |