From b6c70d0fdaa4c4d58e8e9e8e41a52bf32d36ef5b Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 25 Sep 2017 19:05:02 +0200 Subject: fix statusbar --- .../ios/Stone Island.xcarchive/Info.plist | 2 +- .../Applications/Stone Island.app/Assets.car | Bin 239992 -> 239992 bytes .../01J-lp-oVM-view-Ze5-6b-2t3.nib | Bin 2284 -> 2284 bytes .../UIViewController-01J-lp-oVM.nib | Bin 832 -> 832 bytes .../Stone Island.app/MainViewController.nib | Bin 943 -> 943 bytes .../Applications/Stone Island.app/Stone Island | Bin 3964448 -> 3998144 bytes .../Stone Island.app/_CodeSignature/CodeResources | 57 ++++++---- .../Applications/Stone Island.app/config.xml | 10 +- .../Stone Island.app/www/cordova_plugins.js | 11 +- .../Applications/Stone Island.app/www/css/nav.css | 4 +- .../cordova-plugin-statusbar/www/statusbar.js | 116 +++++++++++++++++++++ 11 files changed, 172 insertions(+), 28 deletions(-) create mode 100644 StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/plugins/cordova-plugin-statusbar/www/statusbar.js (limited to 'StoneIsland/platforms/ios/Stone Island.xcarchive') 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 @@ ArchiveVersion 2 CreationDate - 2017-09-23T20:05:16Z + 2017-09-25T17:04:37Z Name Stone Island SchemeName 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 index 466ad309..11472fb5 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Assets.car differ 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 index fb2e5e41..a0e39fd0 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib differ 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 index f50ef020..11a8a0d0 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib differ 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 index 611d7a09..b615db36 100644 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nib differ 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 index 7c3f5534..6fb3015b 100755 Binary files a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island and b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Island differ 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 @@ Assets.car - HOROMFNIhR3lgrUWAA5A5SScBRQ= + AdU9YWwWWn0LL+gfqyfsiNQzx2E= CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib - D+EJEHXkJmaaWB/w08GWaja8q3s= + XMok8vDfArEptCvkn+RMLVR7/jY= CDVLaunchScreen.storyboardc/Info.plist @@ -98,7 +98,7 @@ CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib - bFSMoRveX2aBqeUdkf0uy4PuTfA= + GveA29qcysevL9K+WnrL9F0q1Xg= CDVNotification.bundle/beep.wav @@ -166,7 +166,7 @@ MainViewController.nib - PeG6ti4cP+KBD7UrAy+UNr7c2ag= + IxKIz0YfQPNN+CNVoYnjomRkX9M= PkgInfo @@ -178,7 +178,7 @@ config.xml - 7YMtI91Z2wAAPOG+6xRBFdqcjxs= + 4Kd5MyqaGCYxA8ZPfFVxOuSGEOI= embedded.mobileprovision @@ -198,7 +198,7 @@ www/cordova_plugins.js - GDPKC9IXQ7d+cXYCJDwfVM0bsK0= + NV8qo242MHKzuAtDp77aqJksvZo= www/css/account.css @@ -270,7 +270,7 @@ www/css/nav.css - 4hSh6NJLuzHKgsQdhOHFsDdrYzw= + bb7+YzPvUafZeDDeLssmEeR+m5Y= www/css/products.css @@ -716,6 +716,10 @@ n2E0W8B/grOxM2ORx/haAYOWIcA= + www/plugins/cordova-plugin-statusbar/www/statusbar.js + + hDT++3ZaOTp3t16AAFAibxtovj0= + www/plugins/cordova-plugin-x-socialsharing/www/SocialSharing.js p2ovf3IcCK49/GvqK+j7UmFu1zI= @@ -955,22 +959,22 @@ hash - HOROMFNIhR3lgrUWAA5A5SScBRQ= + AdU9YWwWWn0LL+gfqyfsiNQzx2E= hash2 - xyP1FpxqSk4ytWlKVyQBU2O2xdOHeepCzcY0cVsnV1o= + C0OHLeKT9LD6EwBwIVXEggPz/1HkxQgjlek0ovlHSCE= CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib hash - D+EJEHXkJmaaWB/w08GWaja8q3s= + XMok8vDfArEptCvkn+RMLVR7/jY= hash2 - RUdDZjLMYIChaInxaVTuyuXJjWaAFqR8xz4ZvQ3nhCE= + h65aEdQkRZQfBfcDGeLs5IbMsabOIbaJhUUSkUzA7KQ= CDVLaunchScreen.storyboardc/Info.plist @@ -988,11 +992,11 @@ hash - bFSMoRveX2aBqeUdkf0uy4PuTfA= + GveA29qcysevL9K+WnrL9F0q1Xg= hash2 - ay2HWexwhjN0zP60fqyWS7DTwYkAdh89o2eDaw700/c= + nHTJvX2N7mYbW0cvu6MqCoYpfTfUnAYLEUOT9GusDPQ= CDVNotification.bundle/beep.wav @@ -1164,11 +1168,11 @@ hash - PeG6ti4cP+KBD7UrAy+UNr7c2ag= + IxKIz0YfQPNN+CNVoYnjomRkX9M= hash2 - 6XyM1ywOCW44jmLU3QOx9rKkYEIaAIdVlIjhJNdu9ZQ= + 9RKL7UWJyeLf50AjlnJsz3PLrbW7BxElXWroJXPfh2o= archived-expanded-entitlements.xcent @@ -1186,11 +1190,11 @@ hash - 7YMtI91Z2wAAPOG+6xRBFdqcjxs= + 4Kd5MyqaGCYxA8ZPfFVxOuSGEOI= hash2 - qsB4PNWHbi11YpRd12vksSqE6cd9wUUB+Li5yTqS3iE= + p+pxXEAIbVFNAwFwn63PKQGWbgrIXdl0Pup8XBimc2c= embedded.mobileprovision @@ -1241,11 +1245,11 @@ hash - GDPKC9IXQ7d+cXYCJDwfVM0bsK0= + NV8qo242MHKzuAtDp77aqJksvZo= hash2 - 7ZSaz29vr68YvDEfSkWNBWEcnjjw7rHfJ5Ym/Jx1r3o= + 74a5FyW/xzc7bbQ9F0EVKBim3tOCb2beVzfdRRg/hfk= www/css/account.css @@ -1439,11 +1443,11 @@ hash - 4hSh6NJLuzHKgsQdhOHFsDdrYzw= + bb7+YzPvUafZeDDeLssmEeR+m5Y= hash2 - tsgmNkmV0VZ32vL2LL7P+orl/qg4HkH8u2R9gxz3ZhQ= + aCppewKGWTTfbOS3m6hhUMPCcrQDjf8FAGmWauRasjg= www/css/products.css @@ -2667,6 +2671,17 @@ YSn19P0zRIG9MxdesT37iqYB1WqXVOFIXyjmnTn6foU= + www/plugins/cordova-plugin-statusbar/www/statusbar.js + + hash + + hDT++3ZaOTp3t16AAFAibxtovj0= + + hash2 + + JVFddhH/G0jM/7U0DOdpW1CvUNswIGcQB9WylyRtCBM= + + www/plugins/cordova-plugin-x-socialsharing/www/SocialSharing.js hash 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 @@ + + + + Stone Island Stone Island @@ -80,12 +84,12 @@ + + - - - + 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; + +}); -- cgit v1.2.3-70-g09d2