diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-10 16:45:35 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-10 16:45:35 +0200 |
| commit | aa14cf56259f7e7ffb4c18af013cdfcfc56953fa (patch) | |
| tree | e5b90f703afde73c1ba485443c929b9cf8bc704c | |
| parent | c53933dbbe11ebc0f3d9cb3ce9d2e5d0f6ebf7bc (diff) | |
sizing footer. phook script
21 files changed, 165 insertions, 68 deletions
diff --git a/StoneIsland/config.xml b/StoneIsland/config.xml index 4e4ec247..cd554743 100755 --- a/StoneIsland/config.xml +++ b/StoneIsland/config.xml @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<widget android-versionCode="6097" id="us.okfoc.stoneisland" version="0.9.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget android-versionCode="6100" id="us.okfoc.stoneisland" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <name>Stone Island</name> <description> Stone Island @@ -81,6 +81,9 @@ <plugin name="phonegap-plugin-push" spec="^1.9.2"> <variable name="SENDER_ID" value="85075801930" /> </plugin> + <platform name="ios"> + <hook src="scripts/plist-hook.js" type="after_prepare" /> + </platform> <plugin name="cordova-plugin-sim" spec="^1.3.3" /> <engine name="android" spec="^6.2.3" /> <engine name="ios" spec="^4.5.2" /> diff --git a/StoneIsland/package-lock.json b/StoneIsland/package-lock.json index 1c538962..2c8aec33 100644 --- a/StoneIsland/package-lock.json +++ b/StoneIsland/package-lock.json @@ -142,8 +142,9 @@ "integrity": "sha1-yz8+PHMtwPAe5wtAPzAuYddwmDg=" }, "base64-js": { - "version": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", - "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.0.tgz", + "integrity": "sha512-ccav/yGvoa80BQDljCxsmmQ3Xvx60/UpBIij5QN21W3wBi/hhIC9OoO+KLpu9IJTS9j4DRVJ3aDDF9cMSoa2lw==" }, "bcrypt-pbkdf": { "version": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz", @@ -816,7 +817,7 @@ "glob": "https://registry.npmjs.org/glob/-/glob-5.0.15.tgz", "minimatch": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.3.tgz", "osenv": "https://registry.npmjs.org/osenv/-/osenv-0.1.4.tgz", - "plist": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "plist": "1.2.0", "q": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", "semver": "https://registry.npmjs.org/semver/-/semver-5.3.0.tgz", "shelljs": "https://registry.npmjs.org/shelljs/-/shelljs-0.5.3.tgz", @@ -824,6 +825,22 @@ "unorm": "https://registry.npmjs.org/unorm/-/unorm-1.4.1.tgz" }, "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + }, + "plist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, "q": { "version": "https://registry.npmjs.org/q/-/q-1.4.1.tgz", "integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4=" @@ -831,6 +848,14 @@ "underscore": { "version": "https://registry.npmjs.org/underscore/-/underscore-1.8.3.tgz", "integrity": "sha1-Tz+1OxBuYJf8+ctBCfKl6b36UCI=" + }, + "xmlbuilder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", + "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", + "requires": { + "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" + } } } }, @@ -1223,7 +1248,7 @@ "nopt": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz", "npm": "https://registry.npmjs.org/npm/-/npm-2.15.11.tgz", "opener": "https://registry.npmjs.org/opener/-/opener-1.4.1.tgz", - "plist": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "plist": "1.2.0", "properties-parser": "https://registry.npmjs.org/properties-parser/-/properties-parser-0.2.3.tgz", "q": "https://registry.npmjs.org/q/-/q-1.0.1.tgz", "request": "https://registry.npmjs.org/request/-/request-2.47.0.tgz", @@ -1236,6 +1261,11 @@ "xcode": "https://registry.npmjs.org/xcode/-/xcode-0.9.1.tgz" }, "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + }, "elementtree": { "version": "https://registry.npmjs.org/elementtree/-/elementtree-0.1.6.tgz", "integrity": "sha1-KsTEbqMFFsjEy9teOsdBjlkt4gw=", @@ -1250,6 +1280,17 @@ "abbrev": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz" } }, + "plist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, "sax": { "version": "https://registry.npmjs.org/sax/-/sax-0.3.5.tgz", "integrity": "sha1-iPz8H3PAyLvVt8d2ttPzUB7tBz0=" @@ -1265,6 +1306,14 @@ "unorm": { "version": "https://registry.npmjs.org/unorm/-/unorm-1.3.3.tgz", "integrity": "sha1-Fqh3JnHr1vfN5vjF5Ju2CsR9upM=" + }, + "xmlbuilder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", + "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", + "requires": { + "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" + } } } }, @@ -4197,13 +4246,13 @@ } }, "plist": { - "version": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", - "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/plist/-/plist-3.0.1.tgz", + "integrity": "sha512-GpgvHHocGRyQm74b6FWEZZVRroHKE1I0/BTjAmySaohK+cUn+hZpbqXkc3KWgW3gQYkqcQej35FohcT0FRlkRQ==", "requires": { - "base64-js": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", - "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "xmlbuilder": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", - "xmldom": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz" + "base64-js": "1.3.0", + "xmlbuilder": "9.0.7", + "xmldom": "0.1.27" } }, "prepend-http": { @@ -4580,12 +4629,36 @@ "requires": { "bplist-creator": "https://registry.npmjs.org/bplist-creator/-/bplist-creator-0.0.4.tgz", "bplist-parser": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz", - "plist": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz" + "plist": "1.2.0" }, "dependencies": { + "base64-js": { + "version": "0.0.8", + "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-0.0.8.tgz", + "integrity": "sha1-EQHpVE9KdrG8OybUUsqW16NeeXg=" + }, "bplist-parser": { "version": "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.0.6.tgz", "integrity": "sha1-ONo0cYF9+dRKs4kuJ3B7u9daEbk=" + }, + "plist": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/plist/-/plist-1.2.0.tgz", + "integrity": "sha1-CEtQk93JJQbiWfh0uNmxr7jHlZM=", + "requires": { + "base64-js": "0.0.8", + "util-deprecate": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "xmlbuilder": "4.0.0", + "xmldom": "0.1.27" + } + }, + "xmlbuilder": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", + "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", + "requires": { + "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" + } } } }, @@ -4977,14 +5050,13 @@ } }, "xmlbuilder": { - "version": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-4.0.0.tgz", - "integrity": "sha1-mLj2UcowqmJANvEn0RzGbce5B6M=", - "requires": { - "lodash": "https://registry.npmjs.org/lodash/-/lodash-3.10.1.tgz" - } + "version": "9.0.7", + "resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz", + "integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0=" }, "xmldom": { - "version": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz", + "version": "0.1.27", + "resolved": "https://registry.npmjs.org/xmldom/-/xmldom-0.1.27.tgz", "integrity": "sha1-1QH5ezvbQDr4757MIFcxh6rawOk=" }, "xtend": { diff --git a/StoneIsland/package.json b/StoneIsland/package.json index 523d71e9..f9cefa21 100644 --- a/StoneIsland/package.json +++ b/StoneIsland/package.json @@ -21,7 +21,8 @@ "cordova-plugin-x-socialsharing": "~5.1.3", "ionic-plugin-keyboard": "~2.2.1", "ios-deploy": "^1.9.0", - "phonegap-plugin-push": "^1.9.2" + "phonegap-plugin-push": "^1.9.2", + "plist": "^3.0.1" }, "devDependencies": {}, "scripts": { diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist index 8a5838ca..ced61ea4 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist @@ -9,16 +9,16 @@ <key>CFBundleIdentifier</key> <string>us.okfoc.stoneisland</string> <key>CFBundleShortVersionString</key> - <string>0.9.8</string> + <string>1.0.0</string> <key>CFBundleVersion</key> - <string>0.9.8</string> + <string>1.0.0</string> <key>SigningIdentity</key> <string>iPhone Developer: Francesca Agusani (3ECUPBTQ5W)</string> </dict> <key>ArchiveVersion</key> <integer>2</integer> <key>CreationDate</key> - <date>2018-05-08T15:30:48Z</date> + <date>2018-05-08T16:23:47Z</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 b7b16be5..6b3c8f41 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 3fd83cc9..1b9b2bfd 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 8bf77835..bd3514e7 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/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Info.plist Binary files differindex c8222107..95ec1105 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Info.plist +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Info.plist 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 4089b095..2fe5fbba 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 0faa9935..b277d220 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 699c247a..e645e314 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 @@ -94,11 +94,11 @@ </data> <key>Assets.car</key> <data> - GKP5ELVZRAReX7Y+C0G4yaxO6Kk= + rbVRVjxkfbEFIIRuwdmt0fbtqyY= </data> <key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key> <data> - fOTgbUJk54yRmkWcTCFT7+wmKjU= + 3qBcI0muSJy84XGcOiGDkTjm37U= </data> <key>CDVLaunchScreen.storyboardc/Info.plist</key> <data> @@ -106,7 +106,7 @@ </data> <key>CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib</key> <data> - 2ttmDwLkZmOQZJm81hHhfHMJTBw= + 89SeBM56ckI1VBEq/Oqn6x1suWQ= </data> <key>CDVNotification.bundle/beep.wav</key> <data> @@ -114,11 +114,11 @@ </data> <key>Info.plist</key> <data> - Yul7bmLznc1YIrfVX2QvHlK5pGc= + oWTS+H88CDlZzQg6LKUHcFmfd7M= </data> <key>MainViewController.nib</key> <data> - HZ5DMDECsAU+S/qRs69uof0bGOw= + 3ExoioWyNmo2DUcs9PhU0dVVG7c= </data> <key>PkgInfo</key> <data> @@ -126,7 +126,7 @@ </data> <key>config.xml</key> <data> - faS9ppW9ccAqrjcRLtnAzvb32qM= + /VE2neY/hKaDUqsaf5+fU7PCPLM= </data> <key>embedded.mobileprovision</key> <data> @@ -510,7 +510,7 @@ </data> <key>www/js/lib/products/ProductView.js</key> <data> - n2nL3c4JKuvvbphytqgMxrIUvwQ= + cjUZby3UfvLmfJkr5DrCrF/F6ZA= </data> <key>www/js/lib/products/Selector.js</key> <data> @@ -941,22 +941,22 @@ <dict> <key>hash</key> <data> - GKP5ELVZRAReX7Y+C0G4yaxO6Kk= + rbVRVjxkfbEFIIRuwdmt0fbtqyY= </data> <key>hash2</key> <data> - yqlk5wIVvuYcfWsc2ptvccPo4BlkcLNAwm7y1mlpwDc= + Y5hE6isGvN6u7nYkQ2ZqJi2DAFhBjw1/9Q6LGyV+IGc= </data> </dict> <key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key> <dict> <key>hash</key> <data> - fOTgbUJk54yRmkWcTCFT7+wmKjU= + 3qBcI0muSJy84XGcOiGDkTjm37U= </data> <key>hash2</key> <data> - 0Eha3DYx0sAhLInrB1lubAuKAPMw5k6YaIqJYZIYXxg= + nppErCbgnTY1RuhJZ8nx3RO+CKCk4Xj1c+zQ67lz53s= </data> </dict> <key>CDVLaunchScreen.storyboardc/Info.plist</key> @@ -974,11 +974,11 @@ <dict> <key>hash</key> <data> - 2ttmDwLkZmOQZJm81hHhfHMJTBw= + 89SeBM56ckI1VBEq/Oqn6x1suWQ= </data> <key>hash2</key> <data> - hcbgM16lH6WLo1zlYhPN5Qo21wTTl5uR63kAbNvLiPQ= + IfUmr46WtIoiSX8VgwEb6C0h1FdLXiUx1SzljbrwIx0= </data> </dict> <key>CDVNotification.bundle/beep.wav</key> @@ -996,22 +996,22 @@ <dict> <key>hash</key> <data> - HZ5DMDECsAU+S/qRs69uof0bGOw= + 3ExoioWyNmo2DUcs9PhU0dVVG7c= </data> <key>hash2</key> <data> - mR0ZMA3Uffd25oLklAZIOryyJv3p2HhspURsuhrkXK4= + 5DIqogHK290Ai/U41R27EnFHfkNjHr6Sus/guxenZvQ= </data> </dict> <key>config.xml</key> <dict> <key>hash</key> <data> - faS9ppW9ccAqrjcRLtnAzvb32qM= + /VE2neY/hKaDUqsaf5+fU7PCPLM= </data> <key>hash2</key> <data> - LEBqt8n9NCEajXrUgKiYDAQMDadWgmHlaNMYK9W18N4= + 7Vm9XDWoQlcRCizuSVMJVgXTUsZ1v65ZHjyobyAwFP8= </data> </dict> <key>embedded.mobileprovision</key> @@ -2063,11 +2063,11 @@ <dict> <key>hash</key> <data> - n2nL3c4JKuvvbphytqgMxrIUvwQ= + cjUZby3UfvLmfJkr5DrCrF/F6ZA= </data> <key>hash2</key> <data> - 7iJuUgBMAyWIjtX3XCsW00JkOrBJZImKfSeW30aa5Mc= + WMEhxv0pPpCeaY1Hb+ennVQZuOYsh43Xn4/iYIjZnJU= </data> </dict> <key>www/js/lib/products/Selector.js</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 09325044..aeb76b9b 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 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<widget android-versionCode="6097" id="us.okfoc.stoneisland" version="0.9.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget android-versionCode="6100" id="us.okfoc.stoneisland" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <feature name="LocalStorage"> <param name="ios-package" value="CDVLocalStorage" /> </feature> @@ -90,6 +90,7 @@ <icon height="50" src="res/icon/ios/icon-50.png" width="50" /> <icon height="100" src="res/icon/ios/icon-50@2x.png" width="100" /> <icon height="167" src="res/icon/ios/icon-83.5@2x.png" width="167" /> + <hook src="scripts/plist-hook.js" type="after_prepare" /> <preference name="AllowInlineMediaPlayback" value="true" /> <preference name="BackupWebStorage" value="local" /> <preference name="DisallowOverscroll" value="true" /> diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js index 7d782273..59726384 100755 --- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js +++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/ProductView.js @@ -213,18 +213,16 @@ var ProductView = ScrollableView.extend({ var fit_lines = app.store.FitsLargeText.replace(/</g, "<").replace(/>/g, "&rt;").split('\n').join("<br>") $('.fitFooter').html(fit_lines) $('.fitFooter').show() - app.product.$fit.hide() - app.product.$sizing.hide() } else { - app.product.$fit.show() - app.product.$sizing.show() $('.fitFooter').hide() } + app.product.$fit.show() + app.product.$sizing.show() } else { + $('.fitFooter').hide() app.product.$fit.hide() app.product.$sizing.hide() - $('.fitFooter').hide() } this.deferScrollToTop() diff --git a/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate b/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate Binary files differindex 188c62aa..6372106b 100644 --- a/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate +++ b/StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstate diff --git a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist index ad817847..45fd94d3 100644 --- a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist +++ b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist @@ -21,11 +21,11 @@ <key>CFBundlePackageType</key> <string>APPL</string> <key>CFBundleShortVersionString</key> - <string>0.9.8</string> + <string>1.0.0</string> <key>CFBundleSignature</key> <string>????</string> <key>CFBundleVersion</key> - <string>0.9.8</string> + <string>1.0.0</string> <key>LSRequiresIPhoneOS</key> <true/> <key>NSMainNibFile</key> @@ -65,7 +65,7 @@ </dict> </array> <key>NSLocationWhenInUseUsageDescription</key> - <string/> + <string>Stone Island needs to serve content based on your location.</string> <key>UIBackgroundModes</key> <array> <string>remote-notification</string> diff --git a/StoneIsland/platforms/ios/Stone Island/config.xml b/StoneIsland/platforms/ios/Stone Island/config.xml index 09325044..aeb76b9b 100755 --- a/StoneIsland/platforms/ios/Stone Island/config.xml +++ b/StoneIsland/platforms/ios/Stone Island/config.xml @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='utf-8'?> -<widget android-versionCode="6097" id="us.okfoc.stoneisland" version="0.9.8" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget android-versionCode="6100" id="us.okfoc.stoneisland" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> <feature name="LocalStorage"> <param name="ios-package" value="CDVLocalStorage" /> </feature> @@ -90,6 +90,7 @@ <icon height="50" src="res/icon/ios/icon-50.png" width="50" /> <icon height="100" src="res/icon/ios/icon-50@2x.png" width="100" /> <icon height="167" src="res/icon/ios/icon-83.5@2x.png" width="167" /> + <hook src="scripts/plist-hook.js" type="after_prepare" /> <preference name="AllowInlineMediaPlayback" value="true" /> <preference name="BackupWebStorage" value="local" /> <preference name="DisallowOverscroll" value="true" /> diff --git a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js index 7d782273..59726384 100755 --- a/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js +++ b/StoneIsland/platforms/ios/www/js/lib/products/ProductView.js @@ -213,18 +213,16 @@ var ProductView = ScrollableView.extend({ var fit_lines = app.store.FitsLargeText.replace(/</g, "<").replace(/>/g, "&rt;").split('\n').join("<br>") $('.fitFooter').html(fit_lines) $('.fitFooter').show() - app.product.$fit.hide() - app.product.$sizing.hide() } else { - app.product.$fit.show() - app.product.$sizing.show() $('.fitFooter').hide() } + app.product.$fit.show() + app.product.$sizing.show() } else { + $('.fitFooter').hide() app.product.$fit.hide() app.product.$sizing.hide() - $('.fitFooter').hide() } this.deferScrollToTop() diff --git a/StoneIsland/scripts/plist-hook.js b/StoneIsland/scripts/plist-hook.js new file mode 100644 index 00000000..a1827079 --- /dev/null +++ b/StoneIsland/scripts/plist-hook.js @@ -0,0 +1,16 @@ +var fs = require('fs'); // nodejs.org/api/fs.html +var plist = require('plist'); // www.npmjs.com/package/plist + +var FILEPATH = 'platforms/ios/Stone Island/Stone Island-Info.plist' + +module.exports = function (context) { + + var xml = fs.readFileSync(FILEPATH, 'utf8'); + var obj = plist.parse(xml); + + obj.NSLocationWhenInUseUsageDescription = "Stone Island needs to serve content based on your location." + + xml = plist.build(obj); + fs.writeFileSync(FILEPATH, xml, { encoding: 'utf8' }); + +}; diff --git a/StoneIsland/www/css/products.css b/StoneIsland/www/css/products.css index d78801f8..59bb403f 100755 --- a/StoneIsland/www/css/products.css +++ b/StoneIsland/www/css/products.css @@ -216,7 +216,7 @@ text-transform:uppercase; padding:12px 0 0; } -.product .fitFooter { +.product .fitHeader { clear:both; font-size:9px; letter-spacing:0.5px; diff --git a/StoneIsland/www/index.html b/StoneIsland/www/index.html index 9221d0be..92769657 100755 --- a/StoneIsland/www/index.html +++ b/StoneIsland/www/index.html @@ -278,7 +278,7 @@ <span class="share">SHARE +</span> </div> <div class="fit">Fits Large</div> - <div class='fitFooter'></div> + <div class='fitHeader'></div> <div class="notAvailableInCanada">Not Available In Canada</div> <div class="body"> </div> diff --git a/StoneIsland/www/js/lib/products/ProductView.js b/StoneIsland/www/js/lib/products/ProductView.js index 59726384..66554ce7 100755 --- a/StoneIsland/www/js/lib/products/ProductView.js +++ b/StoneIsland/www/js/lib/products/ProductView.js @@ -26,7 +26,7 @@ var ProductView = ScrollableView.extend({ this.$color = this.$(".color") this.$body = this.$(".body") this.$fit = this.$(".fit") - this.$fitFooter = this.$('.fitFooter') + this.$fitHeader = this.$('.fitHeader') this.$notAvailableInCanada = this.$(".notAvailableInCanada") this.$sizing = this.$(".sizing") this.$style = this.$(".style") @@ -211,20 +211,27 @@ var ProductView = ScrollableView.extend({ if (fits_large) { if (app.store.FitsLarge === 'use_alt_text' && (app.store.FitsLargeText || "").length) { var fit_lines = app.store.FitsLargeText.replace(/</g, "<").replace(/>/g, "&rt;").split('\n').join("<br>") - $('.fitFooter').html(fit_lines) - $('.fitFooter').show() + this.$fitHeader.html(fit_lines) + this.$fitHeader.show() } else { - $('.fitFooter').hide() + this.$fitHeader.hide() } - app.product.$fit.show() - app.product.$sizing.show() + this.$fit.show() } else { - $('.fitFooter').hide() - app.product.$fit.hide() - app.product.$sizing.hide() + this.$fitFooter.hide() + this.$fit.hide() } - + + if (app.store.SizingFooter === 'use_alt_text' && (app.store.SizingFooterText || "").length) { + var sizing_lines = app.store.SizingFooterText.replace(/</g, "<").replace(/>/g, "&rt;").split('\n').join("<br>") + this.$sizing.html(sizing_lines) + this.$sizing.show() + } + else { + this.$sizing.hide() + } + this.deferScrollToTop() }, |
