diff --git a/app/icons/splash-1125x2436.png b/app/icons/splash-1125x2436.png
new file mode 100644
index 00000000..f46dd626
Binary files /dev/null and b/app/icons/splash-1125x2436.png differ
diff --git a/app/icons/splash-1242x2148.png b/app/icons/splash-1242x2148.png
new file mode 100644
index 00000000..cc550150
Binary files /dev/null and b/app/icons/splash-1242x2148.png differ
diff --git a/app/icons/splash-1536x2048.png b/app/icons/splash-1536x2048.png
new file mode 100644
index 00000000..025b2c3d
Binary files /dev/null and b/app/icons/splash-1536x2048.png differ
diff --git a/app/icons/splash-1668x2224.png b/app/icons/splash-1668x2224.png
new file mode 100644
index 00000000..f85ac2d5
Binary files /dev/null and b/app/icons/splash-1668x2224.png differ
diff --git a/app/icons/splash-2048x2732.png b/app/icons/splash-2048x2732.png
new file mode 100644
index 00000000..8718a589
Binary files /dev/null and b/app/icons/splash-2048x2732.png differ
diff --git a/app/icons/splash-640x1136.png b/app/icons/splash-640x1136.png
new file mode 100644
index 00000000..a30167b3
Binary files /dev/null and b/app/icons/splash-640x1136.png differ
diff --git a/app/icons/splash-750x1294.png b/app/icons/splash-750x1294.png
new file mode 100644
index 00000000..701680af
Binary files /dev/null and b/app/icons/splash-750x1294.png differ
diff --git a/app/index.html b/app/index.html
index 7d314bfb..a1ea3134 100644
--- a/app/index.html
+++ b/app/index.html
@@ -7,15 +7,25 @@
-
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
diff --git a/app/scripts/app.js b/app/scripts/app.js
index acba8fb7..a7c8bdbf 100644
--- a/app/scripts/app.js
+++ b/app/scripts/app.js
@@ -27,7 +27,7 @@ const Locale = require('./util/locale');
const ready = Launcher && Launcher.ready || $;
ready(() => {
- if (FeatureDetector.isPopup && AuthReceiver.receive() || FeatureDetector.isFrame) {
+ if (AuthReceiver.receive() || FeatureDetector.isFrame) {
return;
}
loadMixins();
diff --git a/app/scripts/comp/auth-receiver.js b/app/scripts/comp/auth-receiver.js
index 488bebb1..8efa75b8 100644
--- a/app/scripts/comp/auth-receiver.js
+++ b/app/scripts/comp/auth-receiver.js
@@ -3,6 +3,9 @@ const Storage = require('../storage');
const AuthReceiver = {
receive: function() {
+ if (!FeatureDetector.isPopup && !FeatureDetector.isStandalone) {
+ return false;
+ }
const opener = window.opener || window.parent;
const message = this.urlArgsToMessage(window.location.href);
const hasKeys = Object.keys(message).filter(key => key !== 'config').length > 0;
@@ -10,7 +13,9 @@ const AuthReceiver = {
return false;
}
if (FeatureDetector.isStandalone) {
- Storage[sessionStorage.authStorage].handleOAuthReturnMessage(message);
+ if (sessionStorage.authStorage) {
+ Storage[sessionStorage.authStorage].handleOAuthReturnMessage(message);
+ }
return false;
} else {
opener.postMessage(message, window.location.origin);
diff --git a/app/scripts/storage/storage-base.js b/app/scripts/storage/storage-base.js
index 9357cccf..bcc74de3 100644
--- a/app/scripts/storage/storage-base.js
+++ b/app/scripts/storage/storage-base.js
@@ -38,6 +38,12 @@ _.extend(StorageBase.prototype, {
this._oauthProcessReturn(this._oauthReturnMessage);
delete this._oauthReturnMessage;
delete sessionStorage.authStorage;
+ if (FeatureDetector.isStandalone) {
+ const [url, urlParams] = location.href.split(/[?#]/);
+ if (urlParams) {
+ location.href = url;
+ }
+ }
}
return this;
},
diff --git a/app/scripts/views/open-view.js b/app/scripts/views/open-view.js
index 79e4a4d5..a7ea876a 100644
--- a/app/scripts/views/open-view.js
+++ b/app/scripts/views/open-view.js
@@ -15,6 +15,7 @@ const Comparators = require('../util/comparators');
const Storage = require('../storage');
const Launcher = require('../comp/launcher');
const FocusDetector = require('../comp/focus-detector');
+const FeatureDetector = require('../util/feature-detector');
const logger = new Logger('open-view');
@@ -111,7 +112,7 @@ const OpenView = Backbone.View.extend({
},
focusInput: function() {
- if (FocusDetector.hasFocus()) {
+ if (FocusDetector.hasFocus() && !FeatureDetector.isMobile) {
this.inputEl.focus();
}
},
diff --git a/release-notes.md b/release-notes.md
index b39d12d7..4471c77a 100644
--- a/release-notes.md
+++ b/release-notes.md
@@ -1,7 +1,8 @@
Release notes
-------------
##### v1.8.0 (TBD)
-`*` website icons are be downloaded using favicon.keeweb.info
+`+` iOS PWA improvements
+`*` website icons are be downloaded using favicon.keeweb.info
##### v1.7.8 (2019-03-02)
`-` fix #1124: keyboard navigation issues