diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2017-09-25 19:05:02 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2017-09-25 19:05:02 +0200 |
| commit | b6c70d0fdaa4c4d58e8e9e8e41a52bf32d36ef5b (patch) | |
| tree | 2e94023203fa8e497bb8abd2d278c716af37e895 /StoneIsland/platforms/ios/Stone Island.xcarchive | |
| parent | 4c9061f8b43a61051ca386c1228dd133c29afc68 (diff) | |
fix statusbar
Diffstat (limited to 'StoneIsland/platforms/ios/Stone Island.xcarchive')
11 files changed, 172 insertions, 28 deletions
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist index b466f8eb..1f0dfaa9 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist @@ -18,7 +18,7 @@ <key>ArchiveVersion</key> <integer>2</integer> <key>CreationDate</key> - <date>2017-09-23T20:05:16Z</date> + <date>2017-09-25T17:04:37Z</date> <key>Name</key> <string>Stone Island</string> <key>SchemeName</key> diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car Binary files differindex 466ad309..11472fb5 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib Binary files differindex fb2e5e41..a0e39fd0 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib Binary files differindex f50ef020..11a8a0d0 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib Binary files differindex 611d7a09..b615db36 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island Binary files differindex 7c3f5534..6fb3015b 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources index 09bfb7a2..bc4e090b 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources @@ -86,11 +86,11 @@ </data> <key>Assets.car</key> <data> - HOROMFNIhR3lgrUWAA5A5SScBRQ= + AdU9YWwWWn0LL+gfqyfsiNQzx2E= </data> <key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key> <data> - D+EJEHXkJmaaWB/w08GWaja8q3s= + XMok8vDfArEptCvkn+RMLVR7/jY= </data> <key>CDVLaunchScreen.storyboardc/Info.plist</key> <data> @@ -98,7 +98,7 @@ </data> <key>CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib</key> <data> - bFSMoRveX2aBqeUdkf0uy4PuTfA= + GveA29qcysevL9K+WnrL9F0q1Xg= </data> <key>CDVNotification.bundle/beep.wav</key> <data> @@ -166,7 +166,7 @@ </data> <key>MainViewController.nib</key> <data> - PeG6ti4cP+KBD7UrAy+UNr7c2ag= + IxKIz0YfQPNN+CNVoYnjomRkX9M= </data> <key>PkgInfo</key> <data> @@ -178,7 +178,7 @@ </data> <key>config.xml</key> <data> - 7YMtI91Z2wAAPOG+6xRBFdqcjxs= + 4Kd5MyqaGCYxA8ZPfFVxOuSGEOI= </data> <key>embedded.mobileprovision</key> <data> @@ -198,7 +198,7 @@ </data> <key>www/cordova_plugins.js</key> <data> - GDPKC9IXQ7d+cXYCJDwfVM0bsK0= + NV8qo242MHKzuAtDp77aqJksvZo= </data> <key>www/css/account.css</key> <data> @@ -270,7 +270,7 @@ </data> <key>www/css/nav.css</key> <data> - 4hSh6NJLuzHKgsQdhOHFsDdrYzw= + bb7+YzPvUafZeDDeLssmEeR+m5Y= </data> <key>www/css/products.css</key> <data> @@ -716,6 +716,10 @@ <data> n2E0W8B/grOxM2ORx/haAYOWIcA= </data> + <key>www/plugins/cordova-plugin-statusbar/www/statusbar.js</key> + <data> + hDT++3ZaOTp3t16AAFAibxtovj0= + </data> <key>www/plugins/cordova-plugin-x-socialsharing/www/SocialSharing.js</key> <data> p2ovf3IcCK49/GvqK+j7UmFu1zI= @@ -955,22 +959,22 @@ <dict> <key>hash</key> <data> - HOROMFNIhR3lgrUWAA5A5SScBRQ= + AdU9YWwWWn0LL+gfqyfsiNQzx2E= </data> <key>hash2</key> <data> - xyP1FpxqSk4ytWlKVyQBU2O2xdOHeepCzcY0cVsnV1o= + C0OHLeKT9LD6EwBwIVXEggPz/1HkxQgjlek0ovlHSCE= </data> </dict> <key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key> <dict> <key>hash</key> <data> - D+EJEHXkJmaaWB/w08GWaja8q3s= + XMok8vDfArEptCvkn+RMLVR7/jY= </data> <key>hash2</key> <data> - RUdDZjLMYIChaInxaVTuyuXJjWaAFqR8xz4ZvQ3nhCE= + h65aEdQkRZQfBfcDGeLs5IbMsabOIbaJhUUSkUzA7KQ= </data> </dict> <key>CDVLaunchScreen.storyboardc/Info.plist</key> @@ -988,11 +992,11 @@ <dict> <key>hash</key> <data> - bFSMoRveX2aBqeUdkf0uy4PuTfA= + GveA29qcysevL9K+WnrL9F0q1Xg= </data> <key>hash2</key> <data> - ay2HWexwhjN0zP60fqyWS7DTwYkAdh89o2eDaw700/c= + nHTJvX2N7mYbW0cvu6MqCoYpfTfUnAYLEUOT9GusDPQ= </data> </dict> <key>CDVNotification.bundle/beep.wav</key> @@ -1164,11 +1168,11 @@ <dict> <key>hash</key> <data> - PeG6ti4cP+KBD7UrAy+UNr7c2ag= + IxKIz0YfQPNN+CNVoYnjomRkX9M= </data> <key>hash2</key> <data> - 6XyM1ywOCW44jmLU3QOx9rKkYEIaAIdVlIjhJNdu9ZQ= + 9RKL7UWJyeLf50AjlnJsz3PLrbW7BxElXWroJXPfh2o= </data> </dict> <key>archived-expanded-entitlements.xcent</key> @@ -1186,11 +1190,11 @@ <dict> <key>hash</key> <data> - 7YMtI91Z2wAAPOG+6xRBFdqcjxs= + 4Kd5MyqaGCYxA8ZPfFVxOuSGEOI= </data> <key>hash2</key> <data> - qsB4PNWHbi11YpRd12vksSqE6cd9wUUB+Li5yTqS3iE= + p+pxXEAIbVFNAwFwn63PKQGWbgrIXdl0Pup8XBimc2c= </data> </dict> <key>embedded.mobileprovision</key> @@ -1241,11 +1245,11 @@ <dict> <key>hash</key> <data> - GDPKC9IXQ7d+cXYCJDwfVM0bsK0= + NV8qo242MHKzuAtDp77aqJksvZo= </data> <key>hash2</key> <data> - 7ZSaz29vr68YvDEfSkWNBWEcnjjw7rHfJ5Ym/Jx1r3o= + 74a5FyW/xzc7bbQ9F0EVKBim3tOCb2beVzfdRRg/hfk= </data> </dict> <key>www/css/account.css</key> @@ -1439,11 +1443,11 @@ <dict> <key>hash</key> <data> - 4hSh6NJLuzHKgsQdhOHFsDdrYzw= + bb7+YzPvUafZeDDeLssmEeR+m5Y= </data> <key>hash2</key> <data> - tsgmNkmV0VZ32vL2LL7P+orl/qg4HkH8u2R9gxz3ZhQ= + aCppewKGWTTfbOS3m6hhUMPCcrQDjf8FAGmWauRasjg= </data> </dict> <key>www/css/products.css</key> @@ -2667,6 +2671,17 @@ YSn19P0zRIG9MxdesT37iqYB1WqXVOFIXyjmnTn6foU= </data> </dict> + <key>www/plugins/cordova-plugin-statusbar/www/statusbar.js</key> + <dict> + <key>hash</key> + <data> + hDT++3ZaOTp3t16AAFAibxtovj0= + </data> + <key>hash2</key> + <data> + JVFddhH/G0jM/7U0DOdpW1CvUNswIGcQB9WylyRtCBM= + </data> + </dict> <key>www/plugins/cordova-plugin-x-socialsharing/www/SocialSharing.js</key> <dict> <key>hash</key> diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml index a224bc56..409c6a57 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml @@ -50,6 +50,10 @@ <feature name="UniversalAnalytics"> <param name="ios-package" value="UniversalAnalyticsPlugin" /> </feature> + <feature name="StatusBar"> + <param name="ios-package" value="CDVStatusBar" /> + <param name="onload" value="true" /> + </feature> <name>Stone Island</name> <description> Stone Island @@ -80,12 +84,12 @@ <preference name="PageLength" value="0" /> <preference name="PaginationBreakingMode" value="page" /> <preference name="PaginationMode" value="unpaginated" /> + <preference name="StatusBarOverlaysWebView" value="false" /> + <preference name="StatusBarStyle" value="default" /> <preference name="TopActivityIndicator" value="white" /> <preference name="HideKeyboardFormAccessoryBar" value="false" /> <preference name="orientation" value="portrait" /> - <preference name="StatusBarOverlaysWebView" value="false" /> - <preference name="StatusBarBackgroundColor" value="#000000" /> - <preference name="StatusBarStyle" value="lightcontent" /> + <preference name="StatusBarBackgroundColor" value="#ffffff" /> <preference name="SplashMaintainAspectRatio" value="true" /> <preference name="ShowSplashScreenSpinner" value="false" /> <preference name="AutoHideSplashScreen" value="false" /> diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/cordova_plugins.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/cordova_plugins.js index 878291ea..e80f5bbb 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/cordova_plugins.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/cordova_plugins.js @@ -139,6 +139,14 @@ module.exports = [ "analytics", "ga" ] + }, + { + "id": "cordova-plugin-statusbar.statusbar", + "file": "plugins/cordova-plugin-statusbar/www/statusbar.js", + "pluginId": "cordova-plugin-statusbar", + "clobbers": [ + "window.StatusBar" + ] } ]; module.exports.metadata = @@ -157,7 +165,8 @@ module.exports.metadata = "cordova-plugin-x-socialsharing": "5.1.3", "ionic-plugin-keyboard": "2.2.1", "phonegap-plugin-push": "1.9.2", - "cordova-plugin-google-analytics": "1.8.3" + "cordova-plugin-google-analytics": "1.8.3", + "cordova-plugin-statusbar": "2.2.3" }; // BOTTOM OF METADATA });
\ No newline at end of file diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css index 9445f5cb..aee8e21c 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/css/nav.css @@ -17,8 +17,8 @@ -webkit-transform: translateZ(0) translateX(0px); -webkit-transition: -webkit-transform 0.1s; } -.ios #nav, -.ios #content { +.oldios #nav, +.oldios #content { top: 20px; height: -webkit-calc(100% - 20px); } diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/plugins/cordova-plugin-statusbar/www/statusbar.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/plugins/cordova-plugin-statusbar/www/statusbar.js new file mode 100644 index 00000000..708186f9 --- /dev/null +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/plugins/cordova-plugin-statusbar/www/statusbar.js @@ -0,0 +1,116 @@ +cordova.define("cordova-plugin-statusbar.statusbar", function(require, exports, module) { +/* + * + * 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 + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * 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. + * +*/ + +/* global cordova */ + +var exec = require('cordova/exec'); + +var namedColors = { + "black": "#000000", + "darkGray": "#A9A9A9", + "lightGray": "#D3D3D3", + "white": "#FFFFFF", + "gray": "#808080", + "red": "#FF0000", + "green": "#00FF00", + "blue": "#0000FF", + "cyan": "#00FFFF", + "yellow": "#FFFF00", + "magenta": "#FF00FF", + "orange": "#FFA500", + "purple": "#800080", + "brown": "#A52A2A" +}; + +var StatusBar = { + + isVisible: true, + + overlaysWebView: function (doOverlay) { + exec(null, null, "StatusBar", "overlaysWebView", [doOverlay]); + }, + + styleDefault: function () { + // dark text ( to be used on a light background ) + exec(null, null, "StatusBar", "styleDefault", []); + }, + + styleLightContent: function () { + // light text ( to be used on a dark background ) + exec(null, null, "StatusBar", "styleLightContent", []); + }, + + styleBlackTranslucent: function () { + // #88000000 ? Apple says to use lightContent instead + exec(null, null, "StatusBar", "styleBlackTranslucent", []); + }, + + styleBlackOpaque: function () { + // #FF000000 ? Apple says to use lightContent instead + exec(null, null, "StatusBar", "styleBlackOpaque", []); + }, + + backgroundColorByName: function (colorname) { + return StatusBar.backgroundColorByHexString(namedColors[colorname]); + }, + + backgroundColorByHexString: function (hexString) { + if (hexString.charAt(0) !== "#") { + hexString = "#" + hexString; + } + + if (hexString.length === 4) { + var split = hexString.split(""); + hexString = "#" + split[1] + split[1] + split[2] + split[2] + split[3] + split[3]; + } + + exec(null, null, "StatusBar", "backgroundColorByHexString", [hexString]); + }, + + hide: function () { + exec(null, null, "StatusBar", "hide", []); + StatusBar.isVisible = false; + }, + + show: function () { + exec(null, null, "StatusBar", "show", []); + StatusBar.isVisible = true; + } + +}; + +// prime it. setTimeout so that proxy gets time to init +window.setTimeout(function () { + exec(function (res) { + if (typeof res == 'object') { + if (res.type == 'tap') { + cordova.fireWindowEvent('statusTap'); + } + } else { + StatusBar.isVisible = res; + } + }, null, "StatusBar", "_ready", []); +}, 0); + +module.exports = StatusBar; + +}); |
