whitelist mandatory plugin (hum) - test build build.phonegap.com
This commit is contained in:
parent
5a47412a21
commit
afee092a50
13
README.md
13
README.md
|
@ -22,16 +22,19 @@ With [node](http://nodejs.org/) installed (avoid outdated *apt-get* package):
|
|||
|
||||
Install cordovas plugins:
|
||||
|
||||
phonegap plugin add org.apache.cordova.file-transfer
|
||||
phonegap plugin add org.chromium.zip
|
||||
phonegap plugin add org.apache.cordova.inappbrowser # optional
|
||||
phonegap plugin add cordova-plugin-file
|
||||
phonegap plugin add cordova-plugin-file-transfer
|
||||
phonegap plugin add cordova-plugin-zip
|
||||
phonegap plugin add cordova-plugin-whitelist
|
||||
phonegap plugin add cordova-plugin-inappbrowser # optional
|
||||
|
||||
If plugin registry server seems to be down :'( use git instead ;)
|
||||
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-file.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-file-transfer.git
|
||||
phonegap plugin add https://github.com/MobileChromeApps/zip.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-inappbrowser.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-zip.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-whitelist.git
|
||||
phonegap plugin add https://github.com/apache/cordova-plugin-inappbrowser.git # optional
|
||||
|
||||
## Assets Management
|
||||
|
||||
|
|
23
config.xml
23
config.xml
|
@ -21,13 +21,13 @@
|
|||
<preference name="show-splash-screen-spinner" value="true" />
|
||||
<preference name="auto-hide-splash-screen" value="true" />
|
||||
<preference name="disable-cursor" value="false" />
|
||||
<preference name="android-minSdkVersion" value="7" />
|
||||
<preference name="android-minSdkVersion" value="10" />
|
||||
<preference name="android-installLocation" value="auto" />
|
||||
<gap:plugin name="org.apache.cordova.file" />
|
||||
<gap:plugin name="org.apache.cordova.file-transfer" />
|
||||
<gap:plugin name="org.chromium.zip" />
|
||||
<icon src="icon.png" />
|
||||
<icon gap:platform="android" gap:qualifier="ldpi" src="www/res/icon/android/icon-36-ldpi.png" />
|
||||
<gap:plugin name="cordova-plugin-file" />
|
||||
<gap:plugin name="cordova-plugin-file-transfer" />
|
||||
<gap:plugin name="cordova-plugin-zip" />
|
||||
<icon src="www/icon.png" />
|
||||
<!--icon gap:platform="android" gap:qualifier="ldpi" src="www/res/icon/android/icon-36-ldpi.png" />
|
||||
<icon gap:platform="android" gap:qualifier="mdpi" src="www/res/icon/android/icon-48-mdpi.png" />
|
||||
<icon gap:platform="android" gap:qualifier="hdpi" src="www/res/icon/android/icon-72-hdpi.png" />
|
||||
<icon gap:platform="android" gap:qualifier="xhdpi" src="www/res/icon/android/icon-96-xhdpi.png" />
|
||||
|
@ -39,7 +39,7 @@
|
|||
<icon gap:platform="ios" height="144" src="www/res/icon/ios/icon-72-2x.png" width="144" />
|
||||
<icon gap:platform="webos" src="www/res/icon/webos/icon-64.png" />
|
||||
<icon gap:platform="winphone" src="www/res/icon/windows-phone/icon-48.png" />
|
||||
<icon gap:platform="winphone" gap:role="background" src="www/res/icon/windows-phone/icon-173-tile.png" />
|
||||
<icon gap:platform="winphone" gap:role="background" src="www/res/icon/windows-phone/icon-173-tile.png" /-->
|
||||
<gap:splash gap:platform="android" gap:qualifier="port-ldpi" src="www/res/screen/android/screen-ldpi-portrait.png" />
|
||||
<gap:splash gap:platform="android" gap:qualifier="port-mdpi" src="www/res/screen/android/screen-mdpi-portrait.png" />
|
||||
<gap:splash gap:platform="android" gap:qualifier="port-hdpi" src="www/res/screen/android/screen-hdpi-portrait.png" />
|
||||
|
@ -52,4 +52,13 @@
|
|||
<gap:splash gap:platform="ios" height="768" src="www/res/screen/ios/screen-ipad-landscape.png" width="1024" />
|
||||
<gap:splash gap:platform="winphone" src="www/res/screen/windows-phone/screen-portrait.jpg" />
|
||||
<access origin="*" />
|
||||
<!-- Allow links to web pages to open in a browser -->
|
||||
<allow-intent href="http://*/*" />
|
||||
<allow-intent href="https://*/*" />
|
||||
<!-- Allow SMS links to open messaging app -->
|
||||
<allow-intent href="sms:*" />
|
||||
<!-- Allow tel: links to open the dialer -->
|
||||
<allow-intent href="tel:*" />
|
||||
<!-- Allow geo: links to open maps -->
|
||||
<allow-intent href="geo:*" />
|
||||
</widget>
|
||||
|
|
|
@ -11,11 +11,13 @@
|
|||
{
|
||||
"xml": "<feature name=\"File\"><param name=\"android-package\" value=\"org.apache.cordova.file.FileUtils\" /><param name=\"onload\" value=\"true\" /></feature>",
|
||||
"count": 1
|
||||
}
|
||||
],
|
||||
"/widget": [
|
||||
},
|
||||
{
|
||||
"xml": "<feature name=\"Zip\"><param name=\"android-package\" value=\"org.apache.cordova.Zip\" /></feature>",
|
||||
"xml": "<feature name=\"FileTransfer\"><param name=\"android-package\" value=\"org.apache.cordova.filetransfer.FileTransfer\" /></feature>",
|
||||
"count": 1
|
||||
},
|
||||
{
|
||||
"xml": "<feature name=\"InAppBrowser\"><param name=\"android-package\" value=\"org.apache.cordova.inappbrowser.InAppBrowser\" /></feature>",
|
||||
"count": 1
|
||||
}
|
||||
]
|
||||
|
@ -26,7 +28,7 @@
|
|||
"/*": [
|
||||
{
|
||||
"xml": "<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\" />",
|
||||
"count": 1
|
||||
"count": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -34,16 +36,15 @@
|
|||
}
|
||||
},
|
||||
"installed_plugins": {
|
||||
"org.apache.cordova.inappbrowser": {
|
||||
"cordova-plugin-file": {
|
||||
"PACKAGE_NAME": "com.cadoles.momo"
|
||||
},
|
||||
"cordova-plugin-zip": {
|
||||
"cordova-plugin-file-transfer": {
|
||||
"PACKAGE_NAME": "com.cadoles.momo"
|
||||
},
|
||||
"cordova-plugin-inappbrowser": {
|
||||
"PACKAGE_NAME": "com.cadoles.momo"
|
||||
}
|
||||
},
|
||||
"dependent_plugins": {
|
||||
"cordova-plugin-file": {
|
||||
"PACKAGE_NAME": "com.cadoles.momo"
|
||||
}
|
||||
}
|
||||
"dependent_plugins": {}
|
||||
}
|
|
@ -25,9 +25,12 @@
|
|||
<meta charset="utf-8" />
|
||||
<meta name="format-detection" content="telephone=no" />
|
||||
<meta name="msapplication-tap-highlight" content="no" />
|
||||
<meta http-Equiv="Cache-Control" Content="no-cache" />
|
||||
<meta http-Equiv="Pragma" Content="no-cache" />
|
||||
<meta http-Equiv="Expires" Content="0" />
|
||||
<meta http-Equiv="Cache-Control" Content="no-cache" />
|
||||
<meta http-Equiv="Pragma" Content="no-cache" />
|
||||
<meta http-Equiv="Expires" Content="0" />
|
||||
<!-- Enable all requests, inline styles, and eval() -->
|
||||
<meta http-equiv="Content-Security-Policy" content="default-src *; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline' 'unsafe-eval'">
|
||||
|
||||
<!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, target-densitydpi=medium-dpi, user-scalable=0" />
|
||||
<link rel="stylesheet" type="text/css" href="css/index.css" />
|
||||
|
|
File diff suppressed because one or more lines are too long
Reference in New Issue