diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-10-20 16:33:39 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-10-20 16:33:39 +0200 |
| commit | 4ee6e3f05ff534df646ed2c9169002cae615b1bc (patch) | |
| tree | 694ded72d04d3c47b44fd255acf32d06ce18a909 | |
| parent | d02fb549470a3293f913258cf88efc8e6d4d78ba (diff) | |
window cordova
4 files changed, 8 insertions, 6 deletions
diff --git a/StoneIsland/config.xml b/StoneIsland/config.xml index dc1f60f8..70a999ee 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="1.4.6" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0"> +<widget id="us.okfoc.stoneisland" version="1.4.7" 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/CordovaLib/CordovaLib.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist b/StoneIsland/platforms/ios/CordovaLib/CordovaLib.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist index ca81e886..6408f0cb 100644 --- a/StoneIsland/platforms/ios/CordovaLib/CordovaLib.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist +++ b/StoneIsland/platforms/ios/CordovaLib/CordovaLib.xcodeproj/xcuserdata/user.xcuserdatad/xcschemes/xcschememanagement.plist @@ -7,12 +7,12 @@ <key>Cordova.xcscheme_^#shared#^_</key> <dict> <key>orderHint</key> - <integer>27</integer> + <integer>26</integer> </dict> <key>CordovaLib.xcscheme_^#shared#^_</key> <dict> <key>orderHint</key> - <integer>26</integer> + <integer>27</integer> </dict> </dict> </dict> 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 8fe0f38e..fc6981f5 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/www/js/index.js b/StoneIsland/www/js/index.js index 0e9ee355..8b6d2914 100755 --- a/StoneIsland/www/js/index.js +++ b/StoneIsland/www/js/index.js @@ -115,7 +115,9 @@ var app = (function(){ // } push.init() - window.open = cordova.InAppBrowser.open + if (window.cordova) { + window.open = cordova.InAppBrowser.open + } if (navigator.onLine) { app.account.connect(window.deepLinkRoute || '/intro') @@ -150,11 +152,11 @@ var app = (function(){ var refresh_time = +Date.now() app.paused = function(){} app.resumed = function(){ - console.log( "app is ready?", app.is_ready ) + console.log("app resumed") geo.fetch() var now = +Date.now() - if (now - refresh_time > 60 * 60 * 1000) { + if (now - refresh_time > 60 * 1000) { refresh_time = now app.blog.refresh() } |
