Commit 60e0c39c authored by wangqinghua's avatar wangqinghua

cordova update

parent 0e6be715
......@@ -91,6 +91,11 @@
"tslib": "^1.7.1"
}
},
"@ionic-native/app-availability": {
"version": "4.20.0",
"resolved": "http://r.cnpmjs.org/@ionic-native/app-availability/download/@ionic-native/app-availability-4.20.0.tgz",
"integrity": "sha1-diDzUmwILnZs/Vcqnx1X8wl7PZ0="
},
"@ionic-native/app-version": {
"version": "4.11.0",
"resolved": "https://registry.npmjs.org/@ionic-native/app-version/-/app-version-4.11.0.tgz",
......@@ -146,6 +151,11 @@
"resolved": "http://r.cnpmjs.org/@ionic-native/mobile-accessibility/download/@ionic-native/mobile-accessibility-4.20.0.tgz",
"integrity": "sha1-Dj9r+gfIrqsPDKn4dcYpTOO9gXU="
},
"@ionic-native/screen-orientation": {
"version": "4.20.0",
"resolved": "http://r.cnpmjs.org/@ionic-native/screen-orientation/download/@ionic-native/screen-orientation-4.20.0.tgz",
"integrity": "sha1-Qzf34BTZ0S0tmpuPjt6c76Vc9zk="
},
"@ionic-native/splash-screen": {
"version": "4.20.0",
"resolved": "http://r.cnpmjs.org/@ionic-native/splash-screen/download/@ionic-native/splash-screen-4.20.0.tgz",
......@@ -476,7 +486,7 @@
},
"array-find-index": {
"version": "1.0.2",
"resolved": "http://r.cnpmjs.org/array-find-index/download/array-find-index-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/array-find-index/-/array-find-index-1.0.2.tgz",
"integrity": "sha1-3wEKoSh+Fku9pvlyOwqWoexBh6E=",
"dev": true
},
......@@ -555,7 +565,7 @@
},
"async-foreach": {
"version": "0.1.3",
"resolved": "http://r.cnpmjs.org/async-foreach/download/async-foreach-0.1.3.tgz",
"resolved": "https://registry.npmjs.org/async-foreach/-/async-foreach-0.1.3.tgz",
"integrity": "sha1-NhIfhFwFeBct5Bmpfb6x0W7DRUI=",
"dev": true
},
......@@ -1202,13 +1212,13 @@
},
"camelcase": {
"version": "2.1.1",
"resolved": "http://r.cnpmjs.org/camelcase/download/camelcase-2.1.1.tgz",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-2.1.1.tgz",
"integrity": "sha1-fB0W1nmhu+WcoCys7PsBHiAfWh8=",
"dev": true
},
"camelcase-keys": {
"version": "2.1.0",
"resolved": "http://r.cnpmjs.org/camelcase-keys/download/camelcase-keys-2.1.0.tgz",
"resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-2.1.0.tgz",
"integrity": "sha1-MIvur/3ygRkFHvodkyITyRuPkuc=",
"dev": true,
"requires": {
......@@ -1566,7 +1576,7 @@
},
"console-control-strings": {
"version": "1.1.0",
"resolved": "http://r.cnpmjs.org/console-control-strings/download/console-control-strings-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",
"integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=",
"dev": true
},
......@@ -3446,7 +3456,7 @@
},
"currently-unhandled": {
"version": "0.4.1",
"resolved": "http://r.cnpmjs.org/currently-unhandled/download/currently-unhandled-0.4.1.tgz",
"resolved": "https://registry.npmjs.org/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
"integrity": "sha1-mI3zP+qxke95mmE2nddsF635V+o=",
"dev": true,
"requires": {
......@@ -3542,7 +3552,7 @@
},
"delegates": {
"version": "1.0.0",
"resolved": "http://r.cnpmjs.org/delegates/download/delegates-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",
"integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=",
"dev": true
},
......@@ -4196,7 +4206,7 @@
},
"find-up": {
"version": "1.1.2",
"resolved": "http://r.cnpmjs.org/find-up/download/find-up-1.1.2.tgz",
"resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz",
"integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=",
"dev": true,
"requires": {
......@@ -4771,7 +4781,7 @@
},
"gauge": {
"version": "2.7.4",
"resolved": "http://r.cnpmjs.org/gauge/download/gauge-2.7.4.tgz",
"resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz",
"integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=",
"dev": true,
"requires": {
......@@ -4820,7 +4830,7 @@
},
"get-stdin": {
"version": "4.0.1",
"resolved": "http://r.cnpmjs.org/get-stdin/download/get-stdin-4.0.1.tgz",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-4.0.1.tgz",
"integrity": "sha1-uWjGsKBDhDJJAui/Gl3zJXmkUP4=",
"dev": true
},
......@@ -4994,7 +5004,7 @@
},
"has-unicode": {
"version": "2.0.1",
"resolved": "http://r.cnpmjs.org/has-unicode/download/has-unicode-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",
"integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=",
"dev": true
},
......@@ -5178,13 +5188,13 @@
},
"in-publish": {
"version": "2.0.0",
"resolved": "http://r.cnpmjs.org/in-publish/download/in-publish-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/in-publish/-/in-publish-2.0.0.tgz",
"integrity": "sha1-4g/146KvwmkDILbcVSaCqcf631E=",
"dev": true
},
"indent-string": {
"version": "2.1.0",
"resolved": "http://r.cnpmjs.org/indent-string/download/indent-string-2.1.0.tgz",
"resolved": "https://registry.npmjs.org/indent-string/-/indent-string-2.1.0.tgz",
"integrity": "sha1-ji1INIdCEhtKghi3oTfppSBJ3IA=",
"dev": true,
"requires": {
......@@ -5701,7 +5711,7 @@
},
"is-utf8": {
"version": "0.2.1",
"resolved": "http://r.cnpmjs.org/is-utf8/download/is-utf8-0.2.1.tgz",
"resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz",
"integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=",
"dev": true
},
......@@ -5941,7 +5951,7 @@
},
"load-json-file": {
"version": "1.1.0",
"resolved": "http://r.cnpmjs.org/load-json-file/download/load-json-file-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz",
"integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=",
"dev": true,
"requires": {
......@@ -6017,13 +6027,13 @@
},
"lodash.assign": {
"version": "4.2.0",
"resolved": "http://r.cnpmjs.org/lodash.assign/download/lodash.assign-4.2.0.tgz",
"resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz",
"integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=",
"dev": true
},
"lodash.clonedeep": {
"version": "4.5.0",
"resolved": "http://r.cnpmjs.org/lodash.clonedeep/download/lodash.clonedeep-4.5.0.tgz",
"resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz",
"integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=",
"dev": true
},
......@@ -6054,7 +6064,7 @@
},
"loud-rejection": {
"version": "1.6.0",
"resolved": "http://r.cnpmjs.org/loud-rejection/download/loud-rejection-1.6.0.tgz",
"resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.6.0.tgz",
"integrity": "sha1-W0b4AUft7leIcPCG0Eghz5mOVR8=",
"dev": true,
"requires": {
......@@ -6100,7 +6110,7 @@
},
"map-obj": {
"version": "1.0.1",
"resolved": "http://r.cnpmjs.org/map-obj/download/map-obj-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"integrity": "sha1-2TPOuSBdgr3PSIb2dCvcK03qFG0=",
"dev": true
},
......@@ -6159,7 +6169,7 @@
},
"meow": {
"version": "3.7.0",
"resolved": "http://r.cnpmjs.org/meow/download/meow-3.7.0.tgz",
"resolved": "https://registry.npmjs.org/meow/-/meow-3.7.0.tgz",
"integrity": "sha1-cstmi0JSKCkKu/qFaJJYcwioAfs=",
"dev": true,
"requires": {
......@@ -6602,7 +6612,7 @@
},
"semver": {
"version": "5.3.0",
"resolved": "http://r.cnpmjs.org/semver/download/semver-5.3.0.tgz",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz",
"integrity": "sha1-myzl094C0XxgEq0yaqa00M9U+U8=",
"dev": true
},
......@@ -6703,7 +6713,7 @@
},
"ansi-styles": {
"version": "2.2.1",
"resolved": "http://r.cnpmjs.org/ansi-styles/download/ansi-styles-2.2.1.tgz",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
"integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=",
"dev": true
},
......@@ -6733,7 +6743,7 @@
},
"chalk": {
"version": "1.1.3",
"resolved": "http://r.cnpmjs.org/chalk/download/chalk-1.1.3.tgz",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
"integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
"dev": true,
"requires": {
......@@ -6746,7 +6756,7 @@
},
"cross-spawn": {
"version": "3.0.1",
"resolved": "http://r.cnpmjs.org/cross-spawn/download/cross-spawn-3.0.1.tgz",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-3.0.1.tgz",
"integrity": "sha1-ElYDfsufDF9549bvE14wdwGEuYI=",
"dev": true,
"requires": {
......@@ -6879,7 +6889,7 @@
},
"supports-color": {
"version": "2.0.0",
"resolved": "http://r.cnpmjs.org/supports-color/download/supports-color-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=",
"dev": true
},
......@@ -8555,7 +8565,7 @@
},
"os-locale": {
"version": "1.4.0",
"resolved": "http://r.cnpmjs.org/os-locale/download/os-locale-1.4.0.tgz",
"resolved": "https://registry.npmjs.org/os-locale/-/os-locale-1.4.0.tgz",
"integrity": "sha1-IPnxeuKe00XoveWDsT0gCYA8FNk=",
"dev": true,
"requires": {
......@@ -8703,7 +8713,7 @@
},
"path-exists": {
"version": "2.1.0",
"resolved": "http://r.cnpmjs.org/path-exists/download/path-exists-2.1.0.tgz",
"resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz",
"integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=",
"dev": true,
"requires": {
......@@ -8748,7 +8758,7 @@
},
"path-type": {
"version": "1.1.0",
"resolved": "http://r.cnpmjs.org/path-type/download/path-type-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz",
"integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=",
"dev": true,
"requires": {
......@@ -9089,7 +9099,7 @@
},
"read-pkg": {
"version": "1.1.0",
"resolved": "http://r.cnpmjs.org/read-pkg/download/read-pkg-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz",
"integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=",
"dev": true,
"requires": {
......@@ -9100,7 +9110,7 @@
},
"read-pkg-up": {
"version": "1.0.1",
"resolved": "http://r.cnpmjs.org/read-pkg-up/download/read-pkg-up-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz",
"integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=",
"dev": true,
"requires": {
......@@ -9178,7 +9188,7 @@
},
"redent": {
"version": "1.0.0",
"resolved": "http://r.cnpmjs.org/redent/download/redent-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/redent/-/redent-1.0.0.tgz",
"integrity": "sha1-z5Fqsf1fHxbfsggi3W7H9zDCr94=",
"dev": true,
"requires": {
......@@ -9234,7 +9244,7 @@
},
"repeating": {
"version": "2.0.1",
"resolved": "http://r.cnpmjs.org/repeating/download/repeating-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz",
"integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=",
"dev": true,
"requires": {
......@@ -9442,7 +9452,7 @@
},
"sass-graph": {
"version": "2.2.4",
"resolved": "http://r.cnpmjs.org/sass-graph/download/sass-graph-2.2.4.tgz",
"resolved": "https://registry.npmjs.org/sass-graph/-/sass-graph-2.2.4.tgz",
"integrity": "sha1-E/vWPNHK8JCLn9k0dq1DpR0eC0k=",
"dev": true,
"requires": {
......@@ -9460,7 +9470,7 @@
},
"scss-tokenizer": {
"version": "0.2.3",
"resolved": "http://r.cnpmjs.org/scss-tokenizer/download/scss-tokenizer-0.2.3.tgz",
"resolved": "https://registry.npmjs.org/scss-tokenizer/-/scss-tokenizer-0.2.3.tgz",
"integrity": "sha1-jrBtualyMzOCTT9VMGQRSYR85dE=",
"dev": true,
"requires": {
......@@ -9470,7 +9480,7 @@
"dependencies": {
"source-map": {
"version": "0.4.4",
"resolved": "http://r.cnpmjs.org/source-map/download/source-map-0.4.4.tgz",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"integrity": "sha1-66T12pwNyZneaAMti092FzZSA2s=",
"dev": true,
"requires": {
......@@ -10114,7 +10124,7 @@
},
"strip-bom": {
"version": "2.0.0",
"resolved": "http://r.cnpmjs.org/strip-bom/download/strip-bom-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz",
"integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=",
"dev": true,
"requires": {
......@@ -10129,7 +10139,7 @@
},
"strip-indent": {
"version": "1.0.1",
"resolved": "http://r.cnpmjs.org/strip-indent/download/strip-indent-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/strip-indent/-/strip-indent-1.0.1.tgz",
"integrity": "sha1-DHlipq3vp7vUrDZkYKY4VSrhoKI=",
"dev": true,
"requires": {
......@@ -10344,7 +10354,7 @@
},
"trim-newlines": {
"version": "1.0.0",
"resolved": "http://r.cnpmjs.org/trim-newlines/download/trim-newlines-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/trim-newlines/-/trim-newlines-1.0.0.tgz",
"integrity": "sha1-WIeWa7WCpFA6QetST301ARgVphM=",
"dev": true
},
......@@ -11533,7 +11543,7 @@
},
"which-module": {
"version": "1.0.0",
"resolved": "http://r.cnpmjs.org/which-module/download/which-module-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/which-module/-/which-module-1.0.0.tgz",
"integrity": "sha1-u6Y8qGGUiZT/MHc2CJ47lgJsKk8=",
"dev": true
},
......@@ -11667,7 +11677,7 @@
},
"yargs": {
"version": "7.1.0",
"resolved": "http://r.cnpmjs.org/yargs/download/yargs-7.1.0.tgz",
"resolved": "https://registry.npmjs.org/yargs/-/yargs-7.1.0.tgz",
"integrity": "sha1-a6MY6xaWFyf10oT46gA+jWFU0Mg=",
"dev": true,
"requires": {
......@@ -11688,7 +11698,7 @@
"dependencies": {
"camelcase": {
"version": "3.0.0",
"resolved": "http://r.cnpmjs.org/camelcase/download/camelcase-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
"dev": true
}
......@@ -11696,7 +11706,7 @@
},
"yargs-parser": {
"version": "5.0.0",
"resolved": "http://r.cnpmjs.org/yargs-parser/download/yargs-parser-5.0.0.tgz",
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-5.0.0.tgz",
"integrity": "sha1-J17PDX/+Bcd+ZOfIbkzZS/DhIoo=",
"dev": true,
"requires": {
......@@ -11705,7 +11715,7 @@
"dependencies": {
"camelcase": {
"version": "3.0.0",
"resolved": "http://r.cnpmjs.org/camelcase/download/camelcase-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-3.0.0.tgz",
"integrity": "sha1-MvxLn82vhF/N9+c7uXysImHwqwo=",
"dev": true
}
......
......@@ -20,6 +20,7 @@
"@angular/http": "5.0.3",
"@angular/platform-browser": "5.0.3",
"@angular/platform-browser-dynamic": "5.0.3",
"@ionic-native/app-availability": "^4.20.0",
"@ionic-native/app-version": "^4.11.0",
"@ionic-native/badge": "^4.11.0",
"@ionic-native/calendar": "^4.11.0",
......@@ -31,6 +32,7 @@
"@ionic-native/geolocation": "^4.15.0",
"@ionic-native/keyboard": "^4.6.0",
"@ionic-native/mobile-accessibility": "^4.20.0",
"@ionic-native/screen-orientation": "^4.20.0",
"@ionic-native/splash-screen": "^4.20.0",
"@ionic-native/status-bar": "4.4.0",
"@ionic/storage": "2.1.3",
......
......@@ -185,6 +185,14 @@
{
"xml": "<feature name=\"VideoPlayer\"><param name=\"android-package\" value=\"com.moust.cordova.videoplayer.VideoPlayer\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"CDVOrientation\"><param name=\"android-package\" value=\"cordova.plugins.screenorientation.CDVOrientation\" /></feature>",
"count": 1
},
{
"xml": "<feature name=\"AppAvailability\"><param name=\"android-package\" value=\"com.ohh2ahh.appavailability.AppAvailability\" /></feature>",
"count": 1
}
]
}
......@@ -248,6 +256,15 @@
},
"com.moust.cordova.videoplayer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"es6-promise-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-screen-orientation": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
}
},
"dependent_plugins": {},
......@@ -607,6 +624,28 @@
"clobbers": [
"VideoPlayer"
]
},
{
"id": "es6-promise-plugin.Promise",
"file": "plugins/es6-promise-plugin/www/promise.js",
"pluginId": "es6-promise-plugin",
"runs": true
},
{
"id": "cordova-plugin-screen-orientation.screenorientation",
"file": "plugins/cordova-plugin-screen-orientation/www/screenorientation.js",
"pluginId": "cordova-plugin-screen-orientation",
"clobbers": [
"cordova.plugins.screenorientation"
]
},
{
"id": "cordova-plugin-appavailability.AppAvailability",
"file": "plugins/cordova-plugin-appavailability/www/AppAvailability.js",
"pluginId": "cordova-plugin-appavailability",
"clobbers": [
"appAvailability"
]
}
],
"plugin_metadata": {
......@@ -628,6 +667,9 @@
"cordova-plugin-camera": "4.0.3",
"cordova-plugin-file-transfer": "1.7.1",
"cordova-plugin-splashscreen": "5.0.2",
"com.moust.cordova.videoplayer": "1.0.1"
"com.moust.cordova.videoplayer": "1.0.1",
"es6-promise-plugin": "4.2.2",
"cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2"
}
}
\ No newline at end of file
......@@ -61,6 +61,12 @@
<feature name="VideoPlayer">
<param name="android-package" value="com.moust.cordova.videoplayer.VideoPlayer" />
</feature>
<feature name="CDVOrientation">
<param name="android-package" value="cordova.plugins.screenorientation.CDVOrientation" />
</feature>
<feature name="AppAvailability">
<param name="android-package" value="com.ohh2ahh.appavailability.AppAvailability" />
</feature>
<name>部机关党建云(试运行)</name>
<description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
......
......@@ -355,6 +355,28 @@ module.exports = [
"clobbers": [
"VideoPlayer"
]
},
{
"id": "es6-promise-plugin.Promise",
"file": "plugins/es6-promise-plugin/www/promise.js",
"pluginId": "es6-promise-plugin",
"runs": true
},
{
"id": "cordova-plugin-screen-orientation.screenorientation",
"file": "plugins/cordova-plugin-screen-orientation/www/screenorientation.js",
"pluginId": "cordova-plugin-screen-orientation",
"clobbers": [
"cordova.plugins.screenorientation"
]
},
{
"id": "cordova-plugin-appavailability.AppAvailability",
"file": "plugins/cordova-plugin-appavailability/www/AppAvailability.js",
"pluginId": "cordova-plugin-appavailability",
"clobbers": [
"appAvailability"
]
}
];
module.exports.metadata =
......@@ -378,7 +400,10 @@ module.exports.metadata =
"cordova-plugin-camera": "4.0.3",
"cordova-plugin-file-transfer": "1.7.1",
"cordova-plugin-splashscreen": "5.0.2",
"com.moust.cordova.videoplayer": "1.0.1"
"com.moust.cordova.videoplayer": "1.0.1",
"es6-promise-plugin": "4.2.2",
"cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2"
};
// BOTTOM OF METADATA
});
\ No newline at end of file
......@@ -89,6 +89,12 @@
},
"com.moust.cordova.videoplayer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-screen-orientation": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
}
},
"dependent_plugins": {},
......@@ -477,6 +483,22 @@
"clobbers": [
"VideoPlayer"
]
},
{
"file": "plugins/cordova-plugin-screen-orientation/www/screenorientation.js",
"id": "cordova-plugin-screen-orientation.screenorientation",
"pluginId": "cordova-plugin-screen-orientation",
"clobbers": [
"cordova.plugins.screenorientation"
]
},
{
"file": "plugins/cordova-plugin-appavailability/www/AppAvailability.js",
"id": "cordova-plugin-appavailability.AppAvailability",
"pluginId": "cordova-plugin-appavailability",
"clobbers": [
"appAvailability"
]
}
],
"plugin_metadata": {
......@@ -499,6 +521,8 @@
"ionic-plugin-keyboard": "2.2.1",
"phonegap-plugin-mobile-accessibility": "1.0.5-dev",
"cordova-plugin-splashscreen": "5.0.2",
"com.moust.cordova.videoplayer": "1.0.1"
"com.moust.cordova.videoplayer": "1.0.1",
"cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2"
}
}
\ No newline at end of file
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.ionic.smart19.starter" version="4.3.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<widget id="io.ionic.smart19.starter" version="4.3.2" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>部机关党建云(试运行)</name>
<description>An awesome Ionic/Cordova app.</description>
<author email="hi@ionicframework" href="http://ionicframework.com/">Ionic Framework Team</author>
......
......@@ -384,6 +384,22 @@ module.exports = [
"clobbers": [
"VideoPlayer"
]
},
{
"file": "plugins/cordova-plugin-screen-orientation/www/screenorientation.js",
"id": "cordova-plugin-screen-orientation.screenorientation",
"pluginId": "cordova-plugin-screen-orientation",
"clobbers": [
"cordova.plugins.screenorientation"
]
},
{
"file": "plugins/cordova-plugin-appavailability/www/AppAvailability.js",
"id": "cordova-plugin-appavailability.AppAvailability",
"pluginId": "cordova-plugin-appavailability",
"clobbers": [
"appAvailability"
]
}
];
module.exports.metadata =
......@@ -408,7 +424,9 @@ module.exports.metadata =
"ionic-plugin-keyboard": "2.2.1",
"phonegap-plugin-mobile-accessibility": "1.0.5-dev",
"cordova-plugin-splashscreen": "5.0.2",
"com.moust.cordova.videoplayer": "1.0.1"
"com.moust.cordova.videoplayer": "1.0.1",
"cordova-plugin-screen-orientation": "3.0.1",
"cordova-plugin-appavailability": "0.4.2"
}
// BOTTOM OF METADATA
});
\ No newline at end of file
......@@ -60,11 +60,20 @@
},
"com.moust.cordova.videoplayer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-screen-orientation": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
}
},
"dependent_plugins": {
"cordova-plugin-network-information": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"es6-promise-plugin": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
}
}
}
\ No newline at end of file
......@@ -63,6 +63,12 @@
},
"com.moust.cordova.videoplayer": {
"PACKAGE_NAME": "io.ionic.partyCloud.starter.test"
},
"cordova-plugin-screen-orientation": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
},
"cordova-plugin-appavailability": {
"PACKAGE_NAME": "io.ionic.smart19.starter"
}
},
"dependent_plugins": {
......
......@@ -178,5 +178,29 @@
},
"is_top_level": true,
"variables": {}
},
"cordova-plugin-screen-orientation": {
"source": {
"type": "registry",
"id": "cordova-plugin-screen-orientation"
},
"is_top_level": true,
"variables": {}
},
"es6-promise-plugin": {
"source": {
"type": "registry",
"id": "es6-promise-plugin"
},
"is_top_level": false,
"variables": {}
},
"cordova-plugin-appavailability": {
"source": {
"type": "registry",
"id": "cordova-plugin-appavailability"
},
"is_top_level": true,
"variables": {}
}
}
\ No newline at end of file
......@@ -12,10 +12,8 @@ import {TabsPage} from "../pages/tabs/tabs";
import {AppService} from "../service/http.service";
import {EmitService} from "../provide/emit.service";
import {MobileAccessibility} from "@ionic-native/mobile-accessibility";
import {FileOpener} from "@ionic-native/file-opener";
import {FileTransfer, FileTransferObject} from "@ionic-native/file-transfer";
import {File} from "@ionic-native/file";
import {timer} from "rxjs/observable/timer";
import {ScreenOrientation} from "@ionic-native/screen-orientation";
@Component({
templateUrl: 'app.html'
......@@ -35,10 +33,7 @@ export class MyApp {
private keyboard: Keyboard,
private appUpdateService: AppUpdateService,
private appVersion: AppVersion,
private fileOpener: FileOpener,
private fileTransfer: FileTransfer,
private fileTransferObject: FileTransferObject,
private file: File,
private screenOrientation: ScreenOrientation,
public emitSer: EmitService,
public storage: Storage,
public mobileAccess: MobileAccessibility,
......@@ -51,8 +46,11 @@ export class MyApp {
this.statusBar.backgroundColorByHexString('#e12724');
this.statusBar.styleLightContent();
timer(4500).subscribe((res) =>{
this.showSplash = false
this.screenOrientation.lock('portrait-primary'); //锁定竖屏
timer(4500).subscribe((res) => {
this.showSplash = false;
this.checkVersion();
this.loadLogin();
});
......@@ -67,13 +65,13 @@ export class MyApp {
}
//检测是否需要更新
checkVersion(){
checkVersion() {
//检测是否需要更新
this.appVersion.getVersionNumber().then((version: string) => {
alert(version);
console.log(version)
version = version.replace(' ', '');
this.appUpdateService.compariVersion().subscribe(res => {
let data = res.json();
data.latestVersion = data.replace(' ', '');
if (data.code == 200) {
if (data.latestVersion != null && data.latestVersion != version) {
this.appUpdateService.detectionUpgrade(data.androidDownload, true); //提示升级
......
......@@ -42,6 +42,8 @@ import {MobileAccessibility} from "@ionic-native/mobile-accessibility";
import {Camera} from "@ionic-native/camera";
import {ProposalPageModule} from "../pages/mine-pages/proposal/proposal.module";
import {MineService} from "../pages/mine-pages/mine.service";
import {ScreenOrientation} from "@ionic-native/screen-orientation";
import {AppAvailability} from "@ionic-native/app-availability";
@NgModule({
declarations: [
......@@ -99,6 +101,8 @@ import {MineService} from "../pages/mine-pages/mine.service";
Badge,
MobileAccessibility,
Camera,
ScreenOrientation,
AppAvailability,
Geolocation,
DatePipe,
LearnService,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment