summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-04-12 22:23:07 -0400
committerJules Laplace <jules@okfoc.us>2017-04-12 22:23:07 -0400
commit958a7cf8ad0ae22b458a1c859328d641b77c0bd9 (patch)
tree471f177ca1d51cbb151d96b14432a88199d1c474
parent243156b835fbc5ef6dad08943b64b496db12d287 (diff)
push
-rwxr-xr-xStoneIsland/config.xml2
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist6
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nibbin2283 -> 2286 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nibbin832 -> 832 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Info.plistbin2151 -> 2154 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/MainViewController.nibbin943 -> 943 bytes
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/Stone Islandbin2192528 -> 2192608 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/_CodeSignature/CodeResources44
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/config.xml2
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js2
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/etc/push.js5
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js14
-rw-r--r--StoneIsland/platforms/ios/Stone Island.xcworkspace/xcuserdata/user.xcuserdatad/UserInterfaceState.xcuserstatebin13197 -> 37168 bytes
-rw-r--r--StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist4
-rwxr-xr-xStoneIsland/platforms/ios/Stone Island/config.xml2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js2
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/etc/push.js5
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/products/CollectionView.js14
-rwxr-xr-xStoneIsland/www/js/lib/etc/push.js5
-rwxr-xr-xStoneIsland/www/js/lib/products/CollectionView.js2
20 files changed, 59 insertions, 50 deletions
diff --git a/StoneIsland/config.xml b/StoneIsland/config.xml
index 5260c0a2..31108cfa 100755
--- a/StoneIsland/config.xml
+++ b/StoneIsland/config.xml
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
-<widget id="us.okfoc.stoneisland" version="0.8.7" android-versionCode="6087" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget id="us.okfoc.stoneisland" version="0.8.8" android-versionCode="6088" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>Stone Island</name>
<description>
Stone Island
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist b/StoneIsland/platforms/ios/Stone Island.xcarchive/Info.plist
index 499f8c4e..97c945da 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.8.7</string>
+ <string>0.8.8</string>
<key>CFBundleVersion</key>
- <string>0.8.7</string>
+ <string>0.8.8</string>
<key>SigningIdentity</key>
<string>iPhone Developer: Francesca Agusani (3ECUPBTQ5W)</string>
</dict>
<key>ArchiveVersion</key>
<integer>2</integer>
<key>CreationDate</key>
- <date>2017-04-07T02:57:20Z</date>
+ <date>2017-04-13T01:56:15Z</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/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 9bf524df..dff5b032 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
Binary files 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 c2f8b13d..4d440af8 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
Binary files differ
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
index 947d6f8c..63583fed 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
Binary files 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 32fdc6e6..8039018f 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
Binary files 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 d34703e2..fc8e2c02 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
Binary files 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 10a3f6dc..2c7100d1 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,7 +86,7 @@
</data>
<key>CDVLaunchScreen.storyboardc/01J-lp-oVM-view-Ze5-6b-2t3.nib</key>
<data>
- 4rT+/d0Sa+V2LE8N5A5WrAKSJmo=
+ ReWKhieaAKkUioWij3Ab9OlZusc=
</data>
<key>CDVLaunchScreen.storyboardc/Info.plist</key>
<data>
@@ -94,7 +94,7 @@
</data>
<key>CDVLaunchScreen.storyboardc/UIViewController-01J-lp-oVM.nib</key>
<data>
- 4Sn1aXXlnKgHD2zQqKwgqnYXHVM=
+ GbdAWByVQ89a6oHmUi3LHgnoV8w=
</data>
<key>CDVNotification.bundle/beep.wav</key>
<data>
@@ -102,7 +102,7 @@
</data>
<key>Info.plist</key>
<data>
- IqzQ35/6HHyAvnrRX9sW1B0itck=
+ jnQ41T86R89T/NRLms6Altvs9N0=
</data>
<key>LaunchImage-568h@2x.png</key>
<data>
@@ -162,7 +162,7 @@
</data>
<key>MainViewController.nib</key>
<data>
- xjEkuWDwQDyAJzQKSfZutb0//4c=
+ qlYmtklXywDZZRkybMXgBPpSwpw=
</data>
<key>PkgInfo</key>
<data>
@@ -174,7 +174,7 @@
</data>
<key>config.xml</key>
<data>
- Dkr/giwZIr7LoEDfFhorU5hV6HM=
+ w9TJ33tpbyil1Wsk8LP5NWKuzOA=
</data>
<key>embedded.mobileprovision</key>
<data>
@@ -438,7 +438,7 @@
</data>
<key>www/js/lib/blogs/BlogView.js</key>
<data>
- i5NQtfkXLtVFfPsLhC3+eBd+Y98=
+ qzZdPFzaPdQIVKXbo/9vdblKhu0=
</data>
<key>www/js/lib/blogs/HubView.js</key>
<data>
@@ -494,7 +494,7 @@
</data>
<key>www/js/lib/etc/push.js</key>
<data>
- Lgqf6GimhKCJLIo3F/VPyjfwKT4=
+ uVL3zeEF/obIl+PCVKK+IvHZ/V8=
</data>
<key>www/js/lib/nav/AddressView.js</key>
<data>
@@ -534,7 +534,7 @@
</data>
<key>www/js/lib/products/CollectionView.js</key>
<data>
- BGYDotb3Exu0Ki2+mul9I7ihags=
+ g7ama0ca186rxP6eho2Lcqqlaxo=
</data>
<key>www/js/lib/products/GalleryView.js</key>
<data>
@@ -947,11 +947,11 @@
<dict>
<key>hash</key>
<data>
- 4rT+/d0Sa+V2LE8N5A5WrAKSJmo=
+ ReWKhieaAKkUioWij3Ab9OlZusc=
</data>
<key>hash2</key>
<data>
- oH1fu4XrDmMfR1WXivmSqU7CWr2YHNSmvchxAlHjVLI=
+ 4wROfz3T9uK+kP5pkG80e/F9PJKVbIcXvy0MANFL9hc=
</data>
</dict>
<key>CDVLaunchScreen.storyboardc/Info.plist</key>
@@ -969,11 +969,11 @@
<dict>
<key>hash</key>
<data>
- 4Sn1aXXlnKgHD2zQqKwgqnYXHVM=
+ GbdAWByVQ89a6oHmUi3LHgnoV8w=
</data>
<key>hash2</key>
<data>
- 6MoftXXPmYhRGVX+klvdaeHhGinF/+VDUrNh6AvmlwI=
+ Y+q1HzeT/hXMA5fEd6xCBH82wVvTNtDo1IowYhQj380=
</data>
</dict>
<key>CDVNotification.bundle/beep.wav</key>
@@ -1145,11 +1145,11 @@
<dict>
<key>hash</key>
<data>
- xjEkuWDwQDyAJzQKSfZutb0//4c=
+ qlYmtklXywDZZRkybMXgBPpSwpw=
</data>
<key>hash2</key>
<data>
- MTQBr6LFngYvtx+EDcWouhstWU1arX2hOqSX/pDrME8=
+ j6k7SGDUQm/EoDDMgza8eWoMU9809kauyD8XdKHb87g=
</data>
</dict>
<key>archived-expanded-entitlements.xcent</key>
@@ -1167,11 +1167,11 @@
<dict>
<key>hash</key>
<data>
- Dkr/giwZIr7LoEDfFhorU5hV6HM=
+ w9TJ33tpbyil1Wsk8LP5NWKuzOA=
</data>
<key>hash2</key>
<data>
- ClLJnci3T0SOEWO2Dhz9wOdwKn3WT1NrEZyzyNfITZA=
+ llSr3ohAhM3aZvp7kMShrHx5z8OJEuWSTZ1+VOkOvTo=
</data>
</dict>
<key>embedded.mobileprovision</key>
@@ -1893,11 +1893,11 @@
<dict>
<key>hash</key>
<data>
- i5NQtfkXLtVFfPsLhC3+eBd+Y98=
+ qzZdPFzaPdQIVKXbo/9vdblKhu0=
</data>
<key>hash2</key>
<data>
- C4i7fWsS+rxSvtiCOpNnY3aMmCIJOdyShjq+qiCtiGQ=
+ LVqlKMd6ha14mJ3WbFBukHeCe8hhMgheq+tJI4uG14Q=
</data>
</dict>
<key>www/js/lib/blogs/HubView.js</key>
@@ -2047,11 +2047,11 @@
<dict>
<key>hash</key>
<data>
- Lgqf6GimhKCJLIo3F/VPyjfwKT4=
+ uVL3zeEF/obIl+PCVKK+IvHZ/V8=
</data>
<key>hash2</key>
<data>
- AYBjbLztNci/muE6DD4aTDnMXhYk8UMVCHJ4b6d5urg=
+ myKuZqI9kxrw+cyEdPX1T+GO3qEtXVddsGtc3BsiHbo=
</data>
</dict>
<key>www/js/lib/nav/AddressView.js</key>
@@ -2157,11 +2157,11 @@
<dict>
<key>hash</key>
<data>
- BGYDotb3Exu0Ki2+mul9I7ihags=
+ g7ama0ca186rxP6eho2Lcqqlaxo=
</data>
<key>hash2</key>
<data>
- j58pZDmI7Le9WeKs8Zl6UZwVvHQGFinLgVOIPucwoeY=
+ NcitCXjEiXmYPy2MrX5QRfk41qI0GFkD0kZTTx7uFr8=
</data>
</dict>
<key>www/js/lib/products/GalleryView.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 b2b64796..19f7b057 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="6087" id="us.okfoc.stoneisland" version="0.8.7" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget android-versionCode="6088" id="us.okfoc.stoneisland" version="0.8.8" 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>
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js
index 562e0216..a6ec75f2 100755
--- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/blogs/BlogView.js
@@ -44,7 +44,7 @@ var BlogView = View.extend({
break
}
- sdk.env = 'test'
+ // sdk.env = 'test'
if (app.closed.storeIsClosed && sdk.env !== 'test') {
app.closed.populate(app.store.ClosedStoreImages)
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/etc/push.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/etc/push.js
index 043a4d75..6a1dfa5b 100755
--- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/etc/push.js
+++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/etc/push.js
@@ -2,7 +2,8 @@ var push = (function(){
var push = { settings: {}, disabled: false }
var pushPlugin
push.init = function(){
- if (! ('device' in window) || device.platform !== "ios") {
+ if (! ('device' in window) || (device.platform || "").toLowerCase() !== "ios") {
+ console.log("push disabled")
push.disabled = true
return
}
@@ -23,7 +24,9 @@ var push = (function(){
pushPlugin.on('notification', push.got_push_notification)
}
push.did_initialize = function(data) {
+ console.log(data)
if (! data.isEnabled) {
+ console.log("push did not initialize")
return
}
console.log("push did initialize")
diff --git a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js
index fa1bd5a4..7c73d66f 100755
--- a/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js
+++ b/StoneIsland/platforms/ios/Stone Island.xcarchive/Products/Applications/Stone Island.app/www/js/lib/products/CollectionView.js
@@ -37,12 +37,12 @@ var CollectionView = ScrollableView.extend({
return app.closed.show()
}
- if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) {
- var items = this.data.SearchResponseFull.Results.Items
- items = items.concat(items).concat(items).concat(items)
- items = items.concat(items).concat(items).concat(items)
- this.data.SearchResponseFull.Results.Items = items
- }
+// if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) {
+// var items = this.data.SearchResponseFull.Results.Items
+// items = items.concat(items).concat(items).concat(items)
+// items = items.concat(items).concat(items).concat(items)
+// this.data.SearchResponseFull.Results.Items = items
+// }
if (this.data && this.data.SearchResponseFull.Results.Items.length < 4) {
app.footer.hide()
@@ -105,7 +105,7 @@ var CollectionView = ScrollableView.extend({
console.log("populate 2")
this.data = data
this.loaded = false
- console.log(data)
+ // console.log(data)
}
console.log(">>>>>>>> YES ")
if (! this.loaded) {
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
index 130ef446..272e3516 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
Binary files differ
diff --git a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist
index 0c26c930..2714e400 100644
--- a/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist
+++ b/StoneIsland/platforms/ios/Stone Island/Stone Island-Info.plist
@@ -21,7 +21,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
- <string>0.8.7</string>
+ <string>0.8.8</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
@@ -34,7 +34,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
- <string>0.8.7</string>
+ <string>0.8.8</string>
<key>GCM_SENDER_ID</key>
<string>XXXXXXX</string>
<key>IS_GCM_ENABLED</key>
diff --git a/StoneIsland/platforms/ios/Stone Island/config.xml b/StoneIsland/platforms/ios/Stone Island/config.xml
index b2b64796..19f7b057 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="6087" id="us.okfoc.stoneisland" version="0.8.7" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
+<widget android-versionCode="6088" id="us.okfoc.stoneisland" version="0.8.8" 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>
diff --git a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
index 562e0216..a6ec75f2 100755
--- a/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/blogs/BlogView.js
@@ -44,7 +44,7 @@ var BlogView = View.extend({
break
}
- sdk.env = 'test'
+ // sdk.env = 'test'
if (app.closed.storeIsClosed && sdk.env !== 'test') {
app.closed.populate(app.store.ClosedStoreImages)
diff --git a/StoneIsland/platforms/ios/www/js/lib/etc/push.js b/StoneIsland/platforms/ios/www/js/lib/etc/push.js
index 043a4d75..6a1dfa5b 100755
--- a/StoneIsland/platforms/ios/www/js/lib/etc/push.js
+++ b/StoneIsland/platforms/ios/www/js/lib/etc/push.js
@@ -2,7 +2,8 @@ var push = (function(){
var push = { settings: {}, disabled: false }
var pushPlugin
push.init = function(){
- if (! ('device' in window) || device.platform !== "ios") {
+ if (! ('device' in window) || (device.platform || "").toLowerCase() !== "ios") {
+ console.log("push disabled")
push.disabled = true
return
}
@@ -23,7 +24,9 @@ var push = (function(){
pushPlugin.on('notification', push.got_push_notification)
}
push.did_initialize = function(data) {
+ console.log(data)
if (! data.isEnabled) {
+ console.log("push did not initialize")
return
}
console.log("push did initialize")
diff --git a/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js b/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js
index fa1bd5a4..7c73d66f 100755
--- a/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/products/CollectionView.js
@@ -37,12 +37,12 @@ var CollectionView = ScrollableView.extend({
return app.closed.show()
}
- if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) {
- var items = this.data.SearchResponseFull.Results.Items
- items = items.concat(items).concat(items).concat(items)
- items = items.concat(items).concat(items).concat(items)
- this.data.SearchResponseFull.Results.Items = items
- }
+// if (sdk.env === 'test' && this.data.SearchResponseFull.Results.Items.length < 4) {
+// var items = this.data.SearchResponseFull.Results.Items
+// items = items.concat(items).concat(items).concat(items)
+// items = items.concat(items).concat(items).concat(items)
+// this.data.SearchResponseFull.Results.Items = items
+// }
if (this.data && this.data.SearchResponseFull.Results.Items.length < 4) {
app.footer.hide()
@@ -105,7 +105,7 @@ var CollectionView = ScrollableView.extend({
console.log("populate 2")
this.data = data
this.loaded = false
- console.log(data)
+ // console.log(data)
}
console.log(">>>>>>>> YES ")
if (! this.loaded) {
diff --git a/StoneIsland/www/js/lib/etc/push.js b/StoneIsland/www/js/lib/etc/push.js
index 043a4d75..6a1dfa5b 100755
--- a/StoneIsland/www/js/lib/etc/push.js
+++ b/StoneIsland/www/js/lib/etc/push.js
@@ -2,7 +2,8 @@ var push = (function(){
var push = { settings: {}, disabled: false }
var pushPlugin
push.init = function(){
- if (! ('device' in window) || device.platform !== "ios") {
+ if (! ('device' in window) || (device.platform || "").toLowerCase() !== "ios") {
+ console.log("push disabled")
push.disabled = true
return
}
@@ -23,7 +24,9 @@ var push = (function(){
pushPlugin.on('notification', push.got_push_notification)
}
push.did_initialize = function(data) {
+ console.log(data)
if (! data.isEnabled) {
+ console.log("push did not initialize")
return
}
console.log("push did initialize")
diff --git a/StoneIsland/www/js/lib/products/CollectionView.js b/StoneIsland/www/js/lib/products/CollectionView.js
index aabfc3ca..7c73d66f 100755
--- a/StoneIsland/www/js/lib/products/CollectionView.js
+++ b/StoneIsland/www/js/lib/products/CollectionView.js
@@ -105,7 +105,7 @@ var CollectionView = ScrollableView.extend({
console.log("populate 2")
this.data = data
this.loaded = false
- console.log(data)
+ // console.log(data)
}
console.log(">>>>>>>> YES ")
if (! this.loaded) {