mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-04 00:13:20 +08:00
[CB-1108] Update config.xml template's list of available <preference>s
This commit is contained in:
parent
373da39ac2
commit
27cd9dde38
@ -1,4 +1,19 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!--
|
||||||
|
Licensed to the Apache Software Foundation (ASF) under one
|
||||||
|
or more contributor license agreements. See the NOTICE file
|
||||||
|
distributed with this work for additional information
|
||||||
|
regarding copyright ownership. The ASF licenses this file
|
||||||
|
to you under the Apache License, Version 2.0 (the
|
||||||
|
"License"); you may not use this file except in compliance
|
||||||
|
with the License. You may obtain a copy of the License at
|
||||||
|
Unless required by applicable law or agreed to in writing,
|
||||||
|
software distributed under the License is distributed on an
|
||||||
|
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||||
|
KIND, either express or implied. See the License for the
|
||||||
|
specific language governing permissions and limitations
|
||||||
|
under the License.
|
||||||
|
-->
|
||||||
<widget xmlns = "http://www.w3.org/ns/widgets"
|
<widget xmlns = "http://www.w3.org/ns/widgets"
|
||||||
id = "io.cordova.helloCordova"
|
id = "io.cordova.helloCordova"
|
||||||
version = "2.0.0">
|
version = "2.0.0">
|
||||||
@ -8,21 +23,23 @@
|
|||||||
A sample Apache Cordova application that responds to the deviceready event.
|
A sample Apache Cordova application that responds to the deviceready event.
|
||||||
</description>
|
</description>
|
||||||
|
|
||||||
<author href="http://cordova.io" email="callback-dev@incubator.apache.org">
|
<author href="http://cordova.io" email="dev@cordova.apache.org">
|
||||||
Apache Cordova Team
|
Apache Cordova Team
|
||||||
</author>
|
</author>
|
||||||
|
|
||||||
<access origin="*"/>
|
<access origin="*"/>
|
||||||
|
|
||||||
|
|
||||||
<!-- <content src="http://mysite.com/myapp.html" /> for external pages -->
|
<!-- <content src="http://mysite.com/myapp.html" /> for external pages -->
|
||||||
<content src="index.html" />
|
<content src="index.html" />
|
||||||
|
|
||||||
<log level="DEBUG"/>
|
<preference name="loglevel" value="DEBUG" />
|
||||||
|
<!--
|
||||||
<!-- Preferences for Android -->
|
<preference name="splashscreen" value="resourceName" />
|
||||||
<preference name="useBrowserHistory" value="true" />
|
<preference name="backgroundColor" value="0xFFF" />
|
||||||
<preference name="exit-on-suspend" value="false" />
|
<preference name="loadUrlTimeoutValue" value="20000" />
|
||||||
|
<preference name="InAppBrowserStorageEnabled" value="true" />
|
||||||
|
<preference name="disallowOverscroll" value="true" />
|
||||||
|
-->
|
||||||
|
|
||||||
<feature name="App">
|
<feature name="App">
|
||||||
<param name="android-package" value="org.apache.cordova.App"/>
|
<param name="android-package" value="org.apache.cordova.App"/>
|
||||||
@ -81,5 +98,4 @@
|
|||||||
<feature name="InAppBrowser">
|
<feature name="InAppBrowser">
|
||||||
<param name="android-package" value="org.apache.cordova.InAppBrowser"/>
|
<param name="android-package" value="org.apache.cordova.InAppBrowser"/>
|
||||||
</feature>
|
</feature>
|
||||||
|
|
||||||
</widget>
|
</widget>
|
||||||
|
Loading…
Reference in New Issue
Block a user