Commit fe151c7f authored by Eric Seigne's avatar Eric Seigne
Browse files

fixe en portrait

parent 072fec7f
......@@ -1412,6 +1412,12 @@
"integrity": "sha512-NwO3qDBNL/vJxUxBTPNOA1HvkDf9eTeGH8JSZiwy1jq2W2mJKQEDBwqWkaEQS19Yd/MQTiw0cykxg5D7u4J6cQ==",
"dev": true
},
"cordova-plugin-screen-orientation": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/cordova-plugin-screen-orientation/-/cordova-plugin-screen-orientation-3.0.2.tgz",
"integrity": "sha512-2w6CMC+HGvbhogJetalwGurL2Fx8DQCCPy3wlSZHN1/W7WoQ5n9ujVozcoKrY4VaagK6bxrPFih+ElkO8Uqfzg==",
"dev": true
},
"cordova-serve": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/cordova-serve/-/cordova-serve-4.0.0.tgz",
......@@ -1645,6 +1651,12 @@
"resolved": "https://registry.npmjs.org/env-paths/-/env-paths-1.0.0.tgz",
"integrity": "sha1-QWgTO0K7BcOKNbGuQ5fIKYqzaeA="
},
"es6-promise-plugin": {
"version": "4.2.2",
"resolved": "https://registry.npmjs.org/es6-promise-plugin/-/es6-promise-plugin-4.2.2.tgz",
"integrity": "sha512-uoA4aVplXI9oqUYJFBAVRwAqIN9/n9JgrTAUGX3qPbnSZVE5yY1+6/MsoN5f4xsaPO62WjPHOdtts6okMN6tNA==",
"dev": true
},
"escape-goat": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/escape-goat/-/escape-goat-2.1.1.tgz",
......
......@@ -40,7 +40,8 @@
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-image-cropper": {},
"phonegap-plugin-barcodescanner": {},
"cordova-plugin-aes256-encryption": {}
"cordova-plugin-aes256-encryption": {},
"cordova-plugin-screen-orientation": {}
},
"platforms": [
"android"
......@@ -56,6 +57,8 @@
"cordova-plugin-file": "^6.0.2",
"cordova-plugin-image-cropper": "git+https://github.com/Riyaz0001/cordova-plugin-image-cropper.git",
"cordova-plugin-network-information": "^2.0.2",
"cordova-plugin-screen-orientation": "^3.0.2",
"es6-promise-plugin": "^4.2.2",
"phonegap-plugin-barcodescanner": "^8.1.0"
}
}
\ No newline at end of file
......@@ -89,6 +89,7 @@
ons.ready(function () {
myDebug("ONS ready in index.html");
screen.orientation.lock('portrait');
//On tente le coup si on avait le logo et css d'une précédente authentification
loadCustomCSS();
......
This diff is collapsed.
Supports Markdown
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